#include <CbmDeviceUnpackTofMcbm2018.h>
◆ CbmDeviceUnpackTofMcbm2018() [1/2]
CbmDeviceUnpackTofMcbm2018::CbmDeviceUnpackTofMcbm2018 |
( |
| ) |
|
◆ ~CbmDeviceUnpackTofMcbm2018()
CbmDeviceUnpackTofMcbm2018::~CbmDeviceUnpackTofMcbm2018 |
( |
| ) |
|
|
virtual |
◆ CbmDeviceUnpackTofMcbm2018() [2/2]
◆ AddMsComponentToList()
void CbmDeviceUnpackTofMcbm2018::AddMsComponentToList |
( |
size_t | component, |
|
|
UShort_t | usDetectorId ) |
|
private |
◆ AddReqDigiAddr()
void CbmDeviceUnpackTofMcbm2018::AddReqDigiAddr |
( |
int | | ) |
|
|
private |
◆ BuildTint()
void CbmDeviceUnpackTofMcbm2018::BuildTint |
( |
int | iMode = 0 | ) |
|
|
protectedvirtual |
Definition at line 920 of file CbmDeviceUnpackTofMcbm2018.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 CbmDeviceUnpackTofMcbm2018::CheckTimeslice |
( |
const fles::Timeslice & | ts | ) |
|
|
private |
◆ ConvertElinkToGet4()
UInt_t CbmDeviceUnpackTofMcbm2018::ConvertElinkToGet4 |
( |
UInt_t | uElinkIdx | ) |
|
|
inlineprivate |
◆ ConvertGet4ToElink()
UInt_t CbmDeviceUnpackTofMcbm2018::ConvertGet4ToElink |
( |
UInt_t | uGet4Idx | ) |
|
|
inlineprivate |
◆ CreateHistograms()
void CbmDeviceUnpackTofMcbm2018::CreateHistograms |
( |
| ) |
|
|
private |
Definition at line 712 of file CbmDeviceUnpackTofMcbm2018.cxx.
References fhChanCoinc, fhChCount, fhDetChanCoinc, fhRawDigiLastDigi, fhRawTDigEvBmon, fhRawTDigRef, fhRawTDigRef0, fhRawTotCh, fhRawTRefDig0, fhRawTRefDig1, fuNrOfChannelsPerGdpb, fuNrOfFeePerGdpb, and fuNrOfGdpbs.
◆ DoUnpack()
Bool_t CbmDeviceUnpackTofMcbm2018::DoUnpack |
( |
const fles::Timeslice & | ts, |
|
|
size_t | component ) |
|
private |
Copy the digis in the DaqBuffer
Definition at line 876 of file CbmDeviceUnpackTofMcbm2018.cxx.
References CbmStar2019Algo< T >::ClearVector(), fBuffer, fdToffTof, fiAddrRef, fUnpackerAlgo, CbmTofDigi::GetAddress(), CbmTbDaqBuffer::GetSize(), CbmTofDigi::GetTime(), CbmTbDaqBuffer::GetTimeFirst(), CbmTbDaqBuffer::GetTimeLast(), CbmStar2019Algo< T >::GetVector(), CbmTbDaqBuffer::InsertData(), CbmMcbm2018UnpackerAlgoTof::ProcessTs(), and CbmTofDigi::SetTime().
Referenced by HandleData(), and HandleParts().
◆ GetArrayIndex()
Int_t CbmDeviceUnpackTofMcbm2018::GetArrayIndex |
( |
Int_t | gdpbId, |
|
|
Int_t | get4Id ) |
|
inlineprivate |
◆ HandleData()
bool CbmDeviceUnpackTofMcbm2018::HandleData |
( |
FairMQMessagePtr & | msg, |
|
|
int | ) |
|
protected |
◆ HandleMessage()
bool CbmDeviceUnpackTofMcbm2018::HandleMessage |
( |
FairMQMessagePtr & | msg, |
|
|
int | ) |
|
protected |
◆ HandleParts()
bool CbmDeviceUnpackTofMcbm2018::HandleParts |
( |
FairMQParts & | parts, |
|
|
int | ) |
|
protected |
◆ InitContainers()
Bool_t CbmDeviceUnpackTofMcbm2018::InitContainers |
( |
| ) |
|
|
private |
Definition at line 271 of file CbmDeviceUnpackTofMcbm2018.cxx.
References CbmMcbm2018UnpackerAlgoTof::CreateHistograms(), fNumTint, fUnpackerAlgo, fUnpackPar, fuNrOfGdpbs, fuNrOfGet4PerGdpb, fvbChanThere, fvbFirstEpochSeen, fviRpcChUId, fvulCurrentEpoch, GetArrayIndex(), CbmMcbm2018UnpackerAlgoTof::InitContainers(), ReInitContainers(), and SetParContainers().
Referenced by InitTask().
◆ InitTask()
void CbmDeviceUnpackTofMcbm2018::InitTask |
( |
| ) |
|
|
protectedvirtual |
Definition at line 130 of file CbmDeviceUnpackTofMcbm2018.cxx.
References AddReqDigiAddr(), fChannelsToSend, fdToffTof, fEventHeader, fiAddrRef, fiPulMulMin, fiPulserMode, fiPulTotMax, fiPulTotMin, fiReqBeam, fiReqDigiAddr, fiReqMode, fiReqTint, fiSelectComponents, fviModuleId, fviNrOfRpc, fviRpcType, CbmTofAddress::GetUniqueAddress(), HandleMessage(), HandleParts(), InitContainers(), and IsChannelNameAllowed().
◆ IsChannelNameAllowed()
bool CbmDeviceUnpackTofMcbm2018::IsChannelNameAllowed |
( |
std::string | channelName | ) |
|
|
private |
◆ operator=()
◆ PrintMicroSliceDescriptor()
void CbmDeviceUnpackTofMcbm2018::PrintMicroSliceDescriptor |
( |
const fles::MicrosliceDescriptor & | mdsc | ) |
|
|
private |
◆ ReInitContainers()
Bool_t CbmDeviceUnpackTofMcbm2018::ReInitContainers |
( |
| ) |
|
|
private |
TODO: move these constants somewhere shared, e.g the parameter file
TODO: move these constants somewhere shared, e.g the parameter file
Definition at line 357 of file CbmDeviceUnpackTofMcbm2018.cxx.
References fuMinNbGdpb, fUnpackPar, fuNrOfChannelsPerFee, fuNrOfChannelsPerGet4, fuNrOfFeePerGdpb, fuNrOfGdpbs, fuNrOfGet4, fuNrOfGet4PerFee, fuNrOfGet4PerGdpb, fviModuleId, fviNrOfRpc, fviRpcChUId, fviRpcSide, fviRpcType, fvuElinkToGet4, fvuGet4ToElink, fvuGet4ToPadi, fvuPadiToGet4, CbmMcbm2018TofPar::GetModuleId(), CbmMcbm2018TofPar::GetNrOfChannelsPerFee(), CbmMcbm2018TofPar::GetNrOfChannelsPerGet4(), CbmMcbm2018TofPar::GetNrOfFeePerGbtx(), CbmMcbm2018TofPar::GetNrOfFeesPerGdpb(), CbmMcbm2018TofPar::GetNrOfGbtx(), CbmMcbm2018TofPar::GetNrOfGdpbs(), CbmMcbm2018TofPar::GetNrOfGet4PerFee(), CbmMcbm2018TofPar::GetNrOfRpc(), CbmMcbm2018TofPar::GetRpcSide(), CbmMcbm2018TofPar::GetRpcType(), CbmTofAddress::GetUniqueAddress(), and kuNbGet4PerGbtx.
Referenced by InitContainers().
◆ SendDigis()
bool CbmDeviceUnpackTofMcbm2018::SendDigis |
( |
std::vector< CbmTofDigi * > | vdigi, |
|
|
int | idx ) |
|
protectedvirtual |
◆ SetDiamondDpbIdx()
void CbmDeviceUnpackTofMcbm2018::SetDiamondDpbIdx |
( |
UInt_t | uIdx = 2 | ) |
|
|
private |
◆ SetIgnoreOverlapMs()
void CbmDeviceUnpackTofMcbm2018::SetIgnoreOverlapMs |
( |
Bool_t | bFlagIn = kTRUE | ) |
|
|
private |
◆ SetNbMsInTs()
void CbmDeviceUnpackTofMcbm2018::SetNbMsInTs |
( |
size_t | , |
|
|
size_t | ) |
|
inlineprivate |
◆ SetParContainers()
void CbmDeviceUnpackTofMcbm2018::SetParContainers |
( |
| ) |
|
|
private |
◆ SetTimeOffsetNs()
void CbmDeviceUnpackTofMcbm2018::SetTimeOffsetNs |
( |
Double_t | dOffsetIn = 0.0 | ) |
|
|
private |
◆ fAllowedChannels
std::vector<std::string> CbmDeviceUnpackTofMcbm2018::fAllowedChannels = {"tofcomponent", "parameters", "tofdigis", "syscmd"} |
|
private |
◆ fBuffer
◆ fChannelsToSend
std::vector<std::vector<std::string> > CbmDeviceUnpackTofMcbm2018::fChannelsToSend = {{}, {}, {}} |
|
private |
◆ fdFirstDigiTimeDif
Double_t CbmDeviceUnpackTofMcbm2018::fdFirstDigiTimeDif |
|
private |
◆ fdLastDigiTime
Double_t CbmDeviceUnpackTofMcbm2018::fdLastDigiTime |
|
private |
◆ fdMsSizeInNs
Double_t CbmDeviceUnpackTofMcbm2018::fdMsSizeInNs |
|
private |
◆ fdToffTof
Double_t CbmDeviceUnpackTofMcbm2018::fdToffTof |
|
private |
◆ fdTsCoreSizeInNs
Double_t CbmDeviceUnpackTofMcbm2018::fdTsCoreSizeInNs |
|
private |
◆ fEventHeader
std::vector<int> CbmDeviceUnpackTofMcbm2018::fEventHeader |
|
private |
◆ fGdpbIdIndexMap
std::map<UInt_t, UInt_t> CbmDeviceUnpackTofMcbm2018::fGdpbIdIndexMap |
|
private |
◆ fhChanCoinc
std::vector<TH2*> CbmDeviceUnpackTofMcbm2018::fhChanCoinc |
|
private |
◆ fhChCount
std::vector<TH1*> CbmDeviceUnpackTofMcbm2018::fhChCount |
|
private |
◆ fhDetChanCoinc
TH2* CbmDeviceUnpackTofMcbm2018::fhDetChanCoinc |
|
private |
◆ fhRawDigiLastDigi
TH1* CbmDeviceUnpackTofMcbm2018::fhRawDigiLastDigi |
|
private |
◆ fhRawTDigEvBmon
TH1* CbmDeviceUnpackTofMcbm2018::fhRawTDigEvBmon |
|
private |
◆ fhRawTDigRef
TH1* CbmDeviceUnpackTofMcbm2018::fhRawTDigRef |
|
private |
◆ fhRawTDigRef0
TH1* CbmDeviceUnpackTofMcbm2018::fhRawTDigRef0 |
|
private |
◆ fhRawTotCh
std::vector<TH2*> CbmDeviceUnpackTofMcbm2018::fhRawTotCh |
|
private |
◆ fhRawTRefDig0
TH1* CbmDeviceUnpackTofMcbm2018::fhRawTRefDig0 |
|
private |
◆ fhRawTRefDig1
TH1* CbmDeviceUnpackTofMcbm2018::fhRawTRefDig1 |
|
private |
◆ fiAddrRef
UInt_t CbmDeviceUnpackTofMcbm2018::fiAddrRef |
|
private |
◆ fiPulMulMin
uint64_t CbmDeviceUnpackTofMcbm2018::fiPulMulMin |
|
private |
◆ fiPulserMode
Int_t CbmDeviceUnpackTofMcbm2018::fiPulserMode |
|
private |
◆ fiPulTotMax
uint64_t CbmDeviceUnpackTofMcbm2018::fiPulTotMax |
|
private |
◆ fiPulTotMin
uint64_t CbmDeviceUnpackTofMcbm2018::fiPulTotMin |
|
private |
◆ fiReqBeam
uint64_t CbmDeviceUnpackTofMcbm2018::fiReqBeam |
|
private |
◆ fiReqDigiAddr
std::vector<Int_t> CbmDeviceUnpackTofMcbm2018::fiReqDigiAddr |
|
private |
◆ fiReqMode
uint64_t CbmDeviceUnpackTofMcbm2018::fiReqMode |
|
private |
◆ fiReqTint
uint64_t CbmDeviceUnpackTofMcbm2018::fiReqTint |
|
private |
◆ fiSelectComponents
uint64_t CbmDeviceUnpackTofMcbm2018::fiSelectComponents |
|
private |
◆ fMsgCounter
std::vector<int> CbmDeviceUnpackTofMcbm2018::fMsgCounter |
|
private |
◆ fNofEpochs
Int_t CbmDeviceUnpackTofMcbm2018::fNofEpochs |
|
private |
◆ fNumMessages
uint64_t CbmDeviceUnpackTofMcbm2018::fNumMessages |
|
private |
◆ fNumTint
uint64_t CbmDeviceUnpackTofMcbm2018::fNumTint |
|
private |
◆ fuCoreMs
size_t CbmDeviceUnpackTofMcbm2018::fuCoreMs |
|
private |
◆ fuGdpbId
UInt_t CbmDeviceUnpackTofMcbm2018::fuGdpbId |
|
private |
◆ fuGdpbNr
UInt_t CbmDeviceUnpackTofMcbm2018::fuGdpbNr |
|
private |
◆ fuGet4Id
UInt_t CbmDeviceUnpackTofMcbm2018::fuGet4Id |
|
private |
◆ fuGet4Nr
UInt_t CbmDeviceUnpackTofMcbm2018::fuGet4Nr |
|
private |
◆ fulCurrentEpochTime
ULong64_t CbmDeviceUnpackTofMcbm2018::fulCurrentEpochTime |
|
private |
◆ fuMinNbGdpb
UInt_t CbmDeviceUnpackTofMcbm2018::fuMinNbGdpb |
|
private |
◆ fUnpackerAlgo
Processing algo.
Definition at line 189 of file CbmDeviceUnpackTofMcbm2018.h.
Referenced by AddMsComponentToList(), CbmDeviceUnpackTofMcbm2018(), DoUnpack(), HandleMessage(), HandleParts(), InitContainers(), SetDiamondDpbIdx(), SetIgnoreOverlapMs(), SetParContainers(), SetTimeOffsetNs(), and ~CbmDeviceUnpackTofMcbm2018().
◆ fUnpackPar
◆ fuNrOfChannelsPerFee
UInt_t CbmDeviceUnpackTofMcbm2018::fuNrOfChannelsPerFee |
|
private |
◆ fuNrOfChannelsPerGdpb
UInt_t CbmDeviceUnpackTofMcbm2018::fuNrOfChannelsPerGdpb |
|
private |
◆ fuNrOfChannelsPerGet4
UInt_t CbmDeviceUnpackTofMcbm2018::fuNrOfChannelsPerGet4 |
|
private |
◆ fuNrOfFeePerGdpb
UInt_t CbmDeviceUnpackTofMcbm2018::fuNrOfFeePerGdpb |
|
private |
◆ fuNrOfGdpbs
UInt_t CbmDeviceUnpackTofMcbm2018::fuNrOfGdpbs |
|
private |
◆ fuNrOfGet4
UInt_t CbmDeviceUnpackTofMcbm2018::fuNrOfGet4 |
|
private |
◆ fuNrOfGet4PerFee
UInt_t CbmDeviceUnpackTofMcbm2018::fuNrOfGet4PerFee |
|
private |
◆ fuNrOfGet4PerGdpb
UInt_t CbmDeviceUnpackTofMcbm2018::fuNrOfGet4PerGdpb |
|
private |
◆ fuOverlapMsNb
size_t CbmDeviceUnpackTofMcbm2018::fuOverlapMsNb |
|
private |
◆ fuTotalMsNb
size_t CbmDeviceUnpackTofMcbm2018::fuTotalMsNb |
|
private |
◆ fvbChanThere
std::vector<Bool_t> CbmDeviceUnpackTofMcbm2018::fvbChanThere |
|
private |
◆ fvbFirstEpochSeen
std::vector<Bool_t> CbmDeviceUnpackTofMcbm2018::fvbFirstEpochSeen |
|
private |
◆ fviModuleId
std::vector<Int_t> CbmDeviceUnpackTofMcbm2018::fviModuleId |
|
private |
◆ fviNrOfRpc
std::vector<Int_t> CbmDeviceUnpackTofMcbm2018::fviNrOfRpc |
|
private |
◆ fviRpcChUId
std::vector<Int_t> CbmDeviceUnpackTofMcbm2018::fviRpcChUId |
|
private |
◆ fviRpcSide
std::vector<Int_t> CbmDeviceUnpackTofMcbm2018::fviRpcSide |
|
private |
◆ fviRpcType
std::vector<Int_t> CbmDeviceUnpackTofMcbm2018::fviRpcType |
|
private |
◆ fvuElinkToGet4
std::vector<UInt_t> CbmDeviceUnpackTofMcbm2018::fvuElinkToGet4 |
|
private |
◆ fvuGet4ToElink
std::vector<UInt_t> CbmDeviceUnpackTofMcbm2018::fvuGet4ToElink |
|
private |
◆ fvuGet4ToPadi
std::vector<UInt_t> CbmDeviceUnpackTofMcbm2018::fvuGet4ToPadi |
|
private |
◆ fvulCurrentEpoch
std::vector<ULong64_t> CbmDeviceUnpackTofMcbm2018::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 CbmDeviceUnpackTofMcbm2018.h.
Referenced by InitContainers().
◆ fvuPadiToGet4
std::vector<UInt_t> CbmDeviceUnpackTofMcbm2018::fvuPadiToGet4 |
|
private |
◆ kuNbFeePerGbtx
const UInt_t CbmDeviceUnpackTofMcbm2018::kuNbFeePerGbtx = 5 |
|
private |
◆ kuNbGbtxPerGdpb
const UInt_t CbmDeviceUnpackTofMcbm2018::kuNbGbtxPerGdpb = 6 |
|
private |
◆ kuNbGet4PerGbtx
const UInt_t CbmDeviceUnpackTofMcbm2018::kuNbGet4PerGbtx = 5 * 8 |
|
staticprivate |
The documentation for this class was generated from the following files: