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) |
Int_t | GetDataVersion () |
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 | GetNrOfSections () |
Double_t | GetMipCalibration (UInt_t i) |
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] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} |
Mapping. | |
Int_t | fiDataVersion |
Map from Psd channel to Gbt channel. | |
Int_t | fiNrOfGdpb |
TArrayI | fiGdpbIdArray |
Int_t | fiNrOfFeesPerGdpb |
Int_t | fiNrOfChannelsPerFee |
Int_t | fiNrOfGbtx |
Int_t | fiNrOfModules |
TArrayI | fiModuleId |
Int_t | fiNrOfSections |
TArrayD | fdMipCalibration |
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. | |
static const uint32_t | kuNbFeePerGbtx = 1 |
static const uint32_t | kuNbGbtxPerGdpb = 1 |
static const uint32_t | kuNbChannelsPerGbtx = kuNbChannelsPerFee * kuNbFeePerGbtx |
static const uint32_t | kuNbChannelsPerGdpb = kuNbChannelsPerGbtx * kuNbGbtxPerGdpb |
static const uint32_t | kuNbFeePerGdpb = kuNbFeePerGbtx * kuNbGbtxPerGdpb |
Definition at line 23 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 21 of file CbmMcbm2018PsdPar.cxx.
|
virtual |
Destructor
Definition at line 44 of file CbmMcbm2018PsdPar.cxx.
|
private |
|
virtual |
Reset all parameters
Definition at line 49 of file CbmMcbm2018PsdPar.cxx.
Int_t CbmMcbm2018PsdPar::FeeChanToGbtChan | ( | UInt_t | uChannelInFee | ) |
Definition at line 116 of file CbmMcbm2018PsdPar.cxx.
References kuFeeToGbt, and kuNbChannelsPerFee.
|
inline |
Definition at line 51 of file CbmMcbm2018PsdPar.h.
References fiDataVersion.
Referenced by CbmMcbm2018MonitorAlgoPsd::InitParameters(), CbmMcbm2018UnpackerAlgoPsd::InitParameters(), and CbmPsdUnpackAlgo::initParSet().
|
inline |
Definition at line 53 of file CbmMcbm2018PsdPar.h.
References fiGdpbIdArray.
Referenced by CbmMcbm2018MonitorAlgoPsd::InitParameters(), CbmMcbm2018UnpackerAlgoPsd::InitParameters(), and CbmPsdUnpackAlgo::initParSet().
|
inline |
Definition at line 62 of file CbmMcbm2018PsdPar.h.
References fdMipCalibration.
Referenced by CbmPsdUnpackAlgo::initParSet(), and CbmMcbm2018UnpackerAlgoPsd::ProcessMs().
Int_t CbmMcbm2018PsdPar::GetModuleId | ( | UInt_t | uGbtx | ) |
|
inlinestaticconstexpr |
Definition at line 39 of file CbmMcbm2018PsdPar.h.
References kuBytesPerMessage.
|
inline |
Definition at line 65 of file CbmMcbm2018PsdPar.h.
References fiNbMsOverlap.
|
inline |
Definition at line 64 of file CbmMcbm2018PsdPar.h.
References fiNbMsTot.
|
inline |
Definition at line 55 of file CbmMcbm2018PsdPar.h.
References fiNrOfChannelsPerFee.
Referenced by CbmMcbm2018MonitorAlgoPsd::InitParameters(), CbmMcbm2018UnpackerAlgoPsd::InitParameters(), and CbmPsdUnpackAlgo::initParSet().
|
inlinestaticconstexpr |
Definition at line 44 of file CbmMcbm2018PsdPar.h.
References kuNbChannelsPerGbtx.
|
inlinestaticconstexpr |
Definition at line 45 of file CbmMcbm2018PsdPar.h.
References kuNbChannelsPerGdpb.
|
inlinestaticconstexpr |
Definition at line 42 of file CbmMcbm2018PsdPar.h.
References kuNbFeePerGbtx.
|
inlinestaticconstexpr |
Definition at line 46 of file CbmMcbm2018PsdPar.h.
References kuNbFeePerGdpb.
|
inline |
Definition at line 54 of file CbmMcbm2018PsdPar.h.
References fiNrOfFeesPerGdpb.
Referenced by CbmMcbm2018MonitorAlgoPsd::InitParameters(), CbmMcbm2018UnpackerAlgoPsd::InitParameters(), and CbmPsdUnpackAlgo::initParSet().
|
inline |
Definition at line 57 of file CbmMcbm2018PsdPar.h.
References fiNrOfGbtx.
Referenced by CbmMcbm2018UnpackerAlgoPsd::InitParameters(), and CbmPsdUnpackAlgo::initParSet().
|
inlinestaticconstexpr |
Definition at line 43 of file CbmMcbm2018PsdPar.h.
References kuNbGbtxPerGdpb.
|
inline |
Definition at line 52 of file CbmMcbm2018PsdPar.h.
References fiNrOfGdpb.
Referenced by CbmMcbm2018MonitorAlgoPsd::InitParameters(), CbmMcbm2018UnpackerAlgoPsd::InitParameters(), and CbmPsdUnpackAlgo::initParSet().
|
inline |
Definition at line 58 of file CbmMcbm2018PsdPar.h.
References fiNrOfModules.
Referenced by CbmPsdUnpackAlgo::initParSet().
|
inline |
Definition at line 61 of file CbmMcbm2018PsdPar.h.
References fiNrOfSections.
Referenced by CbmPsdUnpackAlgo::initParSet().
|
inline |
Definition at line 47 of file CbmMcbm2018PsdPar.h.
References fiNrOfGdpb, and kuNbChannelsPerGdpb.
Bool_t CbmMcbm2018PsdPar::getParams | ( | FairParamList * | l | ) |
Definition at line 79 of file CbmMcbm2018PsdPar.cxx.
References fdMipCalibration, fdSizeMsInNs, fdTsDeadtimePeriod, fiDataVersion, fiGdpbIdArray, fiModuleId, fiNbMsOverlap, fiNbMsTot, fiNrOfChannelsPerFee, fiNrOfFeesPerGdpb, fiNrOfGbtx, fiNrOfGdpb, fiNrOfModules, and fiNrOfSections.
|
inline |
Definition at line 66 of file CbmMcbm2018PsdPar.h.
References fdSizeMsInNs.
Double_t CbmMcbm2018PsdPar::GetTsDeadtimePeriod | ( | ) |
void CbmMcbm2018PsdPar::putParams | ( | FairParamList * | l | ) |
Definition at line 58 of file CbmMcbm2018PsdPar.cxx.
References fdMipCalibration, fdSizeMsInNs, fdTsDeadtimePeriod, fiDataVersion, fiGdpbIdArray, fiModuleId, fiNbMsOverlap, fiNbMsTot, fiNrOfChannelsPerFee, fiNrOfFeesPerGdpb, fiNrOfGbtx, fiNrOfGdpb, fiNrOfModules, and fiNrOfSections.
|
private |
Definition at line 97 of file CbmMcbm2018PsdPar.h.
Referenced by GetMipCalibration(), getParams(), and putParams().
|
private |
Definition at line 101 of file CbmMcbm2018PsdPar.h.
Referenced by getParams(), GetSizeMsInNs(), and putParams().
|
private |
Definition at line 104 of file CbmMcbm2018PsdPar.h.
Referenced by getParams(), and putParams().
|
private |
Map from Psd channel to Gbt channel.
Definition at line 85 of file CbmMcbm2018PsdPar.h.
Referenced by GetDataVersion(), getParams(), and putParams().
|
private |
Definition at line 87 of file CbmMcbm2018PsdPar.h.
Referenced by GetGdpbId(), getParams(), and putParams().
|
private |
Definition at line 94 of file CbmMcbm2018PsdPar.h.
Referenced by getParams(), and putParams().
|
private |
Definition at line 100 of file CbmMcbm2018PsdPar.h.
Referenced by GetNbMsOverlap(), getParams(), and putParams().
|
private |
Definition at line 99 of file CbmMcbm2018PsdPar.h.
Referenced by GetNbMsTot(), getParams(), and putParams().
|
private |
Definition at line 90 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfChannelsPerFee(), getParams(), and putParams().
|
private |
Definition at line 89 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfFeesPerGdpb(), getParams(), and putParams().
|
private |
Definition at line 92 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfGbtx(), getParams(), and putParams().
|
private |
Definition at line 86 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfGdpbs(), GetNumberOfChannels(), getParams(), and putParams().
|
private |
Definition at line 93 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfModules(), getParams(), and putParams().
|
private |
Definition at line 96 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfSections(), getParams(), and putParams().
|
staticprivate |
Constants Data format
Definition at line 74 of file CbmMcbm2018PsdPar.h.
Referenced by GetNbByteMessage().
|
private |
|
staticprivate |
|
staticprivate |
Definition at line 79 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfChannelsPerGbtx().
|
staticprivate |
Definition at line 80 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfChannelsPerGdpb(), and GetNumberOfChannels().
|
staticprivate |
Definition at line 77 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfFeePerGbtx().
|
staticprivate |
Definition at line 81 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfFeePerGdpb().
|
staticprivate |
Definition at line 78 of file CbmMcbm2018PsdPar.h.
Referenced by GetNrOfGbtxPerGdpb().