CbmRoot
CbmMcbm2018PsdPar Class Reference

#include <CbmMcbm2018PsdPar.h>

Inheritance diagram for CbmMcbm2018PsdPar:
[legend]
Collaboration diagram for CbmMcbm2018PsdPar:
[legend]

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
 

Detailed Description

Definition at line 19 of file CbmMcbm2018PsdPar.h.

Constructor & Destructor Documentation

◆ CbmMcbm2018PsdPar()

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.

◆ ~CbmMcbm2018PsdPar()

CbmMcbm2018PsdPar::~CbmMcbm2018PsdPar ( )
virtual

Destructor

Definition at line 40 of file CbmMcbm2018PsdPar.cxx.

Member Function Documentation

◆ ClassDef()

CbmMcbm2018PsdPar::ClassDef ( CbmMcbm2018PsdPar  ,
 
)
private

◆ clear()

void CbmMcbm2018PsdPar::clear ( )
virtual

Reset all parameters

Definition at line 45 of file CbmMcbm2018PsdPar.cxx.

◆ FeeChanToGbtChan()

Int_t CbmMcbm2018PsdPar::FeeChanToGbtChan ( UInt_t  uChannelInFee)

Definition at line 99 of file CbmMcbm2018PsdPar.cxx.

References kuFeeToGbt, and kuNbChannelsPerFee.

◆ GetDebugMonitorMode()

Bool_t CbmMcbm2018PsdPar::GetDebugMonitorMode ( )
inline

Definition at line 57 of file CbmMcbm2018PsdPar.h.

References fiDebugMonitorMode.

◆ GetGdpbId()

Int_t CbmMcbm2018PsdPar::GetGdpbId ( Int_t  i)
inline

◆ GetModuleId()

Int_t CbmMcbm2018PsdPar::GetModuleId ( UInt_t  uGbtx)

◆ GetMonitorMode()

Bool_t CbmMcbm2018PsdPar::GetMonitorMode ( )
inline

Definition at line 54 of file CbmMcbm2018PsdPar.h.

References fiMonitorMode.

◆ GetNbByteMessage()

static constexpr UInt_t CbmMcbm2018PsdPar::GetNbByteMessage ( )
inlinestaticconstexpr

Definition at line 36 of file CbmMcbm2018PsdPar.h.

References kuBytesPerMessage.

◆ GetNbMsOverlap()

Int_t CbmMcbm2018PsdPar::GetNbMsOverlap ( )
inline

Definition at line 71 of file CbmMcbm2018PsdPar.h.

References fiNbMsOverlap.

◆ GetNbMsTot()

Int_t CbmMcbm2018PsdPar::GetNbMsTot ( )
inline

Definition at line 70 of file CbmMcbm2018PsdPar.h.

References fiNbMsTot.

◆ GetNrOfChannelsPerFee()

Int_t CbmMcbm2018PsdPar::GetNrOfChannelsPerFee ( )
inline

◆ GetNrOfChannelsPerGbtx()

static constexpr UInt_t CbmMcbm2018PsdPar::GetNrOfChannelsPerGbtx ( )
inlinestaticconstexpr

Definition at line 41 of file CbmMcbm2018PsdPar.h.

References kuNbChannelsPerGbtx.

◆ GetNrOfChannelsPerGdpb()

static constexpr UInt_t CbmMcbm2018PsdPar::GetNrOfChannelsPerGdpb ( )
inlinestaticconstexpr

Definition at line 44 of file CbmMcbm2018PsdPar.h.

References kuNbChannelsPerGdpb.

◆ GetNrOfFeePerGbtx()

static constexpr UInt_t CbmMcbm2018PsdPar::GetNrOfFeePerGbtx ( )
inlinestaticconstexpr

Definition at line 39 of file CbmMcbm2018PsdPar.h.

References kuNbFeePerGbtx.

◆ GetNrOfFeePerGdpb()

static constexpr UInt_t CbmMcbm2018PsdPar::GetNrOfFeePerGdpb ( )
inlinestaticconstexpr

Definition at line 47 of file CbmMcbm2018PsdPar.h.

References kuNbFeePerGdpb.

◆ GetNrOfFeesPerGdpb()

Int_t CbmMcbm2018PsdPar::GetNrOfFeesPerGdpb ( )
inline

◆ GetNrOfGbtx()

Int_t CbmMcbm2018PsdPar::GetNrOfGbtx ( )
inline

Definition at line 66 of file CbmMcbm2018PsdPar.h.

References fiNrOfGbtx.

Referenced by CbmMcbm2018UnpackerAlgoPsd::InitParameters().

◆ GetNrOfGbtxPerGdpb()

static constexpr UInt_t CbmMcbm2018PsdPar::GetNrOfGbtxPerGdpb ( )
inlinestaticconstexpr

Definition at line 40 of file CbmMcbm2018PsdPar.h.

References kuNbGbtxPerGdpb.

◆ GetNrOfGdpbs()

Int_t CbmMcbm2018PsdPar::GetNrOfGdpbs ( )
inline

◆ GetNrOfModules()

Int_t CbmMcbm2018PsdPar::GetNrOfModules ( )
inline

Definition at line 67 of file CbmMcbm2018PsdPar.h.

References fiNrOfModules.

◆ GetNumberOfChannels()

UInt_t CbmMcbm2018PsdPar::GetNumberOfChannels ( )
inline

Definition at line 48 of file CbmMcbm2018PsdPar.h.

References fiNrOfGdpb, and kuNbChannelsPerGdpb.

◆ getParams()

Bool_t CbmMcbm2018PsdPar::getParams ( FairParamList *  l)

◆ GetSizeMsInNs()

Double_t CbmMcbm2018PsdPar::GetSizeMsInNs ( )
inline

Definition at line 72 of file CbmMcbm2018PsdPar.h.

References fdSizeMsInNs.

◆ GetTsDeadtimePeriod()

Double_t CbmMcbm2018PsdPar::GetTsDeadtimePeriod ( )

◆ putParams()

void CbmMcbm2018PsdPar::putParams ( FairParamList *  l)

Member Data Documentation

◆ fdSizeMsInNs

Double_t CbmMcbm2018PsdPar::fdSizeMsInNs
private

Definition at line 112 of file CbmMcbm2018PsdPar.h.

Referenced by getParams(), GetSizeMsInNs(), and putParams().

◆ fdTsDeadtimePeriod

Double_t CbmMcbm2018PsdPar::fdTsDeadtimePeriod
private

Definition at line 115 of file CbmMcbm2018PsdPar.h.

Referenced by getParams(), and putParams().

◆ fiDebugMonitorMode

Int_t CbmMcbm2018PsdPar::fiDebugMonitorMode
private

Definition at line 97 of file CbmMcbm2018PsdPar.h.

Referenced by GetDebugMonitorMode().

◆ fiGdpbIdArray

TArrayI CbmMcbm2018PsdPar::fiGdpbIdArray
private

Definition at line 99 of file CbmMcbm2018PsdPar.h.

Referenced by GetGdpbId(), getParams(), and putParams().

◆ fiModuleId

TArrayI CbmMcbm2018PsdPar::fiModuleId
private

Definition at line 107 of file CbmMcbm2018PsdPar.h.

Referenced by getParams(), and putParams().

◆ fiMonitorMode

Int_t CbmMcbm2018PsdPar::fiMonitorMode
private

Map from Psd channel to Gbt channel.

Definition at line 95 of file CbmMcbm2018PsdPar.h.

Referenced by GetMonitorMode().

◆ fiNbMsOverlap

Int_t CbmMcbm2018PsdPar::fiNbMsOverlap
private

Definition at line 110 of file CbmMcbm2018PsdPar.h.

Referenced by GetNbMsOverlap(), getParams(), and putParams().

◆ fiNbMsTot

Int_t CbmMcbm2018PsdPar::fiNbMsTot
private

Definition at line 109 of file CbmMcbm2018PsdPar.h.

Referenced by GetNbMsTot(), getParams(), and putParams().

◆ fiNrOfChannelsPerFee

Int_t CbmMcbm2018PsdPar::fiNrOfChannelsPerFee
private

Definition at line 102 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfChannelsPerFee(), getParams(), and putParams().

◆ fiNrOfFeesPerGdpb

Int_t CbmMcbm2018PsdPar::fiNrOfFeesPerGdpb
private

Definition at line 101 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfFeesPerGdpb(), getParams(), and putParams().

◆ fiNrOfGbtx

Int_t CbmMcbm2018PsdPar::fiNrOfGbtx
private

Definition at line 104 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfGbtx(), getParams(), and putParams().

◆ fiNrOfGdpb

Int_t CbmMcbm2018PsdPar::fiNrOfGdpb
private

Definition at line 98 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfGdpbs(), GetNumberOfChannels(), getParams(), and putParams().

◆ fiNrOfModules

Int_t CbmMcbm2018PsdPar::fiNrOfModules
private

Definition at line 105 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfModules(), getParams(), and putParams().

◆ kuBytesPerMessage

const uint32_t CbmMcbm2018PsdPar::kuBytesPerMessage = 8
staticprivate

Constants Data format

Definition at line 80 of file CbmMcbm2018PsdPar.h.

Referenced by GetNbByteMessage().

◆ kuFeeToGbt

const UInt_t CbmMcbm2018PsdPar::kuFeeToGbt[kuNbChannelsPerFee]
private
Initial value:
=
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}

Mapping.

Definition at line 91 of file CbmMcbm2018PsdPar.h.

Referenced by FeeChanToGbtChan().

◆ kuNbChannelsPerFee

const uint32_t CbmMcbm2018PsdPar::kuNbChannelsPerFee = 10
staticprivate

Readout chain.

Definition at line 82 of file CbmMcbm2018PsdPar.h.

Referenced by FeeChanToGbtChan().

◆ kuNbChannelsPerGbtx

const uint32_t CbmMcbm2018PsdPar::kuNbChannelsPerGbtx
staticprivate
Initial value:

Definition at line 85 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfChannelsPerGbtx().

◆ kuNbChannelsPerGdpb

const uint32_t CbmMcbm2018PsdPar::kuNbChannelsPerGdpb
staticprivate
Initial value:

Definition at line 87 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfChannelsPerGdpb(), and GetNumberOfChannels().

◆ kuNbFeePerGbtx

const uint32_t CbmMcbm2018PsdPar::kuNbFeePerGbtx = 1
staticprivate

Definition at line 83 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfFeePerGbtx().

◆ kuNbFeePerGdpb

const uint32_t CbmMcbm2018PsdPar::kuNbFeePerGdpb = kuNbFeePerGbtx * kuNbGbtxPerGdpb
staticprivate

Definition at line 89 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfFeePerGdpb().

◆ kuNbGbtxPerGdpb

const uint32_t CbmMcbm2018PsdPar::kuNbGbtxPerGdpb = 1
staticprivate

Definition at line 84 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfGbtxPerGdpb().


The documentation for this class was generated from the following files:
CbmMcbm2018PsdPar::kuNbFeePerGbtx
static const uint32_t kuNbFeePerGbtx
Definition: CbmMcbm2018PsdPar.h:83
CbmMcbm2018PsdPar::kuNbChannelsPerFee
static const uint32_t kuNbChannelsPerFee
Readout chain.
Definition: CbmMcbm2018PsdPar.h:82
CbmMcbm2018PsdPar::kuNbGbtxPerGdpb
static const uint32_t kuNbGbtxPerGdpb
Definition: CbmMcbm2018PsdPar.h:84
CbmMcbm2018PsdPar::kuNbChannelsPerGbtx
static const uint32_t kuNbChannelsPerGbtx
Definition: CbmMcbm2018PsdPar.h:85