Go to the documentation of this file.
9 #ifndef CbmMcbm2018UnpackerAlgoPsd_H
10 #define CbmMcbm2018UnpackerAlgoPsd_H
35 virtual Bool_t
Init();
45 Bool_t
ProcessTs(
const fles::Timeslice& ts);
46 Bool_t
ProcessTs(
const fles::Timeslice& ts,
size_t ) {
49 Bool_t
ProcessMs(
const fles::Timeslice& ts,
size_t uMsCompIdx,
size_t uMsIdx);
127 std::vector<ULong64_t>
136 std::chrono::steady_clock::time_point
CbmMcbm2018UnpackerAlgoPsd operator=(const CbmMcbm2018UnpackerAlgoPsd &)
size_t fuCurrentMsSysId
Idx of the current MS in TS (0 to fuTotalMsNb)
Double_t fdStartTime
Epoch + Epoch Cycle.
~CbmMcbm2018UnpackerAlgoPsd()
Bool_t ProcessTs(const fles::Timeslice &ts)
UInt_t fuCurrDpbId
Current equipment ID, tells from which DPB the current MS is originating.
std::vector< Int_t > fviPsdChUId
UInt_t fuCurrentEquipmentId
Index of current MS within the TS.
std::vector< ULong64_t > fvulCurrentEpochCycle
Current epoch index, per DPB.
std::vector< ULong64_t > fvulCurrentEpochFull
Epoch cycle from the Ms Start message and Epoch counter flip.
std::map< UInt_t, UInt_t > fGdpbIdIndexMap
Total number of GDPBs in the system.
Bool_t ReInitContainers()
Double_t fdTimeOffsetNs
User settings: Data correction parameters.
std::vector< Int_t > fviRpcType
CbmMcbm2018UnpackerAlgoPsd()
Bool_t fbMonitorMode
Control flags.
Bool_t ProcessMs(const fles::Timeslice &ts, size_t uMsCompIdx, size_t uMsIdx)
void SetDiamondDpbIdx(UInt_t uIdx=2)
CbmMcbm2018PsdPar * fUnpackPar
Settings from parameter file.
CbmMcbm2018UnpackerAlgoPsd(const CbmMcbm2018UnpackerAlgoPsd &)
static const UInt_t kuBytesPerMessage
Bool_t ProcessTs(const fles::Timeslice &ts, size_t)
ULong64_t fulCurrentTsIdx
std::chrono::steady_clock::time_point ftStartTimeUnix
UInt_t fuNrOfGbtx
Number of channels per GDPB.
Double_t fdMsTime
End Time in ns of current TS Core from the index of the first MS first component.
UInt_t fuNrOfChannelsPerFee
Number of FEBs per GDPB.
void AddMsComponentToList(size_t component, UShort_t usDetectorId)
void SetMonitorMode(Bool_t bFlagIn=kTRUE)
std::vector< Int_t > fviNrOfRpc
std::vector< Int_t > fviModuleId
static const UInt_t kuDetMask
std::vector< Int_t > fviRpcSide
Bool_t CreateHistograms()
UInt_t fuNrOfFeePerGdpb
gDPB ID to index map
UInt_t fuNrOfChannelsPerGdpb
Number of channels in each FEE.
void SetTimeOffsetNs(Double_t dOffsetIn=0.0)
UInt_t fuCurrDpbIdx
Temp holder until Current equipment ID is properly filled in MS.
Int_t fiRunStartDateTimeSec
Index of the DPB from which the MS currently unpacked is coming.
std::vector< ULong64_t > fvulCurrentEpoch
Bin size in s for the plots with date as X axis.
ULong64_t fulCurrentMsIdx
Idx of the current TS.
Double_t fdTsStartTime
SysId of the current MS in TS (0 to fuTotalMsNb)
static const Int_t kiMaxNbFlibLinks
Constants.
Bool_t fbDebugMonitorMode
Switch ON the filling of a minimal set of histograms.
std::vector< Bool_t > fvbMaskedComponents
Switch ON the filling of a additional set of histograms.
UInt_t fuMsIndex
Start Time in ns of current MS from its index field in header.
Double_t fdTsStopTimeCore
Time in ns of current TS from the index of the first MS first component.
Int_t fiBinSizeDatePlots
Start of run time since "epoch" in s, for the plots with date as X axis.