CbmRoot
Loading...
Searching...
No Matches
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)
 
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
 

Detailed Description

Definition at line 23 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 21 of file CbmMcbm2018PsdPar.cxx.

◆ ~CbmMcbm2018PsdPar()

CbmMcbm2018PsdPar::~CbmMcbm2018PsdPar ( )
virtual

Destructor

Definition at line 44 of file CbmMcbm2018PsdPar.cxx.

Member Function Documentation

◆ ClassDef()

CbmMcbm2018PsdPar::ClassDef ( CbmMcbm2018PsdPar ,
1  )
private

◆ clear()

void CbmMcbm2018PsdPar::clear ( )
virtual

Reset all parameters

Definition at line 49 of file CbmMcbm2018PsdPar.cxx.

◆ FeeChanToGbtChan()

Int_t CbmMcbm2018PsdPar::FeeChanToGbtChan ( UInt_t uChannelInFee)

Definition at line 116 of file CbmMcbm2018PsdPar.cxx.

References kuFeeToGbt, and kuNbChannelsPerFee.

◆ GetDataVersion()

Int_t CbmMcbm2018PsdPar::GetDataVersion ( )
inline

◆ GetGdpbId()

Int_t CbmMcbm2018PsdPar::GetGdpbId ( Int_t i)
inline

◆ GetMipCalibration()

Double_t CbmMcbm2018PsdPar::GetMipCalibration ( UInt_t i)
inline

◆ GetModuleId()

Int_t CbmMcbm2018PsdPar::GetModuleId ( UInt_t uGbtx)

◆ GetNbByteMessage()

static constexpr UInt_t CbmMcbm2018PsdPar::GetNbByteMessage ( )
inlinestaticconstexpr

Definition at line 39 of file CbmMcbm2018PsdPar.h.

References kuBytesPerMessage.

◆ GetNbMsOverlap()

Int_t CbmMcbm2018PsdPar::GetNbMsOverlap ( )
inline

Definition at line 65 of file CbmMcbm2018PsdPar.h.

References fiNbMsOverlap.

◆ GetNbMsTot()

Int_t CbmMcbm2018PsdPar::GetNbMsTot ( )
inline

Definition at line 64 of file CbmMcbm2018PsdPar.h.

References fiNbMsTot.

◆ GetNrOfChannelsPerFee()

Int_t CbmMcbm2018PsdPar::GetNrOfChannelsPerFee ( )
inline

◆ GetNrOfChannelsPerGbtx()

static constexpr UInt_t CbmMcbm2018PsdPar::GetNrOfChannelsPerGbtx ( )
inlinestaticconstexpr

Definition at line 44 of file CbmMcbm2018PsdPar.h.

References kuNbChannelsPerGbtx.

◆ GetNrOfChannelsPerGdpb()

static constexpr UInt_t CbmMcbm2018PsdPar::GetNrOfChannelsPerGdpb ( )
inlinestaticconstexpr

Definition at line 45 of file CbmMcbm2018PsdPar.h.

References kuNbChannelsPerGdpb.

◆ GetNrOfFeePerGbtx()

static constexpr UInt_t CbmMcbm2018PsdPar::GetNrOfFeePerGbtx ( )
inlinestaticconstexpr

Definition at line 42 of file CbmMcbm2018PsdPar.h.

References kuNbFeePerGbtx.

◆ GetNrOfFeePerGdpb()

static constexpr UInt_t CbmMcbm2018PsdPar::GetNrOfFeePerGdpb ( )
inlinestaticconstexpr

Definition at line 46 of file CbmMcbm2018PsdPar.h.

References kuNbFeePerGdpb.

◆ GetNrOfFeesPerGdpb()

Int_t CbmMcbm2018PsdPar::GetNrOfFeesPerGdpb ( )
inline

◆ GetNrOfGbtx()

Int_t CbmMcbm2018PsdPar::GetNrOfGbtx ( )
inline

◆ GetNrOfGbtxPerGdpb()

static constexpr UInt_t CbmMcbm2018PsdPar::GetNrOfGbtxPerGdpb ( )
inlinestaticconstexpr

Definition at line 43 of file CbmMcbm2018PsdPar.h.

References kuNbGbtxPerGdpb.

◆ GetNrOfGdpbs()

Int_t CbmMcbm2018PsdPar::GetNrOfGdpbs ( )
inline

◆ GetNrOfModules()

Int_t CbmMcbm2018PsdPar::GetNrOfModules ( )
inline

Definition at line 58 of file CbmMcbm2018PsdPar.h.

References fiNrOfModules.

Referenced by CbmPsdUnpackAlgo::initParSet().

◆ GetNrOfSections()

Int_t CbmMcbm2018PsdPar::GetNrOfSections ( )
inline

Definition at line 61 of file CbmMcbm2018PsdPar.h.

References fiNrOfSections.

Referenced by CbmPsdUnpackAlgo::initParSet().

◆ GetNumberOfChannels()

UInt_t CbmMcbm2018PsdPar::GetNumberOfChannels ( )
inline

Definition at line 47 of file CbmMcbm2018PsdPar.h.

References fiNrOfGdpb, and kuNbChannelsPerGdpb.

◆ getParams()

◆ GetSizeMsInNs()

Double_t CbmMcbm2018PsdPar::GetSizeMsInNs ( )
inline

Definition at line 66 of file CbmMcbm2018PsdPar.h.

References fdSizeMsInNs.

◆ GetTsDeadtimePeriod()

Double_t CbmMcbm2018PsdPar::GetTsDeadtimePeriod ( )

◆ putParams()

Member Data Documentation

◆ fdMipCalibration

TArrayD CbmMcbm2018PsdPar::fdMipCalibration
private

Definition at line 97 of file CbmMcbm2018PsdPar.h.

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

◆ fdSizeMsInNs

Double_t CbmMcbm2018PsdPar::fdSizeMsInNs
private

Definition at line 101 of file CbmMcbm2018PsdPar.h.

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

◆ fdTsDeadtimePeriod

Double_t CbmMcbm2018PsdPar::fdTsDeadtimePeriod
private

Definition at line 104 of file CbmMcbm2018PsdPar.h.

Referenced by getParams(), and putParams().

◆ fiDataVersion

Int_t CbmMcbm2018PsdPar::fiDataVersion
private

Map from Psd channel to Gbt channel.

Definition at line 85 of file CbmMcbm2018PsdPar.h.

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

◆ fiGdpbIdArray

TArrayI CbmMcbm2018PsdPar::fiGdpbIdArray
private

Definition at line 87 of file CbmMcbm2018PsdPar.h.

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

◆ fiModuleId

TArrayI CbmMcbm2018PsdPar::fiModuleId
private

Definition at line 94 of file CbmMcbm2018PsdPar.h.

Referenced by getParams(), and putParams().

◆ fiNbMsOverlap

Int_t CbmMcbm2018PsdPar::fiNbMsOverlap
private

Definition at line 100 of file CbmMcbm2018PsdPar.h.

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

◆ fiNbMsTot

Int_t CbmMcbm2018PsdPar::fiNbMsTot
private

Definition at line 99 of file CbmMcbm2018PsdPar.h.

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

◆ fiNrOfChannelsPerFee

Int_t CbmMcbm2018PsdPar::fiNrOfChannelsPerFee
private

Definition at line 90 of file CbmMcbm2018PsdPar.h.

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

◆ fiNrOfFeesPerGdpb

Int_t CbmMcbm2018PsdPar::fiNrOfFeesPerGdpb
private

Definition at line 89 of file CbmMcbm2018PsdPar.h.

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

◆ fiNrOfGbtx

Int_t CbmMcbm2018PsdPar::fiNrOfGbtx
private

Definition at line 92 of file CbmMcbm2018PsdPar.h.

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

◆ fiNrOfGdpb

Int_t CbmMcbm2018PsdPar::fiNrOfGdpb
private

Definition at line 86 of file CbmMcbm2018PsdPar.h.

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

◆ fiNrOfModules

Int_t CbmMcbm2018PsdPar::fiNrOfModules
private

Definition at line 93 of file CbmMcbm2018PsdPar.h.

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

◆ fiNrOfSections

Int_t CbmMcbm2018PsdPar::fiNrOfSections
private

Definition at line 96 of file CbmMcbm2018PsdPar.h.

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

◆ kuBytesPerMessage

const uint32_t CbmMcbm2018PsdPar::kuBytesPerMessage = 8
staticprivate

Constants Data format

Definition at line 74 of file CbmMcbm2018PsdPar.h.

Referenced by GetNbByteMessage().

◆ kuFeeToGbt

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

Mapping.

Definition at line 83 of file CbmMcbm2018PsdPar.h.

Referenced by FeeChanToGbtChan().

◆ kuNbChannelsPerFee

const uint32_t CbmMcbm2018PsdPar::kuNbChannelsPerFee = 10
staticprivate

Readout chain.

Definition at line 76 of file CbmMcbm2018PsdPar.h.

Referenced by FeeChanToGbtChan().

◆ kuNbChannelsPerGbtx

const uint32_t CbmMcbm2018PsdPar::kuNbChannelsPerGbtx = kuNbChannelsPerFee * kuNbFeePerGbtx
staticprivate

Definition at line 79 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfChannelsPerGbtx().

◆ kuNbChannelsPerGdpb

const uint32_t CbmMcbm2018PsdPar::kuNbChannelsPerGdpb = kuNbChannelsPerGbtx * kuNbGbtxPerGdpb
staticprivate

Definition at line 80 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfChannelsPerGdpb(), and GetNumberOfChannels().

◆ kuNbFeePerGbtx

const uint32_t CbmMcbm2018PsdPar::kuNbFeePerGbtx = 1
staticprivate

Definition at line 77 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfFeePerGbtx().

◆ kuNbFeePerGdpb

const uint32_t CbmMcbm2018PsdPar::kuNbFeePerGdpb = kuNbFeePerGbtx * kuNbGbtxPerGdpb
staticprivate

Definition at line 81 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfFeePerGdpb().

◆ kuNbGbtxPerGdpb

const uint32_t CbmMcbm2018PsdPar::kuNbGbtxPerGdpb = 1
staticprivate

Definition at line 78 of file CbmMcbm2018PsdPar.h.

Referenced by GetNrOfGbtxPerGdpb().


The documentation for this class was generated from the following files: