CbmRoot
|
#include <CbmStar2019MonitorAlgo.h>
Public Member Functions | |
CbmStar2019MonitorAlgo () | |
~CbmStar2019MonitorAlgo () | |
virtual Bool_t | Init () |
virtual void | Reset () |
virtual void | Finish () |
Bool_t | InitContainers () |
Bool_t | ReInitContainers () |
TList * | GetParList () |
Bool_t | InitParameters () |
Bool_t | ProcessTs (const fles::Timeslice &ts) |
Bool_t | ProcessTs (const fles::Timeslice &ts, size_t) |
Bool_t | ProcessMs (const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx) |
void | AddMsComponentToList (size_t component, UShort_t usDetectorId) |
Bool_t | CreateHistograms () |
Bool_t | FillHistograms () |
Bool_t | ResetHistograms () |
void | ResetEvolutionHistograms () |
Bool_t | SaveLatencyHistograms (TString fsHistoFileName) |
void | SetDebugMonitorMode (Bool_t bFlagIn=kTRUE) |
void | SetIgnoreCriticalErrors (Bool_t bFlagIn=kTRUE) |
void | SetHistoryHistoSize (UInt_t inHistorySizeSec=1800) |
void | SetPulserTotLimits (UInt_t uMin, UInt_t uMax) |
void | SetSectorIndex (Int_t iSector=-1) |
virtual void | SetParameter (std::string) |
virtual std::string | GetParameter (std::string) |
void | AddHistoToVector (TNamed *pointer, std::string sFolder="") |
For monitor algos. More... | |
std::vector< std::pair< TNamed *, std::string > > | GetHistoVector () |
void | AddCanvasToVector (TCanvas *pointer, std::string sFolder="") |
std::vector< std::pair< TCanvas *, std::string > > | GetCanvasVector () |
void | ClearVector () |
For unpacker algos. More... | |
std::vector< CbmTofDigi > & | GetVector () |
void | ClearErrorVector () |
std::vector< CbmErrorMessage > & | GetErrorVector () |
void | SetIgnoreOverlapMs (Bool_t bFlagIn=kTRUE) |
Control flags. More... | |
Protected Member Functions | |
Bool_t | CheckParameterValidity (std::string, std::string) |
Map of parameter name and type. More... | |
Protected Attributes | |
TList * | fParCList |
Parameter management. More... | |
std::vector< size_t > | fvMsComponentsList |
Parameters related to FLES containers. More... | |
size_t | fuNbCoreMsPerTs |
size_t | fuNbOverMsPerTs |
size_t | fuNbMsLoop |
Bool_t | fbIgnoreOverlapMs |
Double_t | fdMsSizeInNs |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/ More... | |
Double_t | fdTsCoreSizeInNs |
Size of a single MS, [nanoseconds]. More... | |
Double_t | fdTsFullSizeInNs |
Total size of the core MS in a TS, [nanoseconds]. More... | |
std::vector< std::pair< TNamed *, std::string > > | fvpAllHistoPointers |
Total size of the core MS in a TS, [nanoseconds]. More... | |
std::vector< std::pair< TCanvas *, std::string > > | fvpAllCanvasPointers |
Vector of pointers to histograms + optional folder name. More... | |
std::vector< CbmTofDigi > | fDigiVect |
Vector of pointers to canvases + optional folder name. More... | |
std::vector< CbmErrorMessage > | fErrVect |
std::map< std::string, std::string > | fParameterMap |
For any algo. More... | |
Private Member Functions | |
void | ProcessEpochCycle (uint64_t ulCycleData) |
void | ProcessEpoch (gdpbv100::Message mess) |
void | ProcessEpSupprBuffer () |
void | ProcessHit (gdpbv100::FullMessage mess) |
void | ProcessSysMess (gdpbv100::FullMessage mess) |
void | ProcessError (gdpbv100::FullMessage mess) |
void | ProcessPattern (gdpbv100::Message mess) |
void | ProcessSlowCtrl (gdpbv100::Message mess) |
void | ProcessStarTrig (gdpbv100::Message mess) |
CbmStar2019MonitorAlgo (const CbmStar2019MonitorAlgo &) | |
CbmStar2019MonitorAlgo | operator= (const CbmStar2019MonitorAlgo &) |
Private Attributes | |
Bool_t | fbDebugMonitorMode |
Control flags. More... | |
Bool_t | fbIgnoreCriticalErrors |
Switch ON the filling of a additional set of histograms. More... | |
std::vector< Bool_t > | fvbMaskedComponents |
If ON not printout at all for critical errors. More... | |
Int_t | fiSectorIndex |
CbmStar2019TofPar * | fUnpackPar |
Settings from parameter file. More... | |
UInt_t | fuNrOfGdpbs |
std::map< UInt_t, UInt_t > | fGdpbIdIndexMap |
Total number of GDPBs in the system. More... | |
UInt_t | fuNrOfFeePerGdpb |
gDPB ID to index map More... | |
UInt_t | fuNrOfGet4PerFee |
Number of FEBs per GDPB. More... | |
UInt_t | fuNrOfChannelsPerGet4 |
Number of GET4s per FEE. More... | |
UInt_t | fuNrOfChannelsPerFee |
Number of channels in each GET4. More... | |
UInt_t | fuNrOfGet4 |
Number of channels in each FEE. More... | |
UInt_t | fuNrOfGet4PerGdpb |
Total number of Get4 chips in the system. More... | |
UInt_t | fuNrOfChannelsPerGdpb |
Number of GET4s per GDPB. More... | |
UInt_t | fuMinTotPulser |
Number of channels per GDPB. More... | |
UInt_t | fuMaxTotPulser |
ULong64_t | fulCurrentTsIdx |
ULong64_t | fulCurrentMsIdx |
Double_t | fdTsStartTime |
Double_t | fdTsStopTimeCore |
Time in ns of current TS from the index of the first MS first component. More... | |
Double_t | fdMsTime |
End Time in ns of current TS Core from the index of the first MS first component. More... | |
UInt_t | fuMsIndex |
Start Time in ns of current MS from its index field in header. More... | |
std::map< gdpbv100::MessageTypes, UInt_t > | fmMsgCounter |
UInt_t | fuCurrentEquipmentId |
UInt_t | fuCurrDpbId |
Current equipment ID, tells from which DPB the current MS is originating. More... | |
UInt_t | fuCurrDpbIdx |
Temp holder until Current equipment ID is properly filled in MS. More... | |
UInt_t | fuCurrSector |
Index of the DPB from which the MS currently unpacked is coming. More... | |
Int_t | fiRunStartDateTimeSec |
Index of the sector from which the MS currently unpacked is coming. More... | |
Int_t | fiBinSizeDatePlots |
Start of run time since "epoch" in s, for the plots with date as X axis. More... | |
UInt_t | fuGet4Id |
Bin size in s for the plots with date as X axis. More... | |
UInt_t | fuGet4Nr |
running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message More... | |
std::vector< ULong64_t > | fvulCurrentEpoch |
Data format control: Current time references for each GDPB: merged epoch marker, epoch cycle, full epoch [fuNrOfGdpbs]. More... | |
std::vector< ULong64_t > | fvulCurrentEpochCycle |
Current epoch index, per DPB. More... | |
std::vector< ULong64_t > | fvulCurrentEpochFull |
Epoch cycle from the Ms Start message and Epoch counter flip. More... | |
std::vector< gdpbv100::Message > | fvmEpSupprBuffer |
Epoch + Epoch Cycle. More... | |
ULong64_t | fulStartTs |
Starting state book-keeping. More... | |
Double_t | fdStartTime |
Double_t | fdStartTimeMsSz |
std::chrono::steady_clock::time_point | ftStartTimeUnix |
std::vector< ULong64_t > | fvulGdpbTsMsb |
STAR TRIGGER detection. More... | |
std::vector< ULong64_t > | fvulGdpbTsLsb |
std::vector< ULong64_t > | fvulStarTsMsb |
std::vector< ULong64_t > | fvulStarTsMid |
std::vector< ULong64_t > | fvulGdpbTsFullLast |
std::vector< ULong64_t > | fvulStarTsFullLast |
std::vector< UInt_t > | fvuStarTokenLast |
std::vector< UInt_t > | fvuStarDaqCmdLast |
std::vector< UInt_t > | fvuStarTrigCmdLast |
Bool_t | fbEpochSinceLastHit |
Duplicate Hits detection. More... | |
UInt_t | fuDuplicatesCount |
gdpbv100::Message | fmLastHit |
UInt_t | fuHistoryHistoSize |
Histograms related variables. More... | |
TH1 * | fhMessType |
Size in seconds of the evolution histograms. More... | |
TH1 * | fhSysMessType |
TH2 * | fhGet4MessType |
TH2 * | fhGet4ChanScm |
TH2 * | fhGet4ChanErrors |
TH2 * | fhGet4EpochFlags |
TH2 * | fhGdpbAsicSpiCounts |
TH2 * | fhGdpbMessType |
TH2 * | fhGdpbSysMessType |
TH2 * | fhGdpbSysMessPattType |
TH2 * | fhGdpbEpochFlags |
TH2 * | fhGdpbEpochSyncEvo |
TH2 * | fhGdpbEpochMissEvo |
TH1 * | fhGdpbEndMsBufferNotEmpty |
TH2 * | fhGdpbEndMsDataLost |
std::vector< TH2 * > | fvhGdpbGet4MessType |
std::vector< TH2 * > | fvhGdpbGet4ChanScm |
std::vector< TH2 * > | fvhGdpbGet4ChanErrors |
TH1 * | fhMsgCntEvo |
TH1 * | fhHitCntEvo |
TH1 * | fhErrorCntEvo |
TH1 * | fhLostEvtCntEvo |
TProfile * | fhErrorFractEvo |
TProfile * | fhLostEvtFractEvo |
TH2 * | fhMsgCntPerMsEvo |
TH2 * | fhHitCntPerMsEvo |
TH2 * | fhErrorCntPerMsEvo |
TH2 * | fhLostEvtCntPerMsEvo |
TH2 * | fhErrorFractPerMsEvo |
TH2 * | fhLostEvtFractPerMsEvo |
std::vector< TH2 * > | fvhRawFt_gDPB |
std::vector< TH2 * > | fvhRawCt_gDPB |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH2 * > | fvhRemapTot_gDPB |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH1 * > | fvhRemapChCount_gDPB |
std::vector< TH2 * > | fvhRemapChRate_gDPB |
std::vector< UInt_t > | fuNbMissmatchPattern |
TH2 * | fhNbMissPatternPerMs |
TH2 * | fhPatternMissmatch |
Debug histo, only in DebugMonitorMode. More... | |
TH2 * | fhPatternEnable |
Debug histo, only in DebugMonitorMode. More... | |
TH2 * | fhPatternResync |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH2 * > | fvhGdpbPatternMissmatchEvo |
std::vector< TH2 * > | fvhGdpbPatternEnableEvo |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH2 * > | fvhGdpbPatternResyncEvo |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< std::vector< bool > > | fvvbGdpbLastMissmatchPattern |
std::vector< std::vector< bool > > | fvvbGdpbLastEnablePattern |
Exclude from dictionnary. More... | |
std::vector< std::vector< bool > > | fvvbGdpbLastResyncPattern |
Exclude from dictionnary. More... | |
std::vector< TH2 * > | fvhGdpbMissmatchEvoPerTs |
Exclude from dictionnary. More... | |
std::vector< TH2 * > | fvhGdpbMissmatchEnaEvoPerTs |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH2 * > | fvhGdpbEnableEvoPerTs |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH2 * > | fvhGdpbResyncEvoPerTs |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH2 * > | fvhGdpbResyncEnaEvoPerTs |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH2 * > | fvhGdpbStateEvoPerTs |
Debug histo, only in DebugMonitorMode. More... | |
std::vector< TH1 * > | fvhTokenMsgType |
std::vector< TH1 * > | fvhTriggerRate |
std::vector< TH2 * > | fvhCmdDaqVsTrig |
std::vector< TH2 * > | fvhStarTokenEvo |
std::vector< TProfile * > | fvhStarTrigGdpbTsEvo |
std::vector< TProfile * > | fvhStarTrigStarTsEvo |
TCanvas * | fcSummary |
Canvases. More... | |
TCanvas * | fcSummaryGdpb |
std::vector< TCanvas * > | fvcSumGdpbGet4 |
TCanvas * | fcStarTrigTokenType |
TCanvas * | fcStarTriggerRate |
TCanvas * | fcStarTrigCmdDaqVsTrig |
TCanvas * | fcStarTrigStarTokenEvo |
TCanvas * | fcStarTrigGdpbTsEvo |
TCanvas * | fcStarTrigStarTsEvo |
Static Private Attributes | |
static const Int_t | kiMaxNbFlibLinks = 32 |
Constants. More... | |
static const UInt_t | kuBytesPerMessage = 8 |
static const UInt_t | kuNbChanDiamond = 8 |
Definition at line 31 of file CbmStar2019MonitorAlgo.h.
CbmStar2019MonitorAlgo::CbmStar2019MonitorAlgo | ( | ) |
Definition at line 37 of file CbmStar2019MonitorAlgo.cxx.
CbmStar2019MonitorAlgo::~CbmStar2019MonitorAlgo | ( | ) |
Clear buffers
Definition at line 160 of file CbmStar2019MonitorAlgo.cxx.
References fvmEpSupprBuffer.
|
private |
|
inlineinherited |
Definition at line 87 of file CbmStar2019Algo.h.
|
inlineinherited |
For monitor algos.
Definition at line 80 of file CbmStar2019Algo.h.
void CbmStar2019MonitorAlgo::AddMsComponentToList | ( | size_t | component, |
UShort_t | usDetectorId | ||
) |
Check for duplicates and ignore if it is the case
Add to list
Definition at line 304 of file CbmStar2019MonitorAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList.
Referenced by CbmStar2019MonitorTask::AddMsComponentToList().
|
inlineprotectedinherited |
Map of parameter name and type.
Definition at line 147 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 98 of file CbmStar2019Algo.h.
|
inlineinherited |
For unpacker algos.
Definition at line 96 of file CbmStar2019Algo.h.
Bool_t CbmStar2019MonitorAlgo::CreateHistograms | ( | ) |
Logarithmic bining
Add pointers to the vector with all histo for access by steering class
Per GET4 in system
Per Gdpb
Pattern Messages Pattern messages per gDPB
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ///
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ///
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ /// STAR Trigger decoding and monitoring
Add pointers to the vector with all histo for access by steering class Per GET4 in gDPB
Raw data per channel
Per MS in gDPB
State Per TS
STAR TRIGGER detection
Add pointers to the vector with all histo for access by steering class
Canvases General summary: Hit maps, Hit rate vs time in run, error fraction vs time un run
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ///
Create summary Canvases with plots VS Gdpb
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ///
Definition at line 1308 of file CbmStar2019MonitorAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::AddCanvasToVector(), CbmStar2019Algo< CbmTofDigi >::AddHistoToVector(), fbDebugMonitorMode, fcStarTrigCmdDaqVsTrig, fcStarTrigGdpbTsEvo, fcStarTriggerRate, fcStarTrigStarTokenEvo, fcStarTrigStarTsEvo, fcStarTrigTokenType, fcSummary, fcSummaryGdpb, fhErrorCntEvo, fhErrorCntPerMsEvo, fhErrorFractEvo, fhErrorFractPerMsEvo, fhGdpbAsicSpiCounts, fhGdpbEndMsBufferNotEmpty, fhGdpbEndMsDataLost, fhGdpbEpochFlags, fhGdpbEpochMissEvo, fhGdpbEpochSyncEvo, fhGdpbMessType, fhGdpbSysMessPattType, fhGdpbSysMessType, fhGet4ChanErrors, fhGet4ChanScm, fhGet4EpochFlags, fhGet4MessType, fhHitCntEvo, fhHitCntPerMsEvo, fhLostEvtCntEvo, fhLostEvtCntPerMsEvo, fhLostEvtFractEvo, fhLostEvtFractPerMsEvo, fhMessType, fhMsgCntEvo, fhMsgCntPerMsEvo, fhNbMissPatternPerMs, fhPatternEnable, fhPatternMissmatch, fhPatternResync, fhSysMessType, fiSectorIndex, fuHistoryHistoSize, fUnpackPar, fuNrOfChannelsPerFee, fuNrOfChannelsPerGdpb, fuNrOfChannelsPerGet4, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuNrOfGet4, fuNrOfGet4PerGdpb, fvcSumGdpbGet4, fvhCmdDaqVsTrig, fvhGdpbEnableEvoPerTs, fvhGdpbGet4ChanErrors, fvhGdpbGet4ChanScm, fvhGdpbGet4MessType, fvhGdpbMissmatchEnaEvoPerTs, fvhGdpbMissmatchEvoPerTs, fvhGdpbPatternEnableEvo, fvhGdpbPatternMissmatchEvo, fvhGdpbPatternResyncEvo, fvhGdpbResyncEnaEvoPerTs, fvhGdpbResyncEvoPerTs, fvhGdpbStateEvoPerTs, fvhRawCt_gDPB, fvhRawFt_gDPB, fvhRemapChCount_gDPB, fvhRemapChRate_gDPB, fvhRemapTot_gDPB, fvhStarTokenEvo, fvhStarTrigGdpbTsEvo, fvhStarTrigStarTsEvo, fvhTokenMsgType, fvhTriggerRate, CbmStar2019TofPar::GetGdpbToSectorOffset(), gdpbv100::MSG_EPOCH, gdpbv100::MSG_HIT, gdpbv100::MSG_SLOWC, gdpbv100::MSG_STAR_TRI_A, gdpbv100::MSG_STAR_TRI_B, gdpbv100::MSG_STAR_TRI_C, gdpbv100::MSG_STAR_TRI_D, gdpbv100::MSG_SYST, gdpbv100::PATT_ENABLE, gdpbv100::PATT_MISSMATCH, gdpbv100::PATT_RESYNC, gdpbv100::SYS_GDPB_UNKWN, gdpbv100::SYS_GET4_ERROR, gdpbv100::SYS_GET4_SYNC_MISS, and gdpbv100::SYS_PATTERN.
Referenced by CbmStar2019MonitorTask::InitContainers().
Bool_t CbmStar2019MonitorAlgo::FillHistograms | ( | ) |
Fill plot of Enable flag state per TS
State evolution
Definition at line 2361 of file CbmStar2019MonitorAlgo.cxx.
References fbDebugMonitorMode, fulCurrentTsIdx, fuNrOfGdpbs, fuNrOfGet4PerGdpb, fvhGdpbEnableEvoPerTs, fvhGdpbMissmatchEnaEvoPerTs, fvhGdpbMissmatchEvoPerTs, fvhGdpbResyncEnaEvoPerTs, fvhGdpbResyncEvoPerTs, fvhGdpbStateEvoPerTs, fvvbGdpbLastEnablePattern, fvvbGdpbLastMissmatchPattern, and fvvbGdpbLastResyncPattern.
Referenced by ProcessMs(), and ProcessTs().
|
virtual |
Printout Goodbye message and stats
Write Output histos
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 172 of file CbmStar2019MonitorAlgo.cxx.
|
inlineinherited |
Definition at line 91 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 99 of file CbmStar2019Algo.h.
|
inlineinherited |
Definition at line 84 of file CbmStar2019Algo.h.
|
inlinevirtualinherited |
Definition at line 75 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 196 of file CbmStar2019MonitorAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::fParCList, and fUnpackPar.
Referenced by CbmStar2019MonitorTask::SetParContainers().
|
inlineinherited |
Definition at line 97 of file CbmStar2019Algo.h.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 166 of file CbmStar2019MonitorAlgo.cxx.
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 179 of file CbmStar2019MonitorAlgo.cxx.
References ReInitContainers().
Referenced by CbmStar2019MonitorTask::InitContainers().
Bool_t CbmStar2019MonitorAlgo::InitParameters | ( | ) |
Parameters for FLES containers processing
Check if user requested to monitor only a single selected sector
Internal status initialization
Histogramming variables initialization Pattern detection
STAR Trigger decoding and monitoring
Pattern detection
STAR Trigger decoding and monitoring
Definition at line 203 of file CbmStar2019MonitorAlgo.cxx.
References fbDebugMonitorMode, fbIgnoreCriticalErrors, CbmStar2019Algo< CbmTofDigi >::fdMsSizeInNs, fGdpbIdIndexMap, fiSectorIndex, fuNbMissmatchPattern, fUnpackPar, fuNrOfChannelsPerFee, fuNrOfChannelsPerGdpb, fuNrOfChannelsPerGet4, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuNrOfGet4, fuNrOfGet4PerFee, fuNrOfGet4PerGdpb, fvulCurrentEpoch, fvulCurrentEpochCycle, fvulCurrentEpochFull, fvulGdpbTsFullLast, fvulGdpbTsLsb, fvulGdpbTsMsb, fvulStarTsFullLast, fvulStarTsMid, fvulStarTsMsb, fvuStarDaqCmdLast, fvuStarTokenLast, fvuStarTrigCmdLast, fvvbGdpbLastEnablePattern, fvvbGdpbLastMissmatchPattern, fvvbGdpbLastResyncPattern, CbmStar2019TofPar::GetGdpbId(), CbmStar2019TofPar::GetGdpbToSectorOffset(), CbmStar2019TofPar::GetNrOfChannelsPerGet4(), CbmStar2019TofPar::GetNrOfFeePerGdpb(), CbmStar2019TofPar::GetNrOfGdpbs(), CbmStar2019TofPar::GetNrOfGet4PerFee(), CbmStar2019TofPar::GetSizeMsInNs(), and i.
Referenced by ReInitContainers().
|
private |
|
private |
Histogramming
Process the corresponding messages buffer for current gDPB
Definition at line 604 of file CbmStar2019MonitorAlgo.cxx.
References fbEpochSinceLastHit, fdMsTime, fdStartTime, fhGdpbEpochFlags, fhGdpbEpochMissEvo, fhGdpbEpochSyncEvo, fhGet4EpochFlags, fhGet4MessType, fmLastHit, fuCurrDpbIdx, fuCurrSector, fuDuplicatesCount, fuGet4Id, fuGet4Nr, fuNrOfGet4PerGdpb, fvhGdpbGet4MessType, fvulCurrentEpoch, fvulCurrentEpochCycle, fvulCurrentEpochFull, gdpbv100::Message::getData(), gdpbv100::Message::getGdpbEpDataLoss(), gdpbv100::Message::getGdpbEpEpochLoss(), gdpbv100::Message::getGdpbEpEpochNb(), gdpbv100::Message::getGdpbEpMissmatch(), gdpbv100::Message::getGdpbEpSync(), gdpbv100::kuEpochCounterSz, and ProcessEpSupprBuffer().
Referenced by ProcessMs().
|
private |
Definition at line 579 of file CbmStar2019MonitorAlgo.cxx.
References fuCurrDpbIdx, fulCurrentMsIdx, fvulCurrentEpochCycle, and gdpbv100::kulEpochCycleFieldSz.
Referenced by ProcessMs().
|
private |
Data are sorted between epochs, not inside => Epoch level ordering Sorting at lower bin precision level
Compute original epoch index before epoch suppression
Ignore the first epoch as it should never appear (start delay!!)
In Ep. Suppr. Mode, receive following epoch instead of previous
Store the full message in the proper buffer
Do other actions on it if needed
Should never appear there
Should be only error messages from GET4
Should never appear there
Definition at line 656 of file CbmStar2019MonitorAlgo.cxx.
References CbmStar2019TofPar::ElinkIdxToGet4Idx(), fuCurrDpbIdx, fuGet4Id, fuGet4Nr, fUnpackPar, fuNrOfGet4PerGdpb, fvmEpSupprBuffer, fvulCurrentEpoch, fvulCurrentEpochFull, gdpbv100::Message::getGdpbSysSubType(), gdpbv100::MSG_EPOCH, gdpbv100::MSG_HIT, gdpbv100::MSG_SLOWC, gdpbv100::MSG_STAR_TRI_A, gdpbv100::MSG_STAR_TRI_B, gdpbv100::MSG_STAR_TRI_C, gdpbv100::MSG_STAR_TRI_D, gdpbv100::MSG_SYST, ProcessError(), ProcessHit(), and gdpbv100::SYS_GET4_ERROR.
Referenced by ProcessEpoch().
|
private |
General error rates
Critical errors
Error during SPI communication with slave (e.g. PADI)
Input channel related errors (TOT, shaky signals, etc...)
Unrecognised error code from GET4
Corrupt error or not yet supported error
Definition at line 838 of file CbmStar2019MonitorAlgo.cxx.
References fbIgnoreCriticalErrors, fdMsTime, fdStartTime, fhErrorCntEvo, fhErrorFractEvo, fhGet4ChanErrors, fhGet4MessType, fhLostEvtCntEvo, fhLostEvtFractEvo, fhMsgCntEvo, fuCurrDpbIdx, fuGet4Id, fuGet4Nr, fuNrOfChannelsPerGet4, fvhGdpbGet4ChanErrors, fvhGdpbGet4MessType, gdpbv100::GET4_V2X_ERR_ADD_RIS_EDG, gdpbv100::GET4_V2X_ERR_CHAN_STATE, gdpbv100::GET4_V2X_ERR_DLL_LOCK, gdpbv100::GET4_V2X_ERR_DLL_RESET, gdpbv100::GET4_V2X_ERR_EP, gdpbv100::GET4_V2X_ERR_EP_CNT_SYNC, gdpbv100::GET4_V2X_ERR_EPOCH_OVERF, gdpbv100::GET4_V2X_ERR_EVT_DISCARD, gdpbv100::GET4_V2X_ERR_FIFO_WRITE, gdpbv100::GET4_V2X_ERR_LOST_EVT, gdpbv100::GET4_V2X_ERR_READ_INIT, gdpbv100::GET4_V2X_ERR_READOUT_ERR, gdpbv100::GET4_V2X_ERR_SEQUENCE_ER, gdpbv100::GET4_V2X_ERR_SPI, gdpbv100::GET4_V2X_ERR_SYNC, gdpbv100::GET4_V2X_ERR_TOK_RING_ST, gdpbv100::GET4_V2X_ERR_TOKEN, gdpbv100::GET4_V2X_ERR_TOT_OVERWRT, gdpbv100::GET4_V2X_ERR_TOT_RANGE, gdpbv100::GET4_V2X_ERR_UNKNOWN, gdpbv100::GET4_V2X_ERR_UNPAIR_FALL, gdpbv100::Message::getGdpbGenChipId(), gdpbv100::Message::getGdpbSysErrChanId(), gdpbv100::Message::getGdpbSysErrData(), gdpbv100::Message::getGdpbSysErrEdge(), and gdpbv100::Message::getGdpbSysErrUnused().
Referenced by ProcessEpSupprBuffer().
|
private |
In 32b mode the coarse counter is already computed back to 112 FTS bins => need to hide its contribution from the Finetime => FTS = Fullt TS modulo 112
Raw channel plots = GET4 related
Try to catch the corrupt data problem reported by Florian Seck
Remapped channel plots = PADI/RPC related
Start time book-keeping In Run rate evolution
Definition at line 721 of file CbmStar2019MonitorAlgo.cxx.
References fbDebugMonitorMode, fdStartTime, fuCurrDpbIdx, fuGet4Id, fulCurrentMsIdx, fulCurrentTsIdx, fuMsIndex, fUnpackPar, fuNrOfChannelsPerFee, fuNrOfChannelsPerGet4, fuNrOfGet4PerFee, fvhRawCt_gDPB, fvhRawFt_gDPB, fvhRemapChCount_gDPB, fvhRemapChRate_gDPB, fvhRemapTot_gDPB, CbmStar2019TofPar::Get4ChanToPadiChan(), gdpbv100::FullMessage::GetFullTimeNs(), gdpbv100::Message::getGdpbHit32Tot(), gdpbv100::Message::getGdpbHitChanId(), gdpbv100::Message::getGdpbHitFullTs(), and CbmStar2019TofPar::GetGdpbToSectorOffset().
Referenced by ProcessEpSupprBuffer().
|
virtual |
Check if this sDPB ID was declared in parameter file and stop there if not
Try to get it from the second message in buffer (first is epoch cycle without gDPB ID) TODO!!!!
Save start time of first valid MS )
Reset the histograms if reached the end of the evolution histos range
Catch the Epoch cycle block which is always the first 64b of the MS
Get message type
Should never happen!!
Histogramming
Should never happen!!
Check if buffer is empty => If not, indication that last msg in MS was not an epoch
Clear the suppressed epoch buffer even if not empty
Fill histograms
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 382 of file CbmStar2019MonitorAlgo.cxx.
References CbmStar2019TofPar::ElinkIdxToGet4Idx(), fdMsTime, fdStartTime, fGdpbIdIndexMap, fhErrorFractEvo, fhGdpbEndMsBufferNotEmpty, fhGdpbEndMsDataLost, fhGdpbMessType, fhGet4MessType, fhHitCntEvo, fhLostEvtFractEvo, fhMessType, fhMsgCntEvo, FillHistograms(), FormatMsHeaderPrintout(), fuCurrDpbId, fuCurrDpbIdx, fuCurrentEquipmentId, fuCurrSector, fuGet4Id, fuGet4Nr, fuHistoryHistoSize, fulCurrentMsIdx, fulCurrentTsIdx, fUnpackPar, fuNrOfGet4PerGdpb, fvbMaskedComponents, fvhGdpbGet4MessType, fvmEpSupprBuffer, gdpbv100::Message::getGdpbGenChipId(), gdpbv100::Message::getGdpbHitIs24b(), CbmStar2019TofPar::GetGdpbToSectorOffset(), gdpbv100::Message::getMessageType(), gdpbv100::Message::isStarTrigger(), kuBytesPerMessage, gdpbv100::kuChipIdMergedEpoch, gdpbv100::MSG_EPOCH, gdpbv100::MSG_HIT, gdpbv100::MSG_SLOWC, gdpbv100::MSG_STAR_TRI_A, gdpbv100::MSG_STAR_TRI_B, gdpbv100::MSG_STAR_TRI_C, gdpbv100::MSG_STAR_TRI_D, gdpbv100::MSG_SYST, ProcessEpoch(), ProcessEpochCycle(), ProcessSlowCtrl(), ProcessStarTrig(), ProcessSysMess(), and ResetEvolutionHistograms().
Referenced by ProcessTs().
|
private |
Definition at line 1051 of file CbmStar2019MonitorAlgo.cxx.
References CbmStar2019TofPar::ElinkIdxToGet4Idx(), fbDebugMonitorMode, fhGdpbSysMessPattType, fhPatternEnable, fhPatternMissmatch, fhPatternResync, fuCurrDpbIdx, fuCurrSector, fulCurrentTsIdx, fulStartTs, fuMsIndex, fuNbMissmatchPattern, fUnpackPar, fvhGdpbPatternEnableEvo, fvhGdpbPatternMissmatchEvo, fvhGdpbPatternResyncEvo, fvulCurrentEpoch, fvvbGdpbLastEnablePattern, fvvbGdpbLastMissmatchPattern, fvvbGdpbLastResyncPattern, gdpbv100::Message::getGdpbSysPattIndex(), gdpbv100::Message::getGdpbSysPattPattern(), gdpbv100::Message::getGdpbSysPattType(), gdpbv100::PATT_ENABLE, gdpbv100::PATT_MISSMATCH, and gdpbv100::PATT_RESYNC.
Referenced by ProcessSysMess().
|
private |
Printout if SPI message!
Histogramming
Definition at line 1150 of file CbmStar2019MonitorAlgo.cxx.
References fhGdpbAsicSpiCounts, fhGet4ChanScm, fhGet4MessType, fuCurrDpbIdx, fuCurrSector, fuGet4Id, fuGet4Nr, fulCurrentMsIdx, fUnpackPar, fuNrOfChannelsPerGet4, fvhGdpbGet4ChanScm, fvhGdpbGet4MessType, gdpbv100::GET4_32B_SLC_DEADT, gdpbv100::GET4_32B_SLC_SCALER, gdpbv100::GET4_32B_SLC_SPIREAD, gdpbv100::GET4_32B_SLC_START_SEU, gdpbv100::Message::getGdpbSlcChan(), gdpbv100::Message::getGdpbSlcData(), gdpbv100::Message::getGdpbSlcEdge(), gdpbv100::Message::getGdpbSlcType(), and CbmStar2019TofPar::GetPadiThresholdVal().
Referenced by ProcessMs().
|
private |
Histograms filling only in core MS
In Run rate evolution
Definition at line 1218 of file CbmStar2019MonitorAlgo.cxx.
References fdMsTime, fdStartTime, fuCurrDpbIdx, fulCurrentTsIdx, fuMsIndex, CbmStar2019Algo< CbmTofDigi >::fuNbCoreMsPerTs, fvhCmdDaqVsTrig, fvhStarTokenEvo, fvhStarTrigGdpbTsEvo, fvhStarTrigStarTsEvo, fvhTokenMsgType, fvhTriggerRate, fvulGdpbTsFullLast, fvulGdpbTsLsb, fvulGdpbTsMsb, fvulStarTsFullLast, fvulStarTsMid, fvulStarTsMsb, fvuStarDaqCmdLast, fvuStarTokenLast, fvuStarTrigCmdLast, gdpbv100::Message::getGdpbTsLsbStarB(), gdpbv100::Message::getGdpbTsMsbStarA(), gdpbv100::Message::getStarDaqCmdStarD(), gdpbv100::Message::getStarTokenStarD(), gdpbv100::Message::getStarTrigCmdStarD(), gdpbv100::Message::getStarTrigMsgIndex(), gdpbv100::Message::getStarTsLsbStarD(), gdpbv100::Message::getStarTsMidStarC(), and gdpbv100::Message::getStarTsMsbStarB().
Referenced by ProcessMs().
|
private |
Histogramming
Buffering
Definition at line 794 of file CbmStar2019MonitorAlgo.cxx.
References fhGdpbSysMessType, fhGet4MessType, fhSysMessType, fuCurrDpbIdx, fuCurrSector, fuGet4Id, fuGet4Nr, fvhGdpbGet4MessType, fvmEpSupprBuffer, gdpbv100::Message::getData(), gdpbv100::Message::getGdpbGenChipId(), gdpbv100::Message::getGdpbSysFwErrResync(), gdpbv100::Message::getGdpbSysSubType(), gdpbv100::Message::getGdpbSysUnkwData(), ProcessPattern(), gdpbv100::SYS_GDPB_UNKWN, gdpbv100::SYS_GET4_ERROR, gdpbv100::SYS_GET4_SYNC_MISS, and gdpbv100::SYS_PATTERN.
Referenced by ProcessMs().
|
virtual |
Ignore First TS as first MS is typically corrupt
On first TS, extract the TS parameters from header (by definition stable over time)
Ignore overlap ms if flag set by user
Initialize start TS for evolution plots
Compute time of TS core end
Loop over core microslices (and overlap ones if chosen)
Loop over registered components
Fill plots if in monitor mode
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 319 of file CbmStar2019MonitorAlgo.cxx.
References fbDebugMonitorMode, CbmStar2019Algo< CbmTofDigi >::fbIgnoreOverlapMs, CbmStar2019Algo< CbmTofDigi >::fdMsSizeInNs, CbmStar2019Algo< CbmTofDigi >::fdTsCoreSizeInNs, CbmStar2019Algo< CbmTofDigi >::fdTsFullSizeInNs, fdTsStartTime, fdTsStopTimeCore, fhNbMissPatternPerMs, FillHistograms(), fulCurrentTsIdx, fulStartTs, fuMsIndex, CbmStar2019Algo< CbmTofDigi >::fuNbCoreMsPerTs, fuNbMissmatchPattern, CbmStar2019Algo< CbmTofDigi >::fuNbMsLoop, CbmStar2019Algo< CbmTofDigi >::fuNbOverMsPerTs, fUnpackPar, fuNrOfGdpbs, CbmStar2019Algo< CbmTofDigi >::fvMsComponentsList, CbmStar2019TofPar::GetGdpbToSectorOffset(), and ProcessMs().
Referenced by CbmStar2019MonitorTask::DoUnpack(), and ProcessTs().
|
inlinevirtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 47 of file CbmStar2019MonitorAlgo.h.
References ProcessTs().
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 185 of file CbmStar2019MonitorAlgo.cxx.
References CbmStar2019Algo< CbmTofDigi >::fParCList, fUnpackPar, and InitParameters().
Referenced by InitContainers(), and CbmStar2019MonitorTask::ReInitContainers().
|
virtual |
Implements CbmStar2019Algo< CbmTofDigi >.
Definition at line 171 of file CbmStar2019MonitorAlgo.cxx.
void CbmStar2019MonitorAlgo::ResetEvolutionHistograms | ( | ) |
Definition at line 2494 of file CbmStar2019MonitorAlgo.cxx.
References fbDebugMonitorMode, fdStartTime, fhErrorCntEvo, fhErrorCntPerMsEvo, fhErrorFractEvo, fhErrorFractPerMsEvo, fhGdpbEpochMissEvo, fhGdpbEpochSyncEvo, fhHitCntEvo, fhHitCntPerMsEvo, fhLostEvtCntEvo, fhLostEvtCntPerMsEvo, fhLostEvtFractEvo, fhLostEvtFractPerMsEvo, fhMsgCntEvo, fuNrOfGdpbs, fvhGdpbEnableEvoPerTs, fvhGdpbMissmatchEnaEvoPerTs, fvhGdpbMissmatchEvoPerTs, fvhGdpbResyncEnaEvoPerTs, fvhGdpbResyncEvoPerTs, fvhGdpbStateEvoPerTs, fvhRemapChRate_gDPB, fvhStarTokenEvo, fvhStarTrigGdpbTsEvo, fvhStarTrigStarTsEvo, and fvhTriggerRate.
Referenced by ProcessMs().
Bool_t CbmStar2019MonitorAlgo::ResetHistograms | ( | ) |
Also reset the Start time for the evolution plots!
Definition at line 2422 of file CbmStar2019MonitorAlgo.cxx.
References fbDebugMonitorMode, fdStartTime, fhErrorCntEvo, fhErrorCntPerMsEvo, fhErrorFractEvo, fhErrorFractPerMsEvo, fhGdpbAsicSpiCounts, fhGdpbEndMsBufferNotEmpty, fhGdpbEndMsDataLost, fhGdpbEpochFlags, fhGdpbEpochMissEvo, fhGdpbEpochSyncEvo, fhGdpbMessType, fhGdpbSysMessPattType, fhGdpbSysMessType, fhGet4ChanErrors, fhGet4ChanScm, fhGet4EpochFlags, fhGet4MessType, fhHitCntEvo, fhHitCntPerMsEvo, fhLostEvtCntEvo, fhLostEvtCntPerMsEvo, fhLostEvtFractEvo, fhLostEvtFractPerMsEvo, fhMessType, fhMsgCntEvo, fhNbMissPatternPerMs, fhPatternEnable, fhPatternMissmatch, fhPatternResync, fhSysMessType, fulCurrentTsIdx, fulStartTs, fuNrOfGdpbs, fvhCmdDaqVsTrig, fvhGdpbEnableEvoPerTs, fvhGdpbGet4ChanErrors, fvhGdpbGet4ChanScm, fvhGdpbGet4MessType, fvhGdpbMissmatchEnaEvoPerTs, fvhGdpbMissmatchEvoPerTs, fvhGdpbPatternEnableEvo, fvhGdpbPatternMissmatchEvo, fvhGdpbPatternResyncEvo, fvhGdpbResyncEnaEvoPerTs, fvhGdpbResyncEvoPerTs, fvhGdpbStateEvoPerTs, fvhRawCt_gDPB, fvhRawFt_gDPB, fvhRemapChCount_gDPB, fvhRemapChRate_gDPB, fvhRemapTot_gDPB, fvhStarTokenEvo, fvhStarTrigGdpbTsEvo, fvhStarTrigStarTsEvo, fvhTokenMsgType, and fvhTriggerRate.
Referenced by CbmStar2019MonitorTask::DoUnpack().
Bool_t CbmStar2019MonitorAlgo::SaveLatencyHistograms | ( | TString | fsHistoFileName | ) |
(Re-)Create ROOT file to store the histos
Make sure we end up in chosen folder => for now write everything in the root of the file!!
Make sure we end up in chosen folder => for now write everything in the root of the file!!
Restore original directory position
Definition at line 2532 of file CbmStar2019MonitorAlgo.cxx.
References fbDebugMonitorMode, fhGdpbEpochFlags, fhPatternEnable, fhPatternMissmatch, fuNrOfGdpbs, and fvhGdpbGet4MessType.
Referenced by CbmStar2019MonitorTask::SaveLatencyHistograms().
|
inline |
Definition at line 60 of file CbmStar2019MonitorAlgo.h.
References fbDebugMonitorMode.
Referenced by CbmStar2019MonitorTask::InitContainers().
|
inline |
Definition at line 66 of file CbmStar2019MonitorAlgo.h.
References fuHistoryHistoSize.
Referenced by CbmStar2019MonitorTask::InitContainers().
|
inline |
Definition at line 63 of file CbmStar2019MonitorAlgo.h.
References fbIgnoreCriticalErrors.
Referenced by CbmStar2019MonitorTask::InitContainers().
|
inlineinherited |
Control flags.
Definition at line 102 of file CbmStar2019Algo.h.
|
inlinevirtualinherited |
Definition at line 74 of file CbmStar2019Algo.h.
|
inline |
Definition at line 69 of file CbmStar2019MonitorAlgo.h.
References fuMaxTotPulser, and fuMinTotPulser.
Referenced by CbmStar2019MonitorTask::InitContainers().
|
inline |
Definition at line 74 of file CbmStar2019MonitorAlgo.h.
References fiSectorIndex.
Referenced by CbmStar2019MonitorTask::InitContainers().
|
private |
Control flags.
Definition at line 79 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), InitParameters(), ProcessHit(), ProcessPattern(), ProcessTs(), ResetEvolutionHistograms(), ResetHistograms(), SaveLatencyHistograms(), and SetDebugMonitorMode().
|
private |
Duplicate Hits detection.
Definition at line 166 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessEpoch().
|
private |
Switch ON the filling of a additional set of histograms.
Definition at line 81 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), ProcessError(), and SetIgnoreCriticalErrors().
|
protectedinherited |
Definition at line 116 of file CbmStar2019Algo.h.
|
private |
Definition at line 264 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 266 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 263 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 265 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 267 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 262 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms().
|
private |
Canvases.
Definition at line 259 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 260 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms().
|
protectedinherited |
Vector of pointers to canvases + optional folder name.
For unpacker algos
Definition at line 140 of file CbmStar2019Algo.h.
|
protectedinherited |
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/
Definition at line 117 of file CbmStar2019Algo.h.
|
private |
End Time in ns of current TS Core from the index of the first MS first component.
Definition at line 116 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessEpoch(), ProcessError(), ProcessMs(), and ProcessStarTrig().
|
private |
Index of first TS, used as reference for evolution plots
Definition at line 148 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessEpoch(), ProcessError(), ProcessHit(), ProcessMs(), ProcessStarTrig(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Time of first valid hit (epoch available), used as reference for evolution plots
Definition at line 150 of file CbmStar2019MonitorAlgo.h.
|
protectedinherited |
Size of a single MS, [nanoseconds].
Definition at line 119 of file CbmStar2019Algo.h.
|
protectedinherited |
Total size of the core MS in a TS, [nanoseconds].
Definition at line 121 of file CbmStar2019Algo.h.
|
private |
Definition at line 112 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessTs().
|
private |
Time in ns of current TS from the index of the first MS first component.
Definition at line 114 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessTs().
|
protectedinherited |
Definition at line 141 of file CbmStar2019Algo.h.
|
private |
Total number of GDPBs in the system.
Definition at line 89 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), and ProcessMs().
|
private |
Definition at line 200 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessError(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 206 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 202 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessError(), ProcessMs(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 208 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 183 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessSlowCtrl(), and ResetHistograms().
|
private |
Definition at line 191 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 192 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 188 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessEpoch(), ResetHistograms(), and SaveLatencyHistograms().
|
private |
Definition at line 190 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessEpoch(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 189 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessEpoch(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Per Gdpb
Definition at line 185 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Definition at line 187 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().
|
private |
Definition at line 186 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessSysMess(), and ResetHistograms().
|
private |
Definition at line 181 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessError(), and ResetHistograms().
|
private |
Definition at line 180 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessSlowCtrl(), and ResetHistograms().
|
private |
Definition at line 182 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessEpoch(), and ResetHistograms().
|
private |
Per GET4 in system
Definition at line 179 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessEpoch(), ProcessError(), ProcessMs(), ProcessSlowCtrl(), ProcessSysMess(), and ResetHistograms().
|
private |
Definition at line 199 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessMs(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 205 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 201 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessError(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 207 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 203 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessError(), ProcessMs(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 209 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Size in seconds of the evolution histograms.
Histograms Global Counts In System
Definition at line 176 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessMs(), and ResetHistograms().
|
private |
Global Rates
Definition at line 198 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessError(), ProcessMs(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 204 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 219 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessTs(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 221 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessPattern(), ResetHistograms(), and SaveLatencyHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 220 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessPattern(), ResetHistograms(), and SaveLatencyHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 222 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().
|
private |
Definition at line 177 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessSysMess(), and ResetHistograms().
|
private |
Start of run time since "epoch" in s, for the plots with date as X axis.
Definition at line 130 of file CbmStar2019MonitorAlgo.h.
|
private |
Index of the sector from which the MS currently unpacked is coming.
Definition at line 129 of file CbmStar2019MonitorAlgo.h.
|
private |
Definition at line 83 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), InitParameters(), and SetSectorIndex().
|
private |
Definition at line 168 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessEpoch().
|
private |
Index of current MS within the TS Current data properties
Definition at line 119 of file CbmStar2019MonitorAlgo.h.
|
protectedinherited |
For any algo.
Definition at line 145 of file CbmStar2019Algo.h.
|
protectedinherited |
Parameter management.
Definition at line 108 of file CbmStar2019Algo.h.
|
private |
Time of first microslice, used as reference for evolution plots
Definition at line 152 of file CbmStar2019MonitorAlgo.h.
|
private |
Current equipment ID, tells from which DPB the current MS is originating.
Definition at line 123 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessMs().
|
private |
Temp holder until Current equipment ID is properly filled in MS.
Definition at line 125 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessEpoch(), ProcessEpochCycle(), ProcessEpSupprBuffer(), ProcessError(), ProcessHit(), ProcessMs(), ProcessPattern(), ProcessSlowCtrl(), ProcessStarTrig(), and ProcessSysMess().
|
private |
Definition at line 121 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessMs().
|
private |
Index of the DPB from which the MS currently unpacked is coming.
Definition at line 127 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessEpoch(), ProcessMs(), ProcessPattern(), ProcessSlowCtrl(), and ProcessSysMess().
|
private |
Definition at line 167 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessEpoch().
|
private |
Bin size in s for the plots with date as X axis.
Definition at line 132 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessEpoch(), ProcessEpSupprBuffer(), ProcessError(), ProcessHit(), ProcessMs(), ProcessSlowCtrl(), and ProcessSysMess().
|
private |
running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message
Definition at line 134 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessEpoch(), ProcessEpSupprBuffer(), ProcessError(), ProcessMs(), ProcessSlowCtrl(), and ProcessSysMess().
|
private |
Histograms related variables.
Definition at line 171 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessMs(), and SetHistoryHistoSize().
|
private |
Definition at line 110 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessEpochCycle(), ProcessHit(), ProcessMs(), and ProcessSlowCtrl().
|
private |
Running indices TS/MS info
Definition at line 109 of file CbmStar2019MonitorAlgo.h.
Referenced by FillHistograms(), ProcessHit(), ProcessMs(), ProcessPattern(), ProcessStarTrig(), ProcessTs(), and ResetHistograms().
|
private |
Starting state book-keeping.
Definition at line 146 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessPattern(), ProcessTs(), and ResetHistograms().
|
private |
Definition at line 100 of file CbmStar2019MonitorAlgo.h.
Referenced by SetPulserTotLimits().
|
private |
Number of channels per GDPB.
User settings: Data correction parameters
Definition at line 99 of file CbmStar2019MonitorAlgo.h.
Referenced by SetPulserTotLimits().
|
private |
Start Time in ns of current MS from its index field in header.
Definition at line 117 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessHit(), ProcessPattern(), ProcessStarTrig(), and ProcessTs().
|
protectedinherited |
Definition at line 112 of file CbmStar2019Algo.h.
|
private |
Pattern Messages Pattern messages per gDPB
Definition at line 218 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), ProcessPattern(), and ProcessTs().
|
protectedinherited |
Definition at line 114 of file CbmStar2019Algo.h.
|
protectedinherited |
Definition at line 113 of file CbmStar2019Algo.h.
|
private |
Settings from parameter file.
Definition at line 86 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), GetParList(), InitParameters(), ProcessEpSupprBuffer(), ProcessHit(), ProcessMs(), ProcessPattern(), ProcessSlowCtrl(), ProcessTs(), and ReInitContainers().
|
private |
Number of channels in each GET4.
Definition at line 93 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), InitParameters(), and ProcessHit().
|
private |
Number of GET4s per GDPB.
Definition at line 96 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), and InitParameters().
|
private |
Number of GET4s per FEE.
Definition at line 92 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), InitParameters(), ProcessError(), ProcessHit(), and ProcessSlowCtrl().
|
private |
gDPB ID to index map
Definition at line 90 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), and InitParameters().
|
private |
Readout chain dimensions and mapping
Definition at line 88 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), InitParameters(), ProcessTs(), ResetEvolutionHistograms(), ResetHistograms(), and SaveLatencyHistograms().
|
private |
Number of channels in each FEE.
Definition at line 94 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), and InitParameters().
|
private |
Number of FEBs per GDPB.
Definition at line 91 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), and ProcessHit().
|
private |
Total number of Get4 chips in the system.
Definition at line 95 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), InitParameters(), ProcessEpoch(), ProcessEpSupprBuffer(), and ProcessMs().
|
private |
If ON not printout at all for critical errors.
Definition at line 82 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessMs().
|
private |
Definition at line 261 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms().
|
private |
Definition at line 252 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessStarTrig(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 242 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 196 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessError(), and ResetHistograms().
|
private |
Definition at line 195 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessSlowCtrl(), and ResetHistograms().
|
private |
Per GET4 in gDPB
Definition at line 194 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessEpoch(), ProcessError(), ProcessMs(), ProcessSlowCtrl(), ProcessSysMess(), ResetHistograms(), and SaveLatencyHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 240 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Exclude from dictionnary.
Definition at line 238 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 227 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode Per MS in gDPB
Definition at line 225 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 229 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessPattern(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 246 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 244 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 248 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), FillHistograms(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 212 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessHit(), and ResetHistograms().
|
private |
Raw data per channel
Definition at line 211 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessHit(), and ResetHistograms().
|
private |
Definition at line 214 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessHit(), and ResetHistograms().
|
private |
Definition at line 215 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessHit(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode.
Definition at line 213 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessHit(), and ResetHistograms().
|
private |
Definition at line 253 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessStarTrig(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 254 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessStarTrig(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Definition at line 255 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessStarTrig(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Debug histo, only in DebugMonitorMode STAR TRIGGER detection
Definition at line 250 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessStarTrig(), and ResetHistograms().
|
private |
Definition at line 251 of file CbmStar2019MonitorAlgo.h.
Referenced by CreateHistograms(), ProcessStarTrig(), ResetEvolutionHistograms(), and ResetHistograms().
|
private |
Epoch + Epoch Cycle.
Buffer for suppressed epoch processing
Definition at line 142 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessEpSupprBuffer(), ProcessMs(), ProcessSysMess(), and ~CbmStar2019MonitorAlgo().
|
protectedinherited |
Parameters related to FLES containers.
Definition at line 111 of file CbmStar2019Algo.h.
|
protectedinherited |
Vector of pointers to histograms + optional folder name.
Definition at line 137 of file CbmStar2019Algo.h.
|
protectedinherited |
Total size of the core MS in a TS, [nanoseconds].
For monitor algos => Pointers should be filled with TH1*, TH2*, TProfile*, ... ==> To check if object N is of type T, use "T ObjectPointer = dynamic_cast<T>( fvpAllHistoPointers[N].first );" and check for nullptr ==> To get back the original class name use "fvpAllHistoPointers[N].first->ClassName()" which returns a const char * (e.g. "TH1I") ===> Usage example with feeding a THttpServer: ===> #include "TH2.h" ===> std::string sClassName = vHistos[ uHisto ].first.ClassName(); ===> if( !strncmp( sClassName, "TH1", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH1 * >(vHistos[ uHisto ].first) ); ===> else if( !strncmp( sClassName, "TH2", 3 ) ) ===> server->Register( vHistos[ uHisto ].second.data(), dynamic_cast< TH2 * >(vHistos[ uHisto ].first) );
Definition at line 135 of file CbmStar2019Algo.h.
|
private |
Data format control: Current time references for each GDPB: merged epoch marker, epoch cycle, full epoch [fuNrOfGdpbs].
running number (0 to fuNrOfGet4) of the Get4 chip in the system for current message
Definition at line 136 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), ProcessEpoch(), ProcessEpSupprBuffer(), and ProcessPattern().
|
private |
Current epoch index, per DPB.
Definition at line 138 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), ProcessEpoch(), and ProcessEpochCycle().
|
private |
Epoch cycle from the Ms Start message and Epoch counter flip.
Definition at line 139 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), ProcessEpoch(), and ProcessEpSupprBuffer().
|
private |
Definition at line 159 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Definition at line 156 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
STAR TRIGGER detection.
Time of run Start from UNIX system, used as reference for long evolution plots against reception time
Definition at line 155 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Definition at line 160 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Definition at line 158 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Definition at line 157 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Definition at line 162 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Definition at line 161 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Definition at line 163 of file CbmStar2019MonitorAlgo.h.
Referenced by InitParameters(), and ProcessStarTrig().
|
private |
Exclude from dictionnary.
Definition at line 234 of file CbmStar2019MonitorAlgo.h.
Referenced by FillHistograms(), InitParameters(), and ProcessPattern().
|
private |
Debug histo, only in DebugMonitorMode State Per TS
Definition at line 232 of file CbmStar2019MonitorAlgo.h.
Referenced by FillHistograms(), InitParameters(), and ProcessPattern().
|
private |
Exclude from dictionnary.
Definition at line 236 of file CbmStar2019MonitorAlgo.h.
Referenced by FillHistograms(), InitParameters(), and ProcessPattern().
|
staticprivate |
Constants.
Definition at line 103 of file CbmStar2019MonitorAlgo.h.
|
staticprivate |
Definition at line 104 of file CbmStar2019MonitorAlgo.h.
Referenced by ProcessMs().
|
staticprivate |
Definition at line 105 of file CbmStar2019MonitorAlgo.h.