Go to the documentation of this file.
8 #ifndef CBMMCBM2018MONITORMCBMPULSER_H
9 #define CBMMCBM2018MONITORMCBMPULSER_H
12 #include "Timeslice.hpp"
41 virtual Bool_t
Init();
43 virtual Bool_t
DoUnpack(
const fles::Timeslice& ts,
size_t component);
59 virtual void SetNbMsInTs(
size_t uCoreMsNb,
size_t uOverlapMsNb);
100 std::map<UInt_t, UInt_t>
147 std::vector<std::vector<stsxyter::FinalHit>>
149 std::vector<std::vector<stsxyter::FinalHit>>
155 Bool_t
ProcessStsMs(
const fles::Timeslice& ts,
size_t uMsComp, UInt_t uMsIdx);
198 Bool_t
ProcessTofMs(
const fles::Timeslice& ts,
size_t uMsComp, UInt_t uMsIdx);
231 #endif // CBMMCBM2018MONITORMCBMPULSER_H
std::vector< ULong64_t > fvulTofCurrentEpochCycle
std::vector< TH2 * > fvhMcbmTimeDiffToSelDpb
virtual Bool_t DoUnpack(const fles::Timeslice &ts, size_t component)
void SetDiamondDpbIdx(UInt_t uIdx=2)
std::vector< ULong64_t > fvulStsCurrentTsMsb
Bin size in s for the plots with date as X axis.
void SetMsOverlap(size_t uOverlapMsNb=1)
void FillStsEpochInfo(stsxyter::Message mess)
void FillTofEpochInfo(gdpbv100::Message)
CbmMcbm2018MonitorMcbmPulser(const CbmMcbm2018MonitorMcbmPulser &)
CbmMcbm2018StsPar * fUnpackParSts
Bool_t ProcessTofMs(const fles::Timeslice &ts, size_t uMsComp, UInt_t uMsIdx)
Bool_t ReInitContainers()
void SetUseBestPair(Bool_t bInFLag=kTRUE)
uint64_t fulTofCurrentTsIndex
Running indices.
Double_t fdStsTofOffsetNs
CbmMcbm2018TofPar * fUnpackParTof
Unpacking and mapping parameters for TOF.
std::vector< TH2 * > fvhMcbmTimeDiffToTofTsEvoDpb
std::vector< std::vector< stsxyter::FinalHit > > fvmStsSdpbHitsInTs
All hits (time in bins, ADC in bins, asic, channel) in last TS, sorted with "<" operator.
Int_t fiBinSizeDatePlots
Start of run time since "epoch" in s, for the plots with date as X axis.
void CreateMcbmHistograms()
UInt_t fuCurrDpbId
Current equipment ID, tells from which DPB the current MS is originating.
TString fsHistoFileFullname
virtual void AddMsComponentToList(size_t component, UShort_t usDetectorId)
std::vector< int > fviTofMsgCounter
static const UInt_t kuTofBytesPerMessage
TODO => move to the message class!!
std::vector< TH2 * > fvhMcbmTimeDiffToDiamondEvoDpb
void SetHistoFileName(TString sFileName="data/SetupHistos.root")
UInt_t fuCurrDpbIdx
Temp holder until Current equipment ID is properly filled in MS.
std::vector< TH2 * > fvhMcbmTimeDiffToTofWideEvoDpb
Bool_t ProcessStsMs(const fles::Timeslice &ts, size_t uMsComp, UInt_t uMsIdx)
std::vector< std::vector< stsxyter::FinalHit > > fvmStsSdpbHitsInMs
Current TS MSB cycle for DPB.
virtual ~CbmMcbm2018MonitorMcbmPulser()
std::map< UInt_t, UInt_t > fmTofDpbIdIndexMap
Total number of GDPBs in the system.
virtual void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb)
void SavePulserHistos(TString sFileName="")
std::vector< size_t > fvMsComponentsListTof
void AddMsComponentToListTof(size_t component)
void SetTsLevelAna(Bool_t bInFLag=kTRUE)
void CreateTofHistograms()
Processing methods.
void SetIgnoreMsOverlap(Bool_t bIgnoreOver=kTRUE)
UInt_t fuMuchDpbIdx
Map of DPB Identifier to DPB index.
ULong64_t fulCurrentTsIdx
std::map< UInt_t, UInt_t > fmStsDpbIdIndexMap
Total number of Sts DPBs in system.
ULong64_t fulCurrentMsIdx
stsxyter::MessagePrintMask fPrintMessCtrlSts
ULong64_t fulTofCurrentEpochTime
Int_t fiRunStartDateTimeSec
Index of the DPB from which the MS currently unpacked is coming.
std::vector< UInt_t > fvuStsCurrentTsMsbCycle
Current TS MSB for each DPB.
std::vector< std::vector< gdpbv100::Message > > fvmTofEpSupprBuffer
Buffer for suppressed epoch processing.
MessagePrintMask
Printout control.
std::map< stsxyter::MessType, UInt_t > fmMsgCounter
CbmMcbm2018MonitorMcbmPulser()
std::vector< TH2 * > fvhMcbmTimeDiffToSelDpbWide
void SetMuchTofOffsetNs(Double_t dOffsetIn=0.0)
void FillTofEpochCycle(uint64_t ulCycleData)
void SetMuchDpbIdx(UInt_t uIdx=2)
std::vector< TH2 * > fvhMcbmTimeDiffToDiamondWideEvoDpb
Double_t fdMuchTofOffsetNs
std::vector< TH2 * > fvhMcbmTimeDiffToSelDpbTs
static const UInt_t kuStsBytesPerMessage
UInt_t fuTotalNrOfDpb
Global parameters.
std::vector< ULong64_t > fvulTofCurrentEpoch
void FillStsHitInfo(stsxyter::Message mess, const UInt_t &uMsIdx)
std::vector< TH2 * > fvhMcbmTimeDiffToTofEvoDpb
void SaveAllHistos(TString sFileName="")
void UseDaqBuffer(Bool_t)
void CreateStsHistograms()
All hits (time in bins, ADC in bins, asic, channel) in last TS, sorted with "<" operator.
std::vector< std::vector< gdpbv100::FullMessage > > fvmTofGdpbHitsInMs
Buffer for system sync check.
std::vector< std::vector< gdpbv100::FullMessage > > fvmTofGdpbHitsInTs
std::vector< size_t > fvMsComponentsListSts
void AddMsComponentToListSts(size_t component)
std::vector< ULong64_t > fvulTofCurrentEpochFull
void FillTofHitInfo(gdpbv100::Message)
void FillStsTsMsbInfo(stsxyter::Message mess, UInt_t uMessIdx=0, UInt_t uMsIdx=0)
UInt_t fuCurrentEquipmentId
CbmMcbm2018MonitorMcbmPulser operator=(const CbmMcbm2018MonitorMcbmPulser &)
std::vector< TH2 * > fvhMcbmTimeDiffToDiamondTsEvoDpb
void SetStsTofOffsetNs(Double_t dOffsetIn=0.0)