#include <CbmDeviceUnpackTofCri.h>
Definition at line 41 of file CbmDeviceUnpackTofCri.h.
◆ CbmDeviceUnpackTofCri() [1/2]
CbmDeviceUnpackTofCri::CbmDeviceUnpackTofCri |
( |
| ) |
|
◆ ~CbmDeviceUnpackTofCri()
CbmDeviceUnpackTofCri::~CbmDeviceUnpackTofCri |
( |
| ) |
|
|
virtual |
◆ CbmDeviceUnpackTofCri() [2/2]
◆ AddMsComponentToList()
void CbmDeviceUnpackTofCri::AddMsComponentToList |
( |
size_t | component, |
|
|
UShort_t | usDetectorId ) |
|
private |
◆ AddReqDigiAddr()
void CbmDeviceUnpackTofCri::AddReqDigiAddr |
( |
int | | ) |
|
|
private |
◆ BuildTint()
void CbmDeviceUnpackTofCri::BuildTint |
( |
uint64_t | ulTsStartTime, |
|
|
int | iMode = 0 ) |
|
protectedvirtual |
Definition at line 641 of file CbmDeviceUnpackTofCri.cxx.
References fBuffer, fEventHeader, fiAddrRef, fiPulMulMin, fiPulserMode, fiPulTotMax, fiPulTotMin, fiReqBeam, fiReqDigiAddr, fiReqMode, fiReqTint, CbmTofDigi::GetAddress(), CbmTofDigi::GetChannel(), CbmTbDaqBuffer::GetNextData(), CbmTofDigi::GetRpc(), CbmTofDigi::GetSide(), CbmTbDaqBuffer::GetSize(), CbmTofDigi::GetTime(), CbmTbDaqBuffer::GetTimeFirst(), CbmTbDaqBuffer::GetTimeLast(), CbmTofDigi::GetTot(), kNotExist, and SendDigis().
Referenced by HandleData(), and HandleParts().
◆ CheckTimeslice()
bool CbmDeviceUnpackTofCri::CheckTimeslice |
( |
const fles::Timeslice & | ts | ) |
|
|
private |
◆ ConvertElinkToGet4()
UInt_t CbmDeviceUnpackTofCri::ConvertElinkToGet4 |
( |
UInt_t | uElinkIdx | ) |
|
|
inlineprivate |
◆ ConvertGet4ToElink()
UInt_t CbmDeviceUnpackTofCri::ConvertGet4ToElink |
( |
UInt_t | uGet4Idx | ) |
|
|
inlineprivate |
◆ CreateHistograms()
void CbmDeviceUnpackTofCri::CreateHistograms |
( |
| ) |
|
|
private |
Definition at line 416 of file CbmDeviceUnpackTofCri.cxx.
References fhChanCoinc, fhChCount, fhDetChanCoinc, fhRawDigiLastDigi, fhRawTDigEvBmon, fhRawTDigRef, fhRawTDigRef0, fhRawTotCh, fhRawTRefDig0, fhRawTRefDig1, fuNrOfChannelsPerGdpb, fuNrOfFeePerGdpb, and fuNrOfGdpbs.
◆ DoUnpack()
Bool_t CbmDeviceUnpackTofCri::DoUnpack |
( |
const fles::Timeslice & | ts, |
|
|
size_t | component ) |
|
private |
Definition at line 587 of file CbmDeviceUnpackTofCri.cxx.
References fBuffer, fdToffTof, fiAddrRef, fUnpackerAlgo, CbmTofDigi::GetAddress(), CbmTofDigi::GetChannel(), CbmTofDigi::GetRpc(), CbmTofDigi::GetSide(), CbmTbDaqBuffer::GetSize(), CbmTofDigi::GetSm(), CbmTofDigi::GetTime(), CbmTbDaqBuffer::GetTimeFirst(), CbmTbDaqBuffer::GetTimeLast(), CbmTofDigi::GetTot(), CbmTofDigi::GetType(), CbmTbDaqBuffer::InsertData(), iReportMess, and CbmTofDigi::SetTime().
Referenced by HandleData(), and HandleParts().
◆ GetArrayIndex()
Int_t CbmDeviceUnpackTofCri::GetArrayIndex |
( |
Int_t | gdpbId, |
|
|
Int_t | get4Id ) |
|
inlineprivate |
◆ HandleData()
bool CbmDeviceUnpackTofCri::HandleData |
( |
FairMQMessagePtr & | msg, |
|
|
int | ) |
|
protected |
◆ HandleMessage()
bool CbmDeviceUnpackTofCri::HandleMessage |
( |
FairMQMessagePtr & | msg, |
|
|
int | ) |
|
protected |
◆ HandleParts()
bool CbmDeviceUnpackTofCri::HandleParts |
( |
FairMQParts & | parts, |
|
|
int | ) |
|
protected |
◆ InitContainers()
Bool_t CbmDeviceUnpackTofCri::InitContainers |
( |
| ) |
|
|
private |
Definition at line 295 of file CbmDeviceUnpackTofCri.cxx.
References fNumTint, fUnpackPar, fuNrOfGdpbs, fuNrOfGet4PerGdpb, fvbChanThere, fvbFirstEpochSeen, fviRpcChUId, fvulCurrentEpoch, GetArrayIndex(), CbmMcbm2018TofPar::GetNrOfGdpbs(), ReInitContainers(), and SetParContainers().
Referenced by InitTask().
◆ InitTask()
void CbmDeviceUnpackTofCri::InitTask |
( |
| ) |
|
|
protectedvirtual |
Definition at line 135 of file CbmDeviceUnpackTofCri.cxx.
References AddReqDigiAddr(), fChannelsToSend, fdToffTof, fEventHeader, fiAddrRef, fiPulMulMin, fiPulserMode, fiPulTotMax, fiPulTotMin, fiReqBeam, fiReqDigiAddr, fiReqMode, fiReqTint, fiSelectComponents, fTofConfig, fUnpackerAlgo, fviModuleId, fviNrOfRpc, fviRpcType, CbmTofAddress::GetUniqueAddress(), HandleMessage(), HandleParts(), InitContainers(), and IsChannelNameAllowed().
◆ IsChannelNameAllowed()
bool CbmDeviceUnpackTofCri::IsChannelNameAllowed |
( |
std::string | channelName | ) |
|
|
private |
◆ operator=()
◆ PrintMicroSliceDescriptor()
void CbmDeviceUnpackTofCri::PrintMicroSliceDescriptor |
( |
const fles::MicrosliceDescriptor & | mdsc | ) |
|
|
private |
◆ ReInitContainers()
Bool_t CbmDeviceUnpackTofCri::ReInitContainers |
( |
| ) |
|
|
private |
◆ SendDigis()
bool CbmDeviceUnpackTofCri::SendDigis |
( |
std::vector< CbmTofDigi * > | vdigi, |
|
|
int | idx ) |
|
protectedvirtual |
◆ SetDiamondDpbIdx()
void CbmDeviceUnpackTofCri::SetDiamondDpbIdx |
( |
UInt_t | uIdx = 2 | ) |
|
|
private |
◆ SetIgnoreOverlapMs()
void CbmDeviceUnpackTofCri::SetIgnoreOverlapMs |
( |
Bool_t | bFlagIn = kTRUE | ) |
|
|
private |
◆ SetNbMsInTs()
void CbmDeviceUnpackTofCri::SetNbMsInTs |
( |
size_t | , |
|
|
size_t | ) |
|
inlineprivate |
◆ SetParContainers()
void CbmDeviceUnpackTofCri::SetParContainers |
( |
| ) |
|
|
private |
◆ SetTimeOffsetNs()
void CbmDeviceUnpackTofCri::SetTimeOffsetNs |
( |
Double_t | dOffsetIn = 0.0 | ) |
|
|
private |
◆ fAllowedChannels
std::vector<std::string> CbmDeviceUnpackTofCri::fAllowedChannels = {"tofcomponent", "parameters", "tofdigis", "syscmd"} |
|
private |
◆ fBuffer
◆ fChannelsToSend
std::vector<std::vector<std::string> > CbmDeviceUnpackTofCri::fChannelsToSend = {{}, {}, {}} |
|
private |
◆ fdFirstDigiTimeDif
Double_t CbmDeviceUnpackTofCri::fdFirstDigiTimeDif |
|
private |
◆ fdLastDigiTime
Double_t CbmDeviceUnpackTofCri::fdLastDigiTime |
|
private |
◆ fdMsSizeInNs
Double_t CbmDeviceUnpackTofCri::fdMsSizeInNs |
|
private |
◆ fdToffTof
Double_t CbmDeviceUnpackTofCri::fdToffTof |
|
private |
◆ fdTsCoreSizeInNs
Double_t CbmDeviceUnpackTofCri::fdTsCoreSizeInNs |
|
private |
◆ fEventHeader
std::vector<uint64_t> CbmDeviceUnpackTofCri::fEventHeader |
|
private |
◆ fGdpbIdIndexMap
std::map<UInt_t, UInt_t> CbmDeviceUnpackTofCri::fGdpbIdIndexMap |
|
private |
◆ fhChanCoinc
std::vector<TH2*> CbmDeviceUnpackTofCri::fhChanCoinc |
|
private |
◆ fhChCount
std::vector<TH1*> CbmDeviceUnpackTofCri::fhChCount |
|
private |
◆ fhDetChanCoinc
TH2* CbmDeviceUnpackTofCri::fhDetChanCoinc |
|
private |
◆ fhRawDigiLastDigi
TH1* CbmDeviceUnpackTofCri::fhRawDigiLastDigi |
|
private |
◆ fhRawTDigEvBmon
TH1* CbmDeviceUnpackTofCri::fhRawTDigEvBmon |
|
private |
◆ fhRawTDigRef
TH1* CbmDeviceUnpackTofCri::fhRawTDigRef |
|
private |
◆ fhRawTDigRef0
TH1* CbmDeviceUnpackTofCri::fhRawTDigRef0 |
|
private |
◆ fhRawTotCh
std::vector<TH2*> CbmDeviceUnpackTofCri::fhRawTotCh |
|
private |
◆ fhRawTRefDig0
TH1* CbmDeviceUnpackTofCri::fhRawTRefDig0 |
|
private |
◆ fhRawTRefDig1
TH1* CbmDeviceUnpackTofCri::fhRawTRefDig1 |
|
private |
◆ fiAddrRef
UInt_t CbmDeviceUnpackTofCri::fiAddrRef |
|
private |
◆ fiPulMulMin
uint64_t CbmDeviceUnpackTofCri::fiPulMulMin |
|
private |
◆ fiPulserMode
Int_t CbmDeviceUnpackTofCri::fiPulserMode |
|
private |
◆ fiPulTotMax
uint64_t CbmDeviceUnpackTofCri::fiPulTotMax |
|
private |
◆ fiPulTotMin
uint64_t CbmDeviceUnpackTofCri::fiPulTotMin |
|
private |
◆ fiReqBeam
uint64_t CbmDeviceUnpackTofCri::fiReqBeam |
|
private |
◆ fiReqDigiAddr
std::vector<Int_t> CbmDeviceUnpackTofCri::fiReqDigiAddr |
|
private |
◆ fiReqMode
uint64_t CbmDeviceUnpackTofCri::fiReqMode |
|
private |
◆ fiReqTint
uint64_t CbmDeviceUnpackTofCri::fiReqTint |
|
private |
◆ fiSelectComponents
uint64_t CbmDeviceUnpackTofCri::fiSelectComponents |
|
private |
◆ fMsgCounter
std::vector<int> CbmDeviceUnpackTofCri::fMsgCounter |
|
private |
◆ fNofEpochs
Int_t CbmDeviceUnpackTofCri::fNofEpochs |
|
private |
◆ fNumMessages
uint64_t CbmDeviceUnpackTofCri::fNumMessages |
|
private |
◆ fNumTint
uint64_t CbmDeviceUnpackTofCri::fNumTint |
|
private |
◆ fuCoreMs
size_t CbmDeviceUnpackTofCri::fuCoreMs |
|
private |
◆ fuGdpbId
UInt_t CbmDeviceUnpackTofCri::fuGdpbId |
|
private |
◆ fuGdpbNr
UInt_t CbmDeviceUnpackTofCri::fuGdpbNr |
|
private |
◆ fuGet4Id
UInt_t CbmDeviceUnpackTofCri::fuGet4Id |
|
private |
◆ fuGet4Nr
UInt_t CbmDeviceUnpackTofCri::fuGet4Nr |
|
private |
◆ fulCurrentEpochTime
ULong64_t CbmDeviceUnpackTofCri::fulCurrentEpochTime |
|
private |
◆ fuMinNbGdpb
UInt_t CbmDeviceUnpackTofCri::fuMinNbGdpb |
|
private |
◆ fUnpackerAlgo
◆ fUnpackPar
◆ fuNrOfChannelsPerFee
UInt_t CbmDeviceUnpackTofCri::fuNrOfChannelsPerFee |
|
private |
◆ fuNrOfChannelsPerGdpb
UInt_t CbmDeviceUnpackTofCri::fuNrOfChannelsPerGdpb |
|
private |
◆ fuNrOfChannelsPerGet4
UInt_t CbmDeviceUnpackTofCri::fuNrOfChannelsPerGet4 |
|
private |
◆ fuNrOfFeePerGdpb
UInt_t CbmDeviceUnpackTofCri::fuNrOfFeePerGdpb |
|
private |
◆ fuNrOfGdpbs
UInt_t CbmDeviceUnpackTofCri::fuNrOfGdpbs |
|
private |
◆ fuNrOfGet4
UInt_t CbmDeviceUnpackTofCri::fuNrOfGet4 |
|
private |
◆ fuNrOfGet4PerFee
UInt_t CbmDeviceUnpackTofCri::fuNrOfGet4PerFee |
|
private |
◆ fuNrOfGet4PerGdpb
UInt_t CbmDeviceUnpackTofCri::fuNrOfGet4PerGdpb |
|
private |
◆ fuOverlapMsNb
size_t CbmDeviceUnpackTofCri::fuOverlapMsNb |
|
private |
◆ fuTotalMsNb
size_t CbmDeviceUnpackTofCri::fuTotalMsNb |
|
private |
◆ fvbChanThere
std::vector<Bool_t> CbmDeviceUnpackTofCri::fvbChanThere |
|
private |
◆ fvbFirstEpochSeen
std::vector<Bool_t> CbmDeviceUnpackTofCri::fvbFirstEpochSeen |
|
private |
◆ fviModuleId
std::vector<Int_t> CbmDeviceUnpackTofCri::fviModuleId |
|
private |
◆ fviNrOfRpc
std::vector<Int_t> CbmDeviceUnpackTofCri::fviNrOfRpc |
|
private |
◆ fviRpcChUId
std::vector<Int_t> CbmDeviceUnpackTofCri::fviRpcChUId |
|
private |
◆ fviRpcSide
std::vector<Int_t> CbmDeviceUnpackTofCri::fviRpcSide |
|
private |
◆ fviRpcType
std::vector<Int_t> CbmDeviceUnpackTofCri::fviRpcType |
|
private |
◆ fvuElinkToGet4
std::vector<UInt_t> CbmDeviceUnpackTofCri::fvuElinkToGet4 |
|
private |
◆ fvuGet4ToElink
std::vector<UInt_t> CbmDeviceUnpackTofCri::fvuGet4ToElink |
|
private |
◆ fvuGet4ToPadi
std::vector<UInt_t> CbmDeviceUnpackTofCri::fvuGet4ToPadi |
|
private |
◆ fvulCurrentEpoch
std::vector<ULong64_t> CbmDeviceUnpackTofCri::fvulCurrentEpoch |
|
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 106 of file CbmDeviceUnpackTofCri.h.
Referenced by InitContainers().
◆ fvuPadiToGet4
std::vector<UInt_t> CbmDeviceUnpackTofCri::fvuPadiToGet4 |
|
private |
◆ kuNbFeePerGbtx
const UInt_t CbmDeviceUnpackTofCri::kuNbFeePerGbtx = 5 |
|
private |
◆ kuNbGbtxPerGdpb
const UInt_t CbmDeviceUnpackTofCri::kuNbGbtxPerGdpb = 6 |
|
private |
◆ kuNbGet4PerGbtx
const UInt_t CbmDeviceUnpackTofCri::kuNbGet4PerGbtx = 5 * 8 |
|
staticprivate |
The documentation for this class was generated from the following files: