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