Go to the documentation of this file.
9 #ifndef CbmMcbm2018MonitorAlgoPsd_H
10 #define CbmMcbm2018MonitorAlgoPsd_H
39 virtual Bool_t
Init();
49 Bool_t
ProcessTs(
const fles::Timeslice& ts);
50 Bool_t
ProcessTs(
const fles::Timeslice& ts,
size_t ) {
53 Bool_t
ProcessMs(
const fles::Timeslice& ts,
size_t uMsCompIdx,
size_t uMsIdx);
129 std::vector<ULong64_t>
138 std::chrono::steady_clock::time_point
static const UInt_t kuBytesPerMessage
std::vector< UInt_t > kvuWfmRanges
Double_t fdMsTime
End Time in ns of current TS Core from the index of the first MS first component.
Bool_t ProcessMs(const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx)
TH1 * fhMsgsCntEvo
Global Rate.
UInt_t fuCurrentSpillPlot
TH2 * fhReadEvtsCntPerMsEvo
Bool_t ProcessTs(const fles::Timeslice &ts, size_t)
void AddMsComponentToList(size_t component, UShort_t usDetectorId)
UInt_t fuCurrDpbIdx
Temp holder until Current equipment ID is properly filled in MS.
Double_t fdStartTime
Epoch + Epoch Cycle.
std::vector< TH2 * > fvhFitQaChan
std::vector< ULong64_t > fvulCurrentEpochCycle
Current epoch index, per DPB.
Bool_t fbSpillOn
Channels map.
UInt_t fuCurrentEquipmentId
Index of current MS within the TS.
std::vector< Int_t > fviHistoZLArgs
Double_t fdStartTimeSpill
UInt_t fuNrOfFeePerGdpb
gDPB ID to index map
std::vector< Int_t > fviHistoChargeArgs
static const UInt_t kuOffSpillCountLimit
std::vector< UInt_t > kvuWfmInRangeToChangeChan
std::vector< UInt_t > fvuEvtLostCntChanMs
const UInt_t kuPsdChanMap[kuNbChanPsd]
ULong64_t fulCurrentMsIdx
UInt_t fuMsIndex
Start Time in ns of previous MS from its index field in header.
TCanvas * fcSpillCountsHori
static constexpr UInt_t GetNbChanPsd()
std::vector< UInt_t > fvuHitCntChanMs
Channel rate plots.
TCanvas * fcWfmsAllChannels
ULong64_t fulCurrentTsIdx
Bool_t fbFirstPackageError
TH2 * fhLostMsgsCntPerMsEvo
Bool_t ProcessTs(const fles::Timeslice &ts)
std::vector< TH2 * > fvhFitHarmonic2Chan
static const UInt_t kuNbWfmExamples
std::vector< TH2 * > fvhHitCntPerMsEvoChan
static const UInt_t kuNbChanPsd
void SetChargeHistoArgs(std::vector< Int_t > inVec)
static const UInt_t kuNbSpillPlots
std::vector< TH1 * > fvhHitZeroLevelChan
void SetAmplHistoArgs(std::vector< Int_t > inVec)
Double_t fdLastSecondTime
std::vector< TH1 * > fvhHitFitWfmChan
CbmMcbm2018PsdPar * fUnpackPar
Settings from parameter file.
CbmMcbm2018MonitorAlgoPsd()
UInt_t fuHistoryHistoSize
Histograms related variables.
Bool_t CreateHistograms()
std::vector< TH1 * > fvhHitCntEvoChan
std::vector< Bool_t > fvbMaskedComponents
Switch ON the filling of a additional set of histograms.
Int_t fiRunStartDateTimeSec
Index of the DPB from which the MS currently unpacked is coming.
CbmMcbm2018MonitorAlgoPsd operator=(const CbmMcbm2018MonitorAlgoPsd &)
void SetZLHistoArgs(std::vector< Int_t > inVec)
UInt_t fuCountsLastSecond
TH2 * fhReadMsgsCntPerMsEvo
CbmMcbm2018MonitorAlgoPsd(const CbmMcbm2018MonitorAlgoPsd &)
std::vector< TH1 * > fvhHitAmplChan
std::chrono::steady_clock::time_point ftStartTimeUnix
std::vector< ULong64_t > fvulCurrentEpochFull
Epoch cycle from the Ms Start message and Epoch counter flip.
std::vector< Int_t > fviHistoAmplArgs
std::vector< ULong64_t > fvulCurrentEpoch
Bin size in s for the plots with date as X axis.
~CbmMcbm2018MonitorAlgoPsd()
void SetHistoryHistoSize(UInt_t inHistorySizeSec=1800)
UInt_t fuNrOfChannelsPerGdpb
Number of channels in each FEE.
std::vector< UInt_t > fvuErrorCntChanMs
Bool_t ReInitContainers()
UInt_t fuReadEvtCnt
Histograms.
std::vector< TH2 * > fvhFitHarmonic1Chan
Waveform fitting.
std::vector< TH1 * > fvhHitChargeByWfmChan
std::vector< TH2 * > fvhHitChargeEvoChan
std::vector< TCanvas * > fvcWfmsChan
UInt_t fuNrOfChannelsPerFee
Number of FEBs per GDPB.
std::vector< TH1 * > fv3hHitWfmFlattenedChan
UInt_t fuCurrDpbId
Current equipment ID, tells from which DPB the current MS is originating.
TCanvas * fcSummary
Canvases.
Double_t fdPrevMsTime
Start Time in ns of current MS from its index field in header.
static const UInt_t kuNbWfmRanges
static const Int_t kiMaxNbFlibLinks
Number of channels per GDPB.
Bool_t fbMonitorMode
Control flags.
std::vector< TH1 * > fvhHitChargeChan
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< TH1 * > fvhHitWfmChan
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
Total number of GDPBs in the system.
void SetMonitorMode(Bool_t bFlagIn=kTRUE)
std::vector< TH1 * > fvhChannelMapSpill
Int_t fiBinSizeDatePlots
Start of run time since "epoch" in s, for the plots with date as X axis.