12#ifndef CbmMcbm2018MonitorTofPulser_H
13#define CbmMcbm2018MonitorTofPulser_H
15#include "Timeslice.hpp"
24#include "TClonesArray.h"
44 virtual Bool_t
Init();
46 virtual Bool_t
DoUnpack(
const fles::Timeslice& ts,
size_t component);
64 virtual void SetNbMsInTs(
size_t uCoreMsNb,
size_t uOverlapMsNb);
virtual Bool_t DoUnpack(const fles::Timeslice &ts, size_t component)
void UseDaqBuffer(Bool_t)
const UInt_t kuNbGbtxPerGdpb
void SetHistoryHistoSizeLong(UInt_t inHistorySizeMin=1800)
std::chrono::time_point< std::chrono::system_clock > fTimeLastHistoSaving
void SetFitZoomWidthPs(Double_t inZoomWidth=1000.0)
void SetHistoryHistoSize(UInt_t inHistorySizeSec=1800)
CbmMcbm2018TofPar * fUnpackPar
std::vector< Int_t > fviModuleId
std::vector< UInt_t > fvuGet4ToElink
size_t fuMsAcceptsPercent
OLD, to be cleaned out !!!!!
void SetIgnoreMsOverlap(Bool_t bEnaFlag=kTRUE)
void SetMsOverlap(size_t uOverlapMsNb=1)
std::vector< ULong64_t > fvulGdpbTsLsb
UInt_t fuHistoryHistoSizeLong
void PrintSysInfo(gdpbv100::Message)
void PrintGenInfo(gdpbv100::Message)
Double_t fdTsCoreSizeInNs
void FillEpochInfo(gdpbv100::Message)
std::vector< UInt_t > fvuPadiToGet4
std::vector< TProfile * > fvhPulserTimeDiffEvoGbtxGbtx
void SetMsLimitLevel(size_t uAcceptBoundaryPct=100)
CbmMcbm2018MonitorTofPulser(const CbmMcbm2018MonitorTofPulser &)
Double_t fdLastRmsUpdateTime
UInt_t fuHistoryHistoSize
std::vector< ULong64_t > fvulGdpbTsMsb
std::vector< UInt_t > fvuStarTrigCmdLast
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
Map of ID to index for the gDPBs.
void FillHitInfo(gdpbv100::Message)
Bool_t fbPrintAllEpochsEnable
std::vector< Int_t > fviRpcSide
std::vector< ULong64_t > fvulCurrentEpochCycle
Int_t GetArrayIndex(Int_t gdpbId, Int_t get4Id)
std::vector< std::vector< TProfile * > > fvvhPulserTimeDiffEvoGdpbGdpb
std::vector< TH2 * > fhFeeFtDistribPerCh
void ResetLongEvolutionHistograms()
std::vector< std::vector< TH1 * > > fvhTimeDiffPulser
Bool_t ReInitContainers()
virtual void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb)
void SaveAllHistos(TString sFileName="")
Double_t fdFitZoomWidthPs
std::vector< ULong64_t > fvulGdpbTsFullLast
std::vector< TH2 * > fhFeeFtNormInl
void SetHistoFileName(TString sFileName="data/SetupHistos.root")
std::vector< std::vector< UInt_t > > fvuCoincNbHitsLastMs
[ fuFeeNr ]
std::vector< TProfile * > fvhMsSzTimePerLink
const UInt_t kuNbBinsDt
[ fuNrOfGdpbs ][ fuNrOfChannelsPerGdpb ]
uint64_t fulCurrentTsIndex
CbmMcbm2018MonitorTofPulser operator=(const CbmMcbm2018MonitorTofPulser &)
std::vector< UInt_t > fvuGet4ToPadi
TH2 * fhTimeRmsZoomFitPuls
UInt_t fuNrOfChannelsPerGdpb
std::vector< ULong64_t > fvulStarTsMsb
std::vector< std::vector< Double_t > > fvdCoincTsLastHit
[ fuNrOfGdpbs ][ fuNrOfChannelsPerGdpb ]
std::vector< ULong64_t > fvulStarTsMid
Bool_t fbPrintAllHitsEnable
UInt_t ConvertGet4ToElink(UInt_t uGet4Idx)
std::vector< TH1 * > fvhMsSzPerLink
std::vector< UInt_t > fvuElinkToGet4
5 FEE with 8 GET4 each
UInt_t fuRawDataPrintMsgIdx
UInt_t ConvertElinkToGet4(UInt_t uElinkIdx)
std::vector< TH2 * > fvhPulserCountEvoPerFeeGdpb
CbmMcbm2018MonitorTofPulser()
std::vector< UInt_t > fvuFeeNbHitsLastMs
Buffer for pulser channels.
std::vector< UInt_t > fvuStarDaqCmdLast
void ProcessEpochCycle(uint64_t ulCycleData)
UInt_t fuNrOfChannelsPerGet4
void UpdateNormedDnlInl()
ULong64_t fulCurrentEpochTime
Epoch + Epoch Cycle.
std::vector< std::vector< TProfile * > > fvvhPulserTimeDiffEvoFeeFee
std::vector< ULong64_t > fvulStarTsFullLast
std::vector< ULong64_t > fvulCurrentEpochFull
Epoch cycle from the Ms Start message and Epoch counter flip.
const Double_t kdMaxDtPulserPs
const UInt_t kuRefFeeEvoIdx[kuNbRefFeeEvo]
static const UInt_t kuNbRefFeeEvo
void PrintSlcInfo(gdpbv100::Message)
std::vector< Int_t > fviNrOfRpc
std::vector< int > fviMsgCounter
static const UInt_t kuNbGet4PerGbtx
void ResetEvolutionHistograms()
std::vector< UInt_t > fvuStarTokenLast
void FillStarTrigInfo(gdpbv100::Message)
const UInt_t kuNbFeePerGbtx
virtual void AddMsComponentToList(size_t component, UShort_t usDetectorId)
std::vector< TH2 * > fhFeeFtNormDnl
std::vector< std::vector< gdpbv100::Message > > fvmEpSupprBuffer
Buffer for suppressed epoch processing.
UInt_t fuRawDataPrintMsgNb
std::vector< ULong64_t > fvulCurrentEpoch
std::vector< Bool_t > fvbFirstEpochSeen
void FillPattInfo(gdpbv100::Message)
std::vector< Int_t > fviRpcType
UInt_t fuNrOfChannelsPerFee
TString fsHistoFileFullname
/** Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice **/
std::vector< size_t > fvMsComponentsList
FLES containers.
virtual ~CbmMcbm2018MonitorTofPulser()
void SetDiamondDpbIdx(UInt_t uIdx=2)
UInt_t fuNbFeePlotsPerGdpb
std::vector< Double_t > fdTsLastPulserHit
[ fuFeeNr ]
void FillOutput(CbmDigi *digi)