12#ifndef CbmMcbm2018MonitorAlgoTofPulser_H
13#define CbmMcbm2018MonitorAlgoTofPulser_H
41 virtual Bool_t
Init();
51 Bool_t
ProcessTs(
const fles::Timeslice& ts);
53 Bool_t
ProcessMs(
const fles::Timeslice& ts,
size_t uMsCompIdx,
size_t uMsIdx);
std::vector< std::vector< Double_t > > fvvdFeeHits
[ gDPB ][ FEE ]
UInt_t fuGet4Nr
running number (0 to fuNrOfGet4PerGdpb) of the Get4 chip of a unique GDPB for current message
UInt_t fuNrOfFeePerGdpb
gDPB ID to index map
std::vector< Bool_t > fvbMaskedComponents
Control flags.
const Double_t kdFitZoomWidthPs
void ProcessEpochCycle(uint64_t ulCycleData)
ULong64_t fulCurrentTsIdx
UInt_t fuGet4Id
Index of the DPB from which the MS currently unpacked is coming.
UInt_t fuNrOfChannelsPerFee
Number of channels in each GET4.
void SetGdpbIndex(Int_t iGdpb=-1)
std::vector< std::vector< TH1 * > > fvvhFeePairPulserTimeDiff
Size in seconds of the evolution histograms.
CbmMcbm2018TofPar * fUnpackPar
Settings from parameter file.
TH2 * fhPulserRmsGdpbToRefEvo
Bool_t ReInitContainers()
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
Total number of GDPBs in the system.
std::vector< gdpbv100::Message > fvmEpSupprBuffer
Epoch + Epoch Cycle.
UInt_t fuNrOfChannelsPerGet4
Number of GET4s per FEE.
std::vector< ULong64_t > fvulCurrentEpochFull
Epoch cycle from the Ms Start message and Epoch counter flip.
CbmMcbm2018MonitorAlgoTofPulser operator=(const CbmMcbm2018MonitorAlgoTofPulser &)
UInt_t fuNrOfGet4PerFee
Number of FEBs per GDPB.
void ProcessHit(gdpbv100::FullMessage mess)
TCanvas * fcSummary
Canvases.
Bool_t ProcessMs(const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx)
CbmMcbm2018MonitorAlgoTofPulser()
UInt_t fuCurrDpbIdx
Temp holder until Current equipment ID is properly filled in MS.
UInt_t fuPulserMinTot
Number of channels per GDPB.
std::vector< ULong64_t > fvulCurrentEpoch
Data format control: Current time references for each GDPB: merged epoch marker, epoch cycle,...
TH2 * fhPulserRmsGbtxToRefEvo
Bool_t ProcessTs(const fles::Timeslice &ts)
Bool_t CreateHistograms()
UInt_t fuHistoryHistoSize
Time of first MS.
void SetHistoryHistoSize(UInt_t inHistorySizeSec=1800)
void SetPulserChannel(UInt_t uChan)
static const UInt_t kuBytesPerMessage
UInt_t fuCurrDpbId
Current equipment ID, tells from which DPB the current MS is originating.
Bool_t ProcessTs(const fles::Timeslice &ts, size_t)
TH2 * fhPulserTimeDiffMean
[ FEE A ][ FEE B ]
Double_t fdTsStopTimeCore
Time in ns of current TS from the index of the first MS first component.
std::vector< ULong64_t > fvulCurrentEpochCycle
Current epoch index, per DPB.
static const Int_t kiMaxNbFlibLinks
Constants.
void ProcessEpoch(gdpbv100::Message mess)
Double_t fdStartTime
Starting time and time evolution book-keeping.
TH2 * fhPulserTimeDiffRmsZoom
UInt_t fuNrOfGet4PerGdpb
Total number of Get4 chips in the system.
void AddMsComponentToList(size_t component, UShort_t usDetectorId)
void ProcessEpSupprBuffer()
Double_t fdTsStartTime
SysId of the current MS in TS (0 to fuTotalMsNb)
UInt_t fuNrOfGet4
Number of channels in each FEE.
UInt_t fuMsIndex
Start Time in ns of current MS from its index field in header.
CbmMcbm2018MonitorAlgoTofPulser(const CbmMcbm2018MonitorAlgoTofPulser &)
UInt_t fuCurrentEquipmentId
Double_t fdMsTime
End Time in ns of current TS Core from the index of the first MS first component.
uint32_t fuCurrentMsSysId
~CbmMcbm2018MonitorAlgoTofPulser()
void SetPulserTotLimits(UInt_t uMin, UInt_t uMax)
UInt_t fuNrOfChannelsPerGdpb
Number of GET4s per GDPB.
const Double_t kdMaxDtPulserPs
[ gDPB ][ FEE ]
std::vector< std::vector< Bool_t > > fvvbFeeHitFound
Storing the time of the last hit for each MS in each of the FEE.
void SetUpdateFreqTs(UInt_t uFreq=100)
TH2 * fhPulserTimeDiffRms
ULong64_t fulCurrentMsIdx