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 37 of file CbmDeviceUnpackTofStar2018.h.
CbmDeviceUnpackTofStar2018::CbmDeviceUnpackTofStar2018 | ( | ) |
Definition at line 41 of file CbmDeviceUnpackTofStar2018.cxx.
|
virtual |
Definition at line 716 of file CbmDeviceUnpackTofStar2018.cxx.
|
private |
Definition at line 733 of file CbmDeviceUnpackTofStar2018.cxx.
Referenced by HandleData().
|
private |
Definition at line 240 of file CbmDeviceUnpackTofStar2018.cxx.
References fhChanCoinc, fhChCount, fhDetChanCoinc, fhRawDigiLastDigi, fhRawTDigEvBmon, fhRawTDigRef, fhRawTDigRef0, fhRawTotCh, fhRawTRefDig0, fhRawTRefDig1, fuNrOfChannelsPerGdpb, fuNrOfFebsPerGdpb, and fuNrOfGdpbs.
Referenced by InitContainers().
|
private |
Definition at line 322 of file CbmDeviceUnpackTofStar2018.cxx.
References fbEpochSuppModeOn, fbGet4M24b, fbMergedEpochsOn, fdMsIndex, fEquipmentId, fGdpbIdIndexMap, FillEpochInfo(), FillHitInfo(), FillStarTrigInfo(), fMsgCounter, fuGdpbId, fuGdpbNr, fuGet4Id, fuGet4Nr, fuNrOfGet4PerGdpb, fuOverlapMsNb, fvmEpSupprBuffer, iMess, PrintGenInfo(), PrintSlcInfo(), PrintSysInfo(), and size().
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 539 of file CbmDeviceUnpackTofStar2018.cxx.
References FillHitInfo(), fNofEpochs, fuGet4Nr, fulCurrentEpochTime, fvbFirstEpochSeen, fvmEpSupprBuffer, and fvulCurrentEpoch.
Referenced by DoUnpack().
|
private |
Definition at line 456 of file CbmDeviceUnpackTofStar2018.cxx.
References DetMask, fbGet4v20, fBuffer, fDigi, fdLastDigiTime, fdTShiftRef, fhChCount, fhRawTotCh, fuGdpbNr, fuGet4Nr, fUnpackPar, fuNrOfChannelsPerGdpb, fuNrOfChannelsPerGet4, fvbChanThere, fvbFirstEpochSeen, fvulCurrentEpoch, CbmTbDaqBuffer::GetSize(), CbmTbDaqBuffer::GetTimeFirst(), CbmTbDaqBuffer::GetTimeLast(), and CbmTbDaqBuffer::InsertData().
Referenced by DoUnpack(), and FillEpochInfo().
|
private |
Definition at line 647 of file CbmDeviceUnpackTofStar2018.cxx.
References fBuffer, fdFirstDigiTimeDif, fDigi, fdLastDigiTime, fdTShiftRef, fhRawTRefDig0, fhRawTRefDig1, fulGdpbTsFullLast, fulGdpbTsLsb, fulGdpbTsMsb, fulStarTsFullLast, fulStarTsMid, fulStarTsMsb, fuStarDaqCmdLast, fuStarTokenLast, fuStarTrigCmdLast, and CbmTbDaqBuffer::InsertData().
Referenced by DoUnpack().
|
inlineprivate |
Definition at line 154 of file CbmDeviceUnpackTofStar2018.h.
References fuNrOfGet4PerGdpb.
Referenced by InitContainers().
|
protected |
Definition at line 301 of file CbmDeviceUnpackTofStar2018.cxx.
References CheckTimeslice(), DoUnpack(), and fNumMessages.
Referenced by InitTask().
|
private |
Definition at line 147 of file CbmDeviceUnpackTofStar2018.cxx.
References CreateHistograms(), fUnpackPar, fuNrOfGdpbs, fuNrOfGet4PerGdpb, fvbChanThere, fvbFirstEpochSeen, fvulCurrentEpoch, GetArrayIndex(), and ReInitContainers().
Referenced by InitTask().
|
protectedvirtual |
Definition at line 104 of file CbmDeviceUnpackTofStar2018.cxx.
References HandleData(), InitContainers(), and IsChannelNameAllowed().
|
private |
Definition at line 128 of file CbmDeviceUnpackTofStar2018.cxx.
References fAllowedChannels, and pos.
Referenced by InitTask().
|
private |
Definition at line 613 of file CbmDeviceUnpackTofStar2018.cxx.
References iMess.
Referenced by DoUnpack().
|
private |
Definition at line 719 of file CbmDeviceUnpackTofStar2018.cxx.
|
private |
Nothing to do, maybe later use it to trakc parameter changes like treshold?
Definition at line 595 of file CbmDeviceUnpackTofStar2018.cxx.
Referenced by DoUnpack().
|
private |
Definition at line 625 of file CbmDeviceUnpackTofStar2018.cxx.
References fuGdpbId, fuGet4Nr, fulCurrentEpochTime, and fvulCurrentEpoch.
Referenced by DoUnpack().
|
private |
Definition at line 191 of file CbmDeviceUnpackTofStar2018.cxx.
References fbEpochSuppModeOn, fGdpbIdIndexMap, fuMinNbGdpb, fUnpackPar, fuNrOfChannelsPerFeet, fuNrOfChannelsPerGdpb, fuNrOfChannelsPerGet4, fuNrOfFebsPerGdpb, fuNrOfGdpbs, fuNrOfGet4, fuNrOfGet4PerFeb, fuNrOfGet4PerGdpb, and fvmEpSupprBuffer.
Referenced by InitContainers().
|
private |
Definition at line 49 of file CbmDeviceUnpackTofStar2018.h.
Referenced by IsChannelNameAllowed().
|
private |
Definition at line 117 of file CbmDeviceUnpackTofStar2018.h.
|
private |
Definition at line 93 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack(), and ReInitContainers().
|
private |
Definition at line 94 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack().
|
private |
Definition at line 95 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo().
|
private |
Definition at line 96 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack().
|
private |
Definition at line 122 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo(), and FillStarTrigInfo().
|
private |
Definition at line 106 of file CbmDeviceUnpackTofStar2018.h.
|
private |
Definition at line 105 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 98 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo(), and FillStarTrigInfo().
|
private |
Definition at line 104 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo(), and FillStarTrigInfo().
|
private |
Definition at line 90 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack().
|
private |
Definition at line 103 of file CbmDeviceUnpackTofStar2018.h.
|
private |
Definition at line 91 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo(), and FillStarTrigInfo().
|
private |
Time stamp of current epoch
Definition at line 89 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack().
|
private |
Definition at line 68 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack(), and ReInitContainers().
|
private |
Definition at line 116 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms().
|
private |
Definition at line 114 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms(), and FillHitInfo().
|
private |
Definition at line 118 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms().
|
private |
Definition at line 112 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms().
|
private |
Definition at line 107 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms().
|
private |
Definition at line 109 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms().
|
private |
Definition at line 108 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 110 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms(), and FillStarTrigInfo().
|
private |
Definition at line 111 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms(), and FillStarTrigInfo().
|
private |
Definition at line 67 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack().
|
private |
Definition at line 86 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillEpochInfo().
|
private |
Definition at line 47 of file CbmDeviceUnpackTofStar2018.h.
Referenced by HandleData().
|
private |
Definition at line 55 of file CbmDeviceUnpackTofStar2018.h.
|
private |
Definition at line 70 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack(), and PrintSysInfo().
|
private |
Definition at line 71 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack(), and FillHitInfo().
|
private |
Definition at line 72 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack().
|
private |
Definition at line 73 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack(), FillEpochInfo(), FillHitInfo(), and PrintSysInfo().
|
private |
Current epoch marker for each ROC
Definition at line 87 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillEpochInfo(), and PrintSysInfo().
|
private |
Definition at line 129 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 126 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 125 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 130 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 128 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 127 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Ignore Overlap Ms: all fuOverlapMsNb MS at the end of timeslice
Definition at line 54 of file CbmDeviceUnpackTofStar2018.h.
Referenced by ReInitContainers().
|
private |
Definition at line 52 of file CbmDeviceUnpackTofStar2018.h.
|
private |
Definition at line 100 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo(), InitContainers(), and ReInitContainers().
|
private |
Definition at line 62 of file CbmDeviceUnpackTofStar2018.h.
Referenced by ReInitContainers().
|
private |
Definition at line 65 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms(), FillHitInfo(), and ReInitContainers().
|
private |
Definition at line 60 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo(), and ReInitContainers().
|
private |
Definition at line 58 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms(), and ReInitContainers().
|
private |
Definition at line 57 of file CbmDeviceUnpackTofStar2018.h.
Referenced by CreateHistograms(), InitContainers(), and ReInitContainers().
|
private |
Definition at line 63 of file CbmDeviceUnpackTofStar2018.h.
Referenced by ReInitContainers().
|
private |
Definition at line 59 of file CbmDeviceUnpackTofStar2018.h.
Referenced by ReInitContainers().
|
private |
Definition at line 64 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 53 of file CbmDeviceUnpackTofStar2018.h.
Referenced by DoUnpack().
|
private |
Definition at line 132 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 131 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 133 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillStarTrigInfo().
|
private |
Definition at line 115 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillHitInfo(), and InitContainers().
|
private |
Definition at line 84 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillEpochInfo(), FillHitInfo(), and InitContainers().
|
private |
Definition at line 120 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 83 of file CbmDeviceUnpackTofStar2018.h.
Referenced by FillEpochInfo(), FillHitInfo(), InitContainers(), and PrintSysInfo().