CbmRoot
Loading...
Searching...
No Matches
CbmMcbm2018MuchPar Class Reference

#include <CbmMcbm2018MuchPar.h>

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

Public Member Functions

 CbmMcbm2018MuchPar (const char *name="CbmMcbm2018MuchPar", const char *title="Much parameters", const char *context="Default")
 
virtual ~CbmMcbm2018MuchPar ()
 
virtual void clear ()
 
void putParams (FairParamList *)
 
Bool_t getParams (FairParamList *)
 
Int_t ElinkIdxToFebIdx (UInt_t uElink)
 
UInt_t ElinkIdxToAsicIdx (UInt_t uElink)
 
UInt_t ElinkIdxToAsicIdxFebMuch (UInt_t uElink)
 
UInt_t GetNrOfDpbs ()
 
UInt_t GetDpbId (UInt_t uDpbIdx)
 
UInt_t GetNrOfCrobs ()
 
UInt_t GetNrOfFebs ()
 
UInt_t GetNrOfAsics ()
 
UInt_t GetNrOfFebsInGemA ()
 
UInt_t GetNrOfFebsInGemB ()
 
Int_t GetNrOfChannels ()
 
UInt_t GetFebId (UInt_t)
 
UInt_t GetModule (UInt_t)
 
Short_t GetPadXA (UShort_t febid, UShort_t channelid)
 
Short_t GetPadYA (UShort_t febid, UShort_t channelid)
 
Short_t GetPadXB (UShort_t febid, UShort_t channelid)
 
Short_t GetPadYB (UShort_t febid, UShort_t channelid)
 
Double_t GetRealX (Int_t)
 
Double_t GetRealPadSize (Int_t)
 
Double_t GetRealX (Int_t Channel, Int_t Sector)
 
Double_t GetRealPadSize (Int_t Channel, Int_t Sector)
 
UInt_t GetNrOfFebsInRpc ()
 
Short_t GetPadXRpc (UShort_t febid, UShort_t channelid)
 
Short_t GetPadYRpc (UShort_t febid, UShort_t channelid)
 
Bool_t IsCrobActive (UInt_t uDpbIdx, UInt_t uCrobIdx)
 
Bool_t IsFebActive (UInt_t uFebInSystIdx)
 
Bool_t IsFebActive (UInt_t uDpbIdx, UInt_t uCrobIdx, UInt_t uFebIdx)
 

Static Public Member Functions

static constexpr UInt_t GetNbCrobsPerDpb ()
 
static constexpr UInt_t GetNbElinkPerCrob ()
 
static constexpr UInt_t GetNbFebsPerCrob ()
 
static constexpr UInt_t GetNbFebsPerDpb ()
 
static constexpr UInt_t GetNbAsicsPerFeb ()
 
static constexpr UInt_t GetNbAsicsPerCrob ()
 
static constexpr UInt_t GetNbAsicsPerDpb ()
 
static constexpr UInt_t GetNbChanPerAsic ()
 
static constexpr UInt_t GetNbChanPerFeb ()
 

Private Member Functions

 ClassDef (CbmMcbm2018MuchPar, 2)
 

Private Attributes

const UInt_t kuCrobMapElinkFebMuch [kuNbElinksPerCrob]
 
const Int_t kiCrobMapElinkFebIdx [kuNbElinksPerCrob]
 Map from eLink index to ASIC index within CROB ( 0 to kuNbFebsPerCrob * kuNbAsicPerFeb )
 
UInt_t fuNrOfDpbs
 Map from eLink index to ASIC index within CROB ( 0 to kuNbFebsPerCrob * kuNbAsicPerFeb )
 
TArrayI fiDbpIdArray
 
TArrayI fiCrobActiveFlag
 
UInt_t fuFebsInGemA
 
UInt_t fuFebsInGemB
 
UInt_t fuFebsInRpc
 
TArrayI fnFebsIdsArrayGemA
 
TArrayI fnFebsIdsArrayGemB
 
TArrayI fnFebsIdsArrayRpc
 
TArrayI fChannelsToPadXA
 
TArrayI fChannelsToPadYA
 
TArrayI fChannelsToPadXB
 
TArrayI fChannelsToPadYB
 
TArrayI fChannelsToPadXRpc
 
TArrayI fChannelsToPadYRpc
 
TArrayD fRealX
 
TArrayD fRealPadSize
 

Static Private Attributes

static const UInt_t kuNbCrobsPerDpb = 1
 Constants.
 
static const UInt_t kuNbElinksPerCrob = 42
 
static const UInt_t kuNbFebsPerCrob = 9
 
static const UInt_t kuNbAsicsPerFeb = 1
 
static const UInt_t kuNbChanPerAsic = 128
 

Detailed Description

Definition at line 25 of file CbmMcbm2018MuchPar.h.

Constructor & Destructor Documentation

◆ CbmMcbm2018MuchPar()

CbmMcbm2018MuchPar::CbmMcbm2018MuchPar ( const char * name = "CbmMcbm2018MuchPar",
const char * title = "Much parameters",
const char * context = "Default" )

Standard constructor

Definition at line 18 of file CbmMcbm2018MuchPar.cxx.

◆ ~CbmMcbm2018MuchPar()

CbmMcbm2018MuchPar::~CbmMcbm2018MuchPar ( )
virtual

Destructor

Definition at line 44 of file CbmMcbm2018MuchPar.cxx.

Member Function Documentation

◆ ClassDef()

CbmMcbm2018MuchPar::ClassDef ( CbmMcbm2018MuchPar ,
2  )
private

◆ clear()

void CbmMcbm2018MuchPar::clear ( )
virtual

Reset all parameters

Definition at line 49 of file CbmMcbm2018MuchPar.cxx.

◆ ElinkIdxToAsicIdx()

◆ ElinkIdxToAsicIdxFebMuch()

UInt_t CbmMcbm2018MuchPar::ElinkIdxToAsicIdxFebMuch ( UInt_t uElink)

Definition at line 149 of file CbmMcbm2018MuchPar.cxx.

References kuCrobMapElinkFebMuch, and kuNbElinksPerCrob.

Referenced by ElinkIdxToAsicIdx().

◆ ElinkIdxToFebIdx()

◆ GetDpbId()

◆ GetFebId()

◆ GetModule()

UInt_t CbmMcbm2018MuchPar::GetModule ( UInt_t uAsicIdx)

◆ GetNbAsicsPerCrob()

static constexpr UInt_t CbmMcbm2018MuchPar::GetNbAsicsPerCrob ( )
inlinestaticconstexpr

◆ GetNbAsicsPerDpb()

static constexpr UInt_t CbmMcbm2018MuchPar::GetNbAsicsPerDpb ( )
inlinestaticconstexpr

Definition at line 48 of file CbmMcbm2018MuchPar.h.

References GetNbAsicsPerCrob(), and kuNbCrobsPerDpb.

◆ GetNbAsicsPerFeb()

◆ GetNbChanPerAsic()

◆ GetNbChanPerFeb()

◆ GetNbCrobsPerDpb()

◆ GetNbElinkPerCrob()

◆ GetNbFebsPerCrob()

static constexpr UInt_t CbmMcbm2018MuchPar::GetNbFebsPerCrob ( )
inlinestaticconstexpr

Definition at line 44 of file CbmMcbm2018MuchPar.h.

References kuNbFebsPerCrob.

Referenced by CbmMcbm2018MonitorMuch::InitStsParameters().

◆ GetNbFebsPerDpb()

static constexpr UInt_t CbmMcbm2018MuchPar::GetNbFebsPerDpb ( )
inlinestaticconstexpr

◆ GetNrOfAsics()

◆ GetNrOfChannels()

Int_t CbmMcbm2018MuchPar::GetNrOfChannels ( )
inline

Definition at line 73 of file CbmMcbm2018MuchPar.h.

References kuNbChanPerAsic.

◆ GetNrOfCrobs()

UInt_t CbmMcbm2018MuchPar::GetNrOfCrobs ( )
inline

Definition at line 66 of file CbmMcbm2018MuchPar.h.

References fuNrOfDpbs, and kuNbCrobsPerDpb.

Referenced by GetNrOfFebs().

◆ GetNrOfDpbs()

◆ GetNrOfFebs()

◆ GetNrOfFebsInGemA()

UInt_t CbmMcbm2018MuchPar::GetNrOfFebsInGemA ( )
inline

Definition at line 71 of file CbmMcbm2018MuchPar.h.

References fuFebsInGemA.

Referenced by GetFebId(), GetModule(), and getParams().

◆ GetNrOfFebsInGemB()

UInt_t CbmMcbm2018MuchPar::GetNrOfFebsInGemB ( )
inline

Definition at line 72 of file CbmMcbm2018MuchPar.h.

References fuFebsInGemB.

Referenced by getParams().

◆ GetNrOfFebsInRpc()

UInt_t CbmMcbm2018MuchPar::GetNrOfFebsInRpc ( )
inline

Definition at line 89 of file CbmMcbm2018MuchPar.h.

References fuFebsInRpc.

Referenced by GetFebId(), GetModule(), and getParams().

◆ GetPadXA()

Short_t CbmMcbm2018MuchPar::GetPadXA ( UShort_t febid,
UShort_t channelid )

◆ GetPadXB()

Short_t CbmMcbm2018MuchPar::GetPadXB ( UShort_t febid,
UShort_t channelid )

◆ GetPadXRpc()

Short_t CbmMcbm2018MuchPar::GetPadXRpc ( UShort_t febid,
UShort_t channelid )

Definition at line 268 of file CbmMcbm2018MuchPar.cxx.

References fChannelsToPadXRpc, and kuNbChanPerAsic.

◆ GetPadYA()

Short_t CbmMcbm2018MuchPar::GetPadYA ( UShort_t febid,
UShort_t channelid )

◆ GetPadYB()

Short_t CbmMcbm2018MuchPar::GetPadYB ( UShort_t febid,
UShort_t channelid )

◆ GetPadYRpc()

Short_t CbmMcbm2018MuchPar::GetPadYRpc ( UShort_t febid,
UShort_t channelid )

Definition at line 279 of file CbmMcbm2018MuchPar.cxx.

References fChannelsToPadXRpc, fChannelsToPadYRpc, and kuNbChanPerAsic.

◆ getParams()

◆ GetRealPadSize() [1/2]

Double_t CbmMcbm2018MuchPar::GetRealPadSize ( Int_t Channel,
Int_t Sector )

Definition at line 369 of file CbmMcbm2018MuchPar.cxx.

References fRealPadSize.

◆ GetRealPadSize() [2/2]

Double_t CbmMcbm2018MuchPar::GetRealPadSize ( Int_t SectorIndex)

◆ GetRealX() [1/2]

Double_t CbmMcbm2018MuchPar::GetRealX ( Int_t Channel,
Int_t Sector )

Definition at line 358 of file CbmMcbm2018MuchPar.cxx.

References fRealX.

◆ GetRealX() [2/2]

Double_t CbmMcbm2018MuchPar::GetRealX ( Int_t SectorIndex)

◆ IsCrobActive()

◆ IsFebActive() [1/2]

Bool_t CbmMcbm2018MuchPar::IsFebActive ( UInt_t uDpbIdx,
UInt_t uCrobIdx,
UInt_t uFebIdx )

Definition at line 197 of file CbmMcbm2018MuchPar.cxx.

References fuNrOfDpbs, IsFebActive(), kuNbCrobsPerDpb, and kuNbFebsPerCrob.

◆ IsFebActive() [2/2]

◆ putParams()

Member Data Documentation

◆ fChannelsToPadXA

TArrayI CbmMcbm2018MuchPar::fChannelsToPadXA
private

Definition at line 153 of file CbmMcbm2018MuchPar.h.

Referenced by GetPadXA(), GetPadYA(), getParams(), and putParams().

◆ fChannelsToPadXB

TArrayI CbmMcbm2018MuchPar::fChannelsToPadXB
private

Definition at line 155 of file CbmMcbm2018MuchPar.h.

Referenced by GetPadXB(), GetPadYB(), getParams(), and putParams().

◆ fChannelsToPadXRpc

TArrayI CbmMcbm2018MuchPar::fChannelsToPadXRpc
private

Definition at line 157 of file CbmMcbm2018MuchPar.h.

Referenced by GetPadXRpc(), GetPadYRpc(), getParams(), and putParams().

◆ fChannelsToPadYA

TArrayI CbmMcbm2018MuchPar::fChannelsToPadYA
private

Definition at line 154 of file CbmMcbm2018MuchPar.h.

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

◆ fChannelsToPadYB

TArrayI CbmMcbm2018MuchPar::fChannelsToPadYB
private

Definition at line 156 of file CbmMcbm2018MuchPar.h.

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

◆ fChannelsToPadYRpc

TArrayI CbmMcbm2018MuchPar::fChannelsToPadYRpc
private

Definition at line 158 of file CbmMcbm2018MuchPar.h.

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

◆ fiCrobActiveFlag

TArrayI CbmMcbm2018MuchPar::fiCrobActiveFlag
private

Definition at line 146 of file CbmMcbm2018MuchPar.h.

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

◆ fiDbpIdArray

TArrayI CbmMcbm2018MuchPar::fiDbpIdArray
private

Definition at line 145 of file CbmMcbm2018MuchPar.h.

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

◆ fnFebsIdsArrayGemA

TArrayI CbmMcbm2018MuchPar::fnFebsIdsArrayGemA
private

Definition at line 150 of file CbmMcbm2018MuchPar.h.

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

◆ fnFebsIdsArrayGemB

TArrayI CbmMcbm2018MuchPar::fnFebsIdsArrayGemB
private

Definition at line 151 of file CbmMcbm2018MuchPar.h.

Referenced by getParams(), and putParams().

◆ fnFebsIdsArrayRpc

TArrayI CbmMcbm2018MuchPar::fnFebsIdsArrayRpc
private

Definition at line 152 of file CbmMcbm2018MuchPar.h.

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

◆ fRealPadSize

TArrayD CbmMcbm2018MuchPar::fRealPadSize
private

Definition at line 160 of file CbmMcbm2018MuchPar.h.

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

◆ fRealX

TArrayD CbmMcbm2018MuchPar::fRealX
private

Definition at line 159 of file CbmMcbm2018MuchPar.h.

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

◆ fuFebsInGemA

UInt_t CbmMcbm2018MuchPar::fuFebsInGemA
private

Definition at line 147 of file CbmMcbm2018MuchPar.h.

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

◆ fuFebsInGemB

UInt_t CbmMcbm2018MuchPar::fuFebsInGemB
private

Definition at line 148 of file CbmMcbm2018MuchPar.h.

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

◆ fuFebsInRpc

UInt_t CbmMcbm2018MuchPar::fuFebsInRpc
private

Definition at line 149 of file CbmMcbm2018MuchPar.h.

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

◆ fuNrOfDpbs

UInt_t CbmMcbm2018MuchPar::fuNrOfDpbs
private

Map from eLink index to ASIC index within CROB ( 0 to kuNbFebsPerCrob * kuNbAsicPerFeb )

Variables

Definition at line 144 of file CbmMcbm2018MuchPar.h.

Referenced by GetDpbId(), GetNrOfCrobs(), GetNrOfDpbs(), getParams(), IsCrobActive(), IsFebActive(), and putParams().

◆ kiCrobMapElinkFebIdx

const Int_t CbmMcbm2018MuchPar::kiCrobMapElinkFebIdx[kuNbElinksPerCrob]
private
Initial value:
= {
0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4,
4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 8, 8, 8, 8}

Map from eLink index to ASIC index within CROB ( 0 to kuNbFebsPerCrob * kuNbAsicPerFeb )

Definition at line 137 of file CbmMcbm2018MuchPar.h.

Referenced by ElinkIdxToFebIdx().

◆ kuCrobMapElinkFebMuch

const UInt_t CbmMcbm2018MuchPar::kuCrobMapElinkFebMuch[kuNbElinksPerCrob]
private
Initial value:
= {0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0001, 0x0001, 0x0001, 0x0001, 0x0001,
0x0002, 0x0002, 0x0002, 0x0002, 0x0003,
0x0003, 0x0003, 0x0003, 0x0003, 0x0004,
0x0004, 0x0004, 0x0004, 0x0004, 0x0005,
0x0005, 0x0005, 0x0005, 0x0006, 0x0006,
0x0006, 0x0006, 0x0006, 0x0007, 0x0007,
0x0007, 0x0007, 0x0007, 0x0008, 0x0008,
0x0008, 0x0008}

Definition at line 116 of file CbmMcbm2018MuchPar.h.

Referenced by ElinkIdxToAsicIdxFebMuch().

◆ kuNbAsicsPerFeb

const UInt_t CbmMcbm2018MuchPar::kuNbAsicsPerFeb = 1
staticprivate

◆ kuNbChanPerAsic

const UInt_t CbmMcbm2018MuchPar::kuNbChanPerAsic = 128
staticprivate

◆ kuNbCrobsPerDpb

const UInt_t CbmMcbm2018MuchPar::kuNbCrobsPerDpb = 1
staticprivate

◆ kuNbElinksPerCrob

const UInt_t CbmMcbm2018MuchPar::kuNbElinksPerCrob = 42
staticprivate

◆ kuNbFebsPerCrob

const UInt_t CbmMcbm2018MuchPar::kuNbFebsPerCrob = 9
staticprivate

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