CbmRoot
|
#include <CbmMcbm2018PsdPar.h>
Public Member Functions | |
CbmMcbm2018PsdPar (const char *name="CbmMcbm2018PsdPar", const char *title="Psd unpacker parameters", const char *context="Default") | |
virtual | ~CbmMcbm2018PsdPar () |
virtual void | clear () |
void | putParams (FairParamList *) |
Bool_t | getParams (FairParamList *) |
UInt_t | GetNumberOfChannels () |
Int_t | FeeChanToGbtChan (UInt_t uChannelInFee) |
Bool_t | GetMonitorMode () |
Bool_t | GetDebugMonitorMode () |
Int_t | GetNrOfGdpbs () |
Int_t | GetGdpbId (Int_t i) |
Int_t | GetNrOfFeesPerGdpb () |
Int_t | GetNrOfChannelsPerFee () |
Int_t | GetNrOfGbtx () |
Int_t | GetNrOfModules () |
Int_t | GetModuleId (UInt_t uGbtx) |
Int_t | GetNbMsTot () |
Int_t | GetNbMsOverlap () |
Double_t | GetSizeMsInNs () |
Double_t | GetTsDeadtimePeriod () |
Static Public Member Functions | |
static constexpr UInt_t | GetNbByteMessage () |
static constexpr UInt_t | GetNrOfFeePerGbtx () |
static constexpr UInt_t | GetNrOfGbtxPerGdpb () |
static constexpr UInt_t | GetNrOfChannelsPerGbtx () |
static constexpr UInt_t | GetNrOfChannelsPerGdpb () |
static constexpr UInt_t | GetNrOfFeePerGdpb () |
Private Member Functions | |
ClassDef (CbmMcbm2018PsdPar, 1) | |
Private Attributes | |
const UInt_t | kuFeeToGbt [kuNbChannelsPerFee] |
Mapping. More... | |
Int_t | fiMonitorMode |
Map from Psd channel to Gbt channel. More... | |
Int_t | fiDebugMonitorMode |
Int_t | fiNrOfGdpb |
TArrayI | fiGdpbIdArray |
Int_t | fiNrOfFeesPerGdpb |
Int_t | fiNrOfChannelsPerFee |
Int_t | fiNrOfGbtx |
Int_t | fiNrOfModules |
TArrayI | fiModuleId |
Int_t | fiNbMsTot |
Int_t | fiNbMsOverlap |
Double_t | fdSizeMsInNs |
Double_t | fdTsDeadtimePeriod |
Static Private Attributes | |
static const uint32_t | kuBytesPerMessage = 8 |
static const uint32_t | kuNbChannelsPerFee = 10 |
Readout chain. More... | |
static const uint32_t | kuNbFeePerGbtx = 1 |
static const uint32_t | kuNbGbtxPerGdpb = 1 |
static const uint32_t | kuNbChannelsPerGbtx |
static const uint32_t | kuNbChannelsPerGdpb |
static const uint32_t | kuNbFeePerGdpb = kuNbFeePerGbtx * kuNbGbtxPerGdpb |
Definition at line 19 of file CbmMcbm2018PsdPar.h.
CbmMcbm2018PsdPar::CbmMcbm2018PsdPar | ( | const char * | name = "CbmMcbm2018PsdPar" , |
const char * | title = "Psd unpacker parameters" , |
||
const char * | context = "Default" |
||
) |
Standard constructor
Definition at line 17 of file CbmMcbm2018PsdPar.cxx.
|
virtual |
Destructor
Definition at line 40 of file CbmMcbm2018PsdPar.cxx.
|
private |
|
virtual |
Reset all parameters
Definition at line 45 of file CbmMcbm2018PsdPar.cxx.
Int_t CbmMcbm2018PsdPar::FeeChanToGbtChan | ( | UInt_t | uChannelInFee | ) |
Definition at line 99 of file CbmMcbm2018PsdPar.cxx.
References kuFeeToGbt, and kuNbChannelsPerFee.
|
inline |
Definition at line 57 of file CbmMcbm2018PsdPar.h.
References fiDebugMonitorMode.
|
inline |
Definition at line 62 of file CbmMcbm2018PsdPar.h.
References fiGdpbIdArray, and i.
Referenced by CbmMcbm2018UnpackerAlgoPsd::InitParameters(), and CbmMcbm2018MonitorAlgoPsd::InitParameters().
Int_t CbmMcbm2018PsdPar::GetModuleId | ( | UInt_t | uGbtx | ) |
|
inline |
Definition at line 54 of file CbmMcbm2018PsdPar.h.
References fiMonitorMode.
|
inlinestaticconstexpr |
Definition at line 36 of file CbmMcbm2018PsdPar.h.
References kuBytesPerMessage.
|
inline |
Definition at line 71 of file CbmMcbm2018PsdPar.h.
References fiNbMsOverlap.
|
inline |
Definition at line 70 of file CbmMcbm2018PsdPar.h.
References fiNbMsTot.
|
inline |
Definition at line 64 of file CbmMcbm2018PsdPar.h.
References fiNrOfChannelsPerFee.
Referenced by CbmMcbm2018UnpackerAlgoPsd::InitParameters(), and CbmMcbm2018MonitorAlgoPsd::InitParameters().
|
inlinestaticconstexpr |
Definition at line 41 of file CbmMcbm2018PsdPar.h.
References kuNbChannelsPerGbtx.
|
inlinestaticconstexpr |
Definition at line 44 of file CbmMcbm2018PsdPar.h.
References kuNbChannelsPerGdpb.
|
inlinestaticconstexpr |
Definition at line 39 of file CbmMcbm2018PsdPar.h.
References kuNbFeePerGbtx.
|
inlinestaticconstexpr |
Definition at line 47 of file CbmMcbm2018PsdPar.h.
References kuNbFeePerGdpb.
|
inline |
Definition at line 63 of file CbmMcbm2018PsdPar.h.
References fiNrOfFeesPerGdpb.
Referenced by CbmMcbm2018UnpackerAlgoPsd::InitParameters(), and CbmMcbm2018MonitorAlgoPsd::InitParameters().
|
inline |
Definition at line 66 of file CbmMcbm2018PsdPar.h.
References fiNrOfGbtx.
Referenced by CbmMcbm2018UnpackerAlgoPsd::InitParameters().
|
inlinestaticconstexpr |
Definition at line 40 of file CbmMcbm2018PsdPar.h.
References kuNbGbtxPerGdpb.
|
inline |
Definition at line 61 of file CbmMcbm2018PsdPar.h.
References fiNrOfGdpb.
Referenced by CbmMcbm2018UnpackerAlgoPsd::InitParameters(), and CbmMcbm2018MonitorAlgoPsd::InitParameters().
|
inline |
Definition at line 67 of file CbmMcbm2018PsdPar.h.
References fiNrOfModules.
|
inline |
Definition at line 48 of file CbmMcbm2018PsdPar.h.
References fiNrOfGdpb, and kuNbChannelsPerGdpb.
Bool_t CbmMcbm2018PsdPar::getParams | ( | FairParamList * | l | ) |
Definition at line 70 of file CbmMcbm2018PsdPar.cxx.
References fdSizeMsInNs, fdTsDeadtimePeriod, fiGdpbIdArray, fiModuleId, fiNbMsOverlap, fiNbMsTot, fiNrOfChannelsPerFee, fiNrOfFeesPerGdpb, fiNrOfGbtx, fiNrOfGdpb, and fiNrOfModules.
|
inline |
Definition at line 72 of file CbmMcbm2018PsdPar.h.
References fdSizeMsInNs.
Double_t CbmMcbm2018PsdPar::GetTsDeadtimePeriod | ( | ) |
void CbmMcbm2018PsdPar::putParams | ( | FairParamList * | l | ) |
Definition at line 53 of file CbmMcbm2018PsdPar.cxx.
References fdSizeMsInNs, fdTsDeadtimePeriod, fiGdpbIdArray, fiModuleId, fiNbMsOverlap, fiNbMsTot, fiNrOfChannelsPerFee, fiNrOfFeesPerGdpb, fiNrOfGbtx, fiNrOfGdpb, and fiNrOfModules.
|
private |
Definition at line 112 of file CbmMcbm2018PsdPar.h.
Referenced by getParams(), GetSizeMsInNs(), and putParams().
|
private |
Definition at line 115 of file CbmMcbm2018PsdPar.h.
Referenced by getParams(), and putParams().
|
private |
Definition at line 97 of file CbmMcbm2018PsdPar.h.
Referenced by GetDebugMonitorMode().
|
private |
Definition at line 99 of file CbmMcbm2018PsdPar.h.
Referenced by GetGdpbId(), getParams(), and putParams().
|
private |
Definition at line 107 of file CbmMcbm2018PsdPar.h.
Referenced by getParams(), and putParams().
|
private |
Map from Psd channel to Gbt channel.
Definition at line 95 of file CbmMcbm2018PsdPar.h.
Referenced by GetMonitorMode().
|
private |
Definition at line 110 of file CbmMcbm2018PsdPar.h.
Referenced by GetNbMsOverlap(), getParams(), and putParams().
|
private |
Definition at line 109 of file CbmMcbm2018PsdPar.h.
Referenced by GetNbMsTot(), getParams(), and putParams().
|
private |
Definition at line 102 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfChannelsPerFee(), getParams(), and putParams().
|
private |
Definition at line 101 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfFeesPerGdpb(), getParams(), and putParams().
|
private |
Definition at line 104 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfGbtx(), getParams(), and putParams().
|
private |
Definition at line 98 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfGdpbs(), GetNumberOfChannels(), getParams(), and putParams().
|
private |
Definition at line 105 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfModules(), getParams(), and putParams().
|
staticprivate |
Constants Data format
Definition at line 80 of file CbmMcbm2018PsdPar.h.
Referenced by GetNbByteMessage().
|
private |
Mapping.
Definition at line 91 of file CbmMcbm2018PsdPar.h.
Referenced by FeeChanToGbtChan().
|
staticprivate |
|
staticprivate |
Definition at line 85 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfChannelsPerGbtx().
|
staticprivate |
Definition at line 87 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfChannelsPerGdpb(), and GetNumberOfChannels().
|
staticprivate |
Definition at line 83 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfFeePerGbtx().
|
staticprivate |
Definition at line 89 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfFeePerGdpb().
|
staticprivate |
Definition at line 84 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfGbtxPerGdpb().