12#ifndef CbmMcbmSpillFindAlgo_H
13#define CbmMcbmSpillFindAlgo_H
45 virtual Bool_t
Init();
55 Bool_t
ProcessTs(
const fles::Timeslice& ts);
57 Bool_t
ProcessMs(
const fles::Timeslice& ts,
size_t uMsCompIdx,
size_t uMsIdx);
void SetSpillCheckIntervalSec(Double_t dInterval)
UInt_t fuCurrentEquipmentId
void SetPulserTotLimits(UInt_t uMin, UInt_t uMax)
UInt_t fuCurrDpbId
Current equipment ID, tells from which DPB the current MS is originating.
TH1 * fhHitsEvo
Histograms.
ULong64_t fulCurrentTsIdx
First TS index, forward point set ~30 years...
Double_t fdSpillCheckInterval
UInt_t fuGet4Id
Bin size in s for the plots with date as X axis.
Bool_t ProcessMs(const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx)
UInt_t fuNrOfGdpbs
Readout chain dimensions and mapping.
Double_t fdTsStopTimeCore
Time in ns of current TS from the index of the first MS first component.
Bool_t fbDebugMonitorMode
Switch ON the filling of a minimal set of histograms.
std::vector< Bool_t > fvbMaskedComponents
Switch ON the filling of a additional set of histograms.
Bool_t ProcessTs(const fles::Timeslice &ts)
UInt_t fuCountsLastInterval
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
Total number of GDPBs in the system.
UInt_t fuNrOfChannelsPerGdpb
Number of GET4s per GDPB.
Double_t fdLastSecondTime
UInt_t fuOffSpillCountLimit
std::chrono::steady_clock::time_point ftStartTimeUnix
Time of first microslice, used as reference for evolution plots.
static const Int_t kiMaxNbFlibLinks
Constants.
Double_t fdStartTimeMsSz
Time of first valid hit (epoch available), used as reference for evolution plots.
UInt_t fuNrOfGet4
Number of channels in each FEE.
Double_t fdStartTimeSpill
UInt_t fuMinTotPulser
Number of channels per GDPB.
Bool_t CreateHistograms()
Bool_t ReInitContainers()
Bool_t ProcessTs(const fles::Timeslice &ts, size_t)
UInt_t fuNrOfGet4PerGdpb
Total number of Get4 chips in the system.
Bool_t fbMonitorMode
Control flags.
TH1 * fhSpillBreakDuration
void SetHistoryHistoSize(UInt_t inHistorySizeSec=1800)
Int_t fiBinSizeDatePlots
Start of run time since "epoch" in s, for the plots with date as X axis.
UInt_t fuGet4Nr
running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message
void AddMsComponentToList(size_t component, UShort_t usDetectorId)
Double_t fdMsTime
End Time in ns of current TS Core from the index of the first MS first component.
static const UInt_t kuNbChanDiamond
std::vector< ULong64_t > fvuSpillBreakMidTs
UInt_t fuNrOfGet4PerFee
Number of FEBs per GDPB.
CbmMcbmSpillFindAlgo(const CbmMcbmSpillFindAlgo &)
Canvases.
Int_t fiRunStartDateTimeSec
Index of the DPB from which the MS currently unpacked is coming.
Bool_t ResetHistograms(Bool_t bResetTime=kTRUE)
Bool_t fbSpillOn
Time of run Start from UNIX system, used as reference for long evolution plots against reception time...
CbmMcbm2018TofPar * fUnpackPar
Settings from parameter file.
UInt_t fuNrOfChannelsPerGet4
Number of GET4s per FEE.
UInt_t fuHistoryHistoSize
Histograms related variables.
void SetSpillThreshold(UInt_t uCntLimit)
std::vector< ULong64_t > fvuSpillBreakBegTs
std::vector< ULong64_t > fvuSpillBreakEndTs
Double_t fdStartTime
running number (0 to fuNrOfGet4) of the Get4 chip in the system for current message
CbmMcbmSpillFindAlgo operator=(const CbmMcbmSpillFindAlgo &)
static const UInt_t kuBytesPerMessage
std::map< gdpbv100::MessageTypes, UInt_t > fmMsgCounter
void SetMonitorMode(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.
ULong64_t fulCurrentMsIdx
UInt_t fuMsIndex
Start Time in ns of current MS from its index field in header.
UInt_t fuNrOfChannelsPerFee
Number of channels in each GET4.