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