CbmRoot
|
#include <CbmDeviceUnpackTofStar2018.h>
Public Member Functions | |
CbmDeviceUnpackTofStar2018 () | |
virtual | ~CbmDeviceUnpackTofStar2018 () |
Protected Member Functions | |
virtual void | InitTask () |
bool | HandleData (FairMQMessagePtr &, int) |
Private Member Functions | |
bool | CheckTimeslice (const fles::Timeslice &ts) |
void | PrintMicroSliceDescriptor (const fles::MicrosliceDescriptor &mdsc) |
bool | IsChannelNameAllowed (std::string channelName) |
Bool_t | InitContainers () |
Bool_t | ReInitContainers () |
void | CreateHistograms () |
void | FillHitInfo (ngdpb::Message) |
void | FillStarTrigInfo (ngdpb::Message) |
void | FillEpochInfo (ngdpb::Message) |
void | PrintSlcInfo (ngdpb::Message) |
void | PrintSysInfo (ngdpb::Message) |
void | PrintGenInfo (ngdpb::Message) |
Bool_t | DoUnpack (const fles::Timeslice &ts, size_t component) |
Int_t | GetArrayIndex (Int_t gdpbId, Int_t get4Id) |
Definition at line 31 of file CbmDeviceUnpackTofStar2018.h.
CbmDeviceUnpackTofStar2018::CbmDeviceUnpackTofStar2018 | ( | ) |
Definition at line 38 of file CbmDeviceUnpackTofStar2018.cxx.
|
virtual |
Definition at line 791 of file CbmDeviceUnpackTofStar2018.cxx.
|
private |
Definition at line 812 of file CbmDeviceUnpackTofStar2018.cxx.
Referenced by HandleData().
|
private |
Definition at line 238 of file CbmDeviceUnpackTofStar2018.cxx.
References fhChanCoinc, fhChCount, fhDetChanCoinc, fhRawDigiLastDigi, fhRawTDigEvT0, fhRawTDigRef, fhRawTDigRef0, fhRawTotCh, fhRawTRefDig0, fhRawTRefDig1, fuNrOfChannelsPerGdpb, fuNrOfFebsPerGdpb, and fuNrOfGdpbs.
Referenced by InitContainers().
|
private |
Definition at line 367 of file CbmDeviceUnpackTofStar2018.cxx.
References fbEpochSuppModeOn, fbGet4M24b, fbMergedEpochsOn, fdMsIndex, fEquipmentId, fGdpbIdIndexMap, FillEpochInfo(), FillHitInfo(), FillStarTrigInfo(), fMsgCounter, fuGdpbId, fuGdpbNr, fuGet4Id, fuGet4Nr, fuNrOfGet4PerGdpb, fuOverlapMsNb, fvmEpSupprBuffer, iMess, gdpbv100::kuChipIdMergedEpoch, m, gdpbv100::MSG_EPOCH, gdpbv100::MSG_HIT, PrintGenInfo(), PrintSlcInfo(), and PrintSysInfo().
Referenced by HandleData().
|
private |
In Ep. Suppr. Mode, receive following epoch instead of previous Re-align the epoch number of the message in case it will be used later: We received the epoch after the data instead of the one before!
Definition at line 599 of file CbmDeviceUnpackTofStar2018.cxx.
References FillHitInfo(), fNofEpochs, fuGet4Nr, fulCurrentEpochTime, fvbFirstEpochSeen, fvmEpSupprBuffer, fvulCurrentEpoch, and gdpbv100::kuEpochCounterSz.
Referenced by DoUnpack().
|
private |
Definition at line 512 of file CbmDeviceUnpackTofStar2018.cxx.
References DetMask, fbGet4v20, fBuffer, fDigi, fdLastDigiTime, fdTShiftRef, fhChCount, fhRawTotCh, fuGdpbNr, fuGet4Nr, fUnpackPar, fuNrOfChannelsPerGdpb, fuNrOfChannelsPerGet4, fvbChanThere, fvbFirstEpochSeen, fvulCurrentEpoch, and gdpbv100::kuEpochCounterSz.
Referenced by DoUnpack(), and FillEpochInfo().
|
private |
Definition at line 717 of file CbmDeviceUnpackTofStar2018.cxx.
References fBuffer, fdFirstDigiTimeDif, fDigi, fdLastDigiTime, fdTShiftRef, fhRawTRefDig0, fhRawTRefDig1, fulGdpbTsFullLast, fulGdpbTsLsb, fulGdpbTsMsb, fulStarTsFullLast, fulStarTsMid, fulStarTsMsb, fuStarDaqCmdLast, fuStarTokenLast, and fuStarTrigCmdLast.
Referenced by DoUnpack().
|
inlineprivate |
Definition at line 153 of file CbmDeviceUnpackTofStar2018.h.
References fuNrOfGet4PerGdpb.
Referenced by InitContainers().
|
protected |
Definition at line 345 of file CbmDeviceUnpackTofStar2018.cxx.
References CheckTimeslice(), DoUnpack(), and fNumMessages.
Referenced by InitTask().
|
private |
Definition at line 143 of file CbmDeviceUnpackTofStar2018.cxx.
References CreateHistograms(), fUnpackPar, fuNrOfGdpbs, fuNrOfGet4PerGdpb, fvbChanThere, fvbFirstEpochSeen, fvulCurrentEpoch, GetArrayIndex(), i, and ReInitContainers().
Referenced by InitTask().
|
protectedvirtual |
Definition at line 99 of file CbmDeviceUnpackTofStar2018.cxx.
References HandleData(), InitContainers(), and IsChannelNameAllowed().
|
private |
Definition at line 122 of file CbmDeviceUnpackTofStar2018.cxx.
References fAllowedChannels, and pos.
Referenced by InitTask().
|
private |
Definition at line 674 of file CbmDeviceUnpackTofStar2018.cxx.
References iMess.
Referenced by DoUnpack().
|
private |
Definition at line 794 of file CbmDeviceUnpackTofStar2018.cxx.
|
private |
Nothing to do, maybe later use it to trakc parameter changes like treshold?
Definition at line 657 of file CbmDeviceUnpackTofStar2018.cxx.
Referenced by DoUnpack().
|
private |
Definition at line 686 of file CbmDeviceUnpackTofStar2018.cxx.
References fuGdpbId, fuGet4Nr, fulCurrentEpochTime, and fvulCurrentEpoch.
Referenced by DoUnpack().
|
private |
Definition at line 188 of file CbmDeviceUnpackTofStar2018.cxx.
References fbEpochSuppModeOn, fGdpbIdIndexMap, fuMinNbGdpb, fUnpackPar, fuNrOfChannelsPerFeet, fuNrOfChannelsPerGdpb, fuNrOfChannelsPerGet4, fuNrOfFebsPerGdpb, fuNrOfGdpbs, fuNrOfGet4, fuNrOfGet4PerFeb, fuNrOfGet4PerGdpb, fvmEpSupprBuffer, and i.
Referenced by InitContainers().
|
private |
Definition at line 43 of file CbmDeviceUnpackTofStar2018.h.
Referenced by IsChannelNameAllowed().
|
private |
Definition at line 116 of file CbmDeviceUnpackTofStar2018.h.
|
private |
Definition at line 92 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack(), and ReInitContainers().
|
private |
Definition at line 93 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack().
|
private |
Definition at line 94 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo().
|
private |
Definition at line 95 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack().
|
private |
Definition at line 121 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo(), and FillStarTrigInfo().
|
private |
Definition at line 105 of file CbmDeviceUnpackTofStar2018.h.
|
private |
Definition at line 104 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 97 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo(), and FillStarTrigInfo().
|
private |
Definition at line 103 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo(), and FillStarTrigInfo().
|
private |
Definition at line 89 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack().
|
private |
Definition at line 102 of file CbmDeviceUnpackTofStar2018.h.
|
private |
Definition at line 90 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo(), and FillStarTrigInfo().
|
private |
Time stamp of current epoch
Definition at line 88 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack().
|
private |
Definition at line 64 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack(), and ReInitContainers().
|
private |
Definition at line 115 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms().
|
private |
Definition at line 113 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms(), and FillHitInfo().
|
private |
Definition at line 117 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms().
|
private |
Definition at line 111 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms().
|
private |
Definition at line 106 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms().
|
private |
Definition at line 108 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms().
|
private |
Definition at line 107 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms().
|
private |
Definition at line 112 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms(), and FillHitInfo().
|
private |
Definition at line 109 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms(), and FillStarTrigInfo().
|
private |
Definition at line 110 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms(), and FillStarTrigInfo().
|
private |
Definition at line 63 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack().
|
private |
Definition at line 85 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillEpochInfo().
|
private |
Definition at line 41 of file CbmDeviceUnpackTofStar2018.h.
Referenced by HandleData().
|
private |
Definition at line 51 of file CbmDeviceUnpackTofStar2018.h.
|
private |
Definition at line 66 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack(), and PrintSysInfo().
|
private |
Definition at line 68 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack(), and FillHitInfo().
|
private |
Definition at line 70 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack().
|
private |
Definition at line 72 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack(), FillEpochInfo(), FillHitInfo(), and PrintSysInfo().
|
private |
Current epoch marker for each ROC
Definition at line 86 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillEpochInfo(), and PrintSysInfo().
|
private |
Definition at line 128 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 125 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 124 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 129 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 127 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 126 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice
Definition at line 50 of file CbmDeviceUnpackTofStar2018.h.
Referenced by ReInitContainers().
|
private |
Definition at line 47 of file CbmDeviceUnpackTofStar2018.h.
|
private |
Definition at line 99 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo(), InitContainers(), and ReInitContainers().
|
private |
Definition at line 58 of file CbmDeviceUnpackTofStar2018.h.
Referenced by ReInitContainers().
|
private |
Definition at line 61 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms(), FillHitInfo(), and ReInitContainers().
|
private |
Definition at line 56 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo(), and ReInitContainers().
|
private |
Definition at line 54 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms(), and ReInitContainers().
|
private |
Definition at line 53 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms(), InitContainers(), and ReInitContainers().
|
private |
Definition at line 59 of file CbmDeviceUnpackTofStar2018.h.
Referenced by ReInitContainers().
|
private |
Definition at line 55 of file CbmDeviceUnpackTofStar2018.h.
Referenced by ReInitContainers().
|
private |
Definition at line 60 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack(), GetArrayIndex(), InitContainers(), and ReInitContainers().
|
private |
Reject Ms with index inside TS above this, assumes 100 MS per TS
Definition at line 49 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack().
|
private |
Definition at line 131 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 130 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 132 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 114 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo(), and InitContainers().
|
private |
Definition at line 83 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillEpochInfo(), FillHitInfo(), and InitContainers().
|
private |
Definition at line 119 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack(), FillEpochInfo(), and ReInitContainers().
|
private |
Current epoch marker for each GDPB and GET4 (first epoch in the stream initializes the map item) pointer points to an array of size fNrOfGdpbs * fNrOfGet4PerGdpb The correct array index is calculated using the function GetArrayIndex(gdpbId, get4Id)
Definition at line 82 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillEpochInfo(), FillHitInfo(), InitContainers(), and PrintSysInfo().