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