Go to the documentation of this file.
8 #ifndef CbmMcbm2018MonitorAlgoTof_H
9 #define CbmMcbm2018MonitorAlgoTof_H
37 virtual Bool_t
Init();
47 Bool_t
ProcessTs(
const fles::Timeslice& ts);
48 Bool_t
ProcessTs(
const fles::Timeslice& ts,
size_t ) {
51 Bool_t
ProcessMs(
const fles::Timeslice& ts,
size_t uMsCompIdx,
size_t uMsIdx);
143 std::vector<ULong64_t>
155 std::chrono::steady_clock::time_point
236 std::vector<std::vector<bool>>
239 std::vector<std::vector<bool>>
241 std::vector<std::vector<bool>>
296 #endif // CbmMcbm2018MonitorAlgoTof_H
std::chrono::steady_clock::time_point ftStartTimeUnix
TH2 * fhPatternResync
Debug histo, only in DebugMonitorMode.
std::vector< TH2 * > fvhCmdDaqVsTrig
TH1 * fhMessType
Size in seconds of the evolution histograms.
std::vector< std::vector< bool > > fvvbGdpbLastResyncPattern
Exclude from dictionnary.
Bool_t CreateHistograms()
CbmMcbm2018MonitorAlgoTof()
TH2 * fhGdpbEndMsDataLost
void ProcessStarTrig(gdpbv100::Message mess)
static const Int_t kiMaxNbFlibLinks
Constants.
void ProcessEpSupprBuffer()
UInt_t fuNrOfChannelsPerFee
Number of channels in each GET4.
TH2 * fhPatternMissmatch
Debug histo, only in DebugMonitorMode.
std::vector< TH2 * > fvhGdpbPatternMissmatchEvo
UInt_t fuNrOfGet4
Number of channels in each FEE.
void SetIgnoreCriticalErrors(Bool_t bFlagIn=kTRUE)
Bool_t ProcessMs(const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx)
std::vector< TH1 * > fvhRemapChCount_gDPB
CbmMcbm2018TofPar * fUnpackPar
Switch ON the usage of abolute time scale for the evo histo (no start time)
UInt_t fuCurrentEquipmentId
std::vector< TH2 * > fvhGdpbGet4ChanScm
std::vector< TH2 * > fvhStarTokenEvo
Double_t fdTsStartTime
SysId of the current MS in TS (0 to fuTotalMsNb)
std::vector< TH2 * > fvhRemapTot_gDPB
Debug histo, only in DebugMonitorMode.
ULong64_t fulCurrentMsIdx
UInt_t fuGet4Id
Bin size in s for the plots with date as X axis.
TH2 * fhPatternEnable
Debug histo, only in DebugMonitorMode.
std::vector< TH2 * > fvhGdpbMissmatchEnaEvoPerTs
Debug histo, only in DebugMonitorMode.
std::vector< ULong64_t > fvulGdpbTsMsb
STAR TRIGGER detection.
void ProcessEpochCycle(uint64_t ulCycleData)
UInt_t fuCurrDpbIdx
Temp holder until Current equipment ID is properly filled in MS.
UInt_t fuMsIndex
Start Time in ns of current MS from its index field in header.
TCanvas * fcStarTrigStarTsEvo
std::vector< ULong64_t > fvulCurrentEpoch
Data format control: Current time references for each GDPB: merged epoch marker, epoch cycle,...
std::vector< Bool_t > fvbMaskedComponents
If ON not printout at all for critical errors.
UInt_t fuMinTotPulser
Number of channels per GDPB.
std::vector< TH1 * > fvhTokenMsgType
void ResetEvolutionHistograms()
UInt_t fuGet4Nr
running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message
uint32_t fuCurrentMsSysId
std::vector< ULong64_t > fvulStarTsMsb
TH2 * fhGdpbAsicSpiCounts
std::vector< TH2 * > fvhRemapChRate_gDPB
TH2 * fhGdpbSysMessPattType
std::vector< UInt_t > fvuStarDaqCmdLast
std::vector< TH2 * > fvhRawCt_gDPB
Debug histo, only in DebugMonitorMode.
std::vector< TH2 * > fvhGdpbPatternEnableEvo
Debug histo, only in DebugMonitorMode.
Bool_t ProcessTs(const fles::Timeslice &ts)
TProfile * fhLostEvtFractEvo
TH2 * fhLostEvtCntPerMsEvo
UInt_t fuNrOfChannelsPerGdpb
Number of GET4s per GDPB.
gdpbv100::Message fmLastHit
std::vector< UInt_t > fuNbMissmatchPattern
Pattern messages per gDPB.
std::vector< TH1 * > fvhTriggerRate
TProfile * fhErrorFractEvo
void SetPulserTotLimits(UInt_t uMin, UInt_t uMax)
CbmMcbm2018MonitorAlgoTof operator=(const CbmMcbm2018MonitorAlgoTof &)
std::vector< UInt_t > fvuStarTokenLast
void UseAbsoluteTime(Bool_t bFlagIn=kTRUE)
std::vector< TH2 * > fvhGdpbEnableEvoPerTs
Debug histo, only in DebugMonitorMode.
Bool_t fbDebugMonitorMode
Control flags.
TCanvas * fcStarTrigCmdDaqVsTrig
static const UInt_t kuBytesPerMessage
UInt_t fuCurrDpbId
Current equipment ID, tells from which DPB the current MS is originating.
Bool_t ResetHistograms(Bool_t bResetTime=kTRUE)
std::vector< TH2 * > fvhGdpbStateEvoPerTs
Debug histo, only in DebugMonitorMode.
std::vector< ULong64_t > fvulStarTsMid
Double_t fdMsTime
End Time in ns of current TS Core from the index of the first MS first component.
UInt_t fuHistoryHistoSize
Histograms related variables.
std::vector< ULong64_t > fvulGdpbTsFullLast
std::vector< TH2 * > fvhRawFt_gDPB
Double_t fdStartTime
Starting state book-keeping.
Bool_t ReInitContainers()
std::vector< ULong64_t > fvulStarTsFullLast
void ProcessSysMess(gdpbv100::FullMessage mess)
std::vector< TH2 * > fvhGdpbResyncEnaEvoPerTs
Debug histo, only in DebugMonitorMode.
void SetDebugMonitorMode(Bool_t bFlagIn=kTRUE)
TCanvas * fcStarTrigTokenType
std::map< gdpbv100::MessageTypes, UInt_t > fmMsgCounter
std::vector< UInt_t > fvuStarTrigCmdLast
UInt_t fuNrOfFeePerGdpb
gDPB ID to index map
std::vector< ULong64_t > fvulCurrentEpochCycle
Current epoch index, per DPB.
UInt_t fuNrOfGet4PerGdpb
Total number of Get4 chips in the system.
std::vector< std::vector< bool > > fvvbGdpbLastEnablePattern
Exclude from dictionnary.
TCanvas * fcStarTrigStarTokenEvo
TCanvas * fcStarTriggerRate
static const UInt_t kuNbChanDiamond
void SetGdpbIndex(Int_t iGdpb=-1)
Double_t fdTsStopTimeCore
Time in ns of current TS from the index of the first MS first component.
void SetHistoryHistoSize(UInt_t inHistorySizeSec=1800)
void ProcessEpoch(gdpbv100::Message mess)
void AddMsComponentToList(size_t component, UShort_t usDetectorId)
~CbmMcbm2018MonitorAlgoTof()
std::vector< std::vector< bool > > fvvbGdpbLastMissmatchPattern
std::vector< TH2 * > fvhGdpbGet4MessType
TH1 * fhGdpbEndMsBufferNotEmpty
std::vector< ULong64_t > fvulGdpbTsLsb
UInt_t fuNrOfChannelsPerGet4
Number of GET4s per FEE.
void ProcessHit(gdpbv100::FullMessage mess)
void ProcessPattern(gdpbv100::Message mess)
Bool_t ProcessTs(const fles::Timeslice &ts, size_t)
Bool_t fbEpochSinceLastHit
Duplicate Hits detection.
std::vector< TH2 * > fvhGdpbPatternResyncEvo
Debug histo, only in DebugMonitorMode.
TH2 * fhLostEvtFractPerMsEvo
TCanvas * fcSummary
Canvases.
std::vector< TProfile * > fvhStarTrigStarTsEvo
std::vector< TH2 * > fvhGdpbResyncEvoPerTs
Debug histo, only in DebugMonitorMode.
TH2 * fhErrorFractPerMsEvo
UInt_t fuNrOfGet4PerFee
Number of FEBs per GDPB.
CbmMcbm2018MonitorAlgoTof(const CbmMcbm2018MonitorAlgoTof &)
Int_t fiRunStartDateTimeSec
Index of the DPB from which the MS currently unpacked is coming.
std::vector< ULong64_t > fvulCurrentEpochFull
Epoch cycle from the Ms Start message and Epoch counter flip.
TH2 * fhNbMissPatternPerMs
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
Total number of GDPBs in the system.
Bool_t fbIgnoreCriticalErrors
Switch ON the filling of a additional set of histograms.
void ProcessSlowCtrl(gdpbv100::Message mess)
std::vector< TH2 * > fvhGdpbGet4ChanErrors
void ProcessError(gdpbv100::FullMessage mess)
std::vector< TH2 * > fvhGdpbMissmatchEvoPerTs
Exclude from dictionnary.
Int_t fiBinSizeDatePlots
Start of run time since "epoch" in s, for the plots with date as X axis.
ULong64_t fulCurrentTsIdx
std::vector< TProfile2D * > fvhRemapChErrFract_gDPB
std::vector< TProfile * > fvhStarTrigGdpbTsEvo
std::vector< gdpbv100::Message > fvmEpSupprBuffer
Epoch + Epoch Cycle.
std::vector< TCanvas * > fvcSumGdpbGet4
TCanvas * fcStarTrigGdpbTsEvo