CbmRoot
Loading...
Searching...
No Matches
cbm::trd::geo::Setup::Module Class Reference

Meta info for one TRD module. More...

#include <CbmTrdGeoSetup.h>

Inheritance diagram for cbm::trd::geo::Setup::Module:
[legend]
Collaboration diagram for cbm::trd::geo::Setup::Module:
[legend]

Public Member Functions

 Module (const char *n="", const char *t="")
 
int GetModuleId () const
 
int GetType () const
 
int GetRotation () const
 
ePadPlane GetFamily () const
 
eAsic GetFeeType () const
 
eWindow GetWindowType () const
 
vector< int > GetDaq () const
 
vector< Asic * > GetFEE () const
 

Protected Member Functions

virtual InitStatus init (TGeoNode *)
 Read info relevant for the module from the geometry.
 
virtual void putParams (FairParamList *)
 Write out the setup from object to FairParamList.
 
virtual bool getParams (FairParamList *)
 Read in the setup from FairParamList.
 

Protected Attributes

uint16_t fId = 0xffff
 TRD chamber id in the setup.
 
ePadPlane fFamily = ePadPlane::kNotSet
 Chamber family (1D / 2D)
 
eAsic fFee = eAsic::kNotSet
 ASIC family (SPADIC/FASP)
 
eWindow fWindow = eWindow::kNotSet
 Entrance window type.
 
eGas fGas = eGas::kNotSet
 gas type
 
int fType = 1
 TRD chamber sub-type (e.g. 1, 3, 5, 7 for TRD1D)
 
int fFeeType = 1
 FEB type for each FEE version.
 
int fRot = 0
 rotation of chamber in steps of 90 deg
 
vector< int > fDaq = {}
 
vector< Asic * > fFEE = {}
 

Private Member Functions

 Module (const Module &)
 

Friends

class Setup
 
class SetupManager
 

Detailed Description

Meta info for one TRD module.

Definition at line 100 of file CbmTrdGeoSetup.h.

Constructor & Destructor Documentation

◆ Module() [1/2]

Setup::Module::Module ( const char * n = "",
const char * t = "" )

Definition at line 269 of file CbmTrdGeoSetup.cxx.

◆ Module() [2/2]

Setup::Module::Module ( const Module & m0)
private

Definition at line 281 of file CbmTrdGeoSetup.cxx.

References fDaq, fFamily, fFEE, fFee, fFeeType, fGas, fId, fRot, fType, and fWindow.

Member Function Documentation

◆ GetDaq()

vector< int > cbm::trd::geo::Setup::Module::GetDaq ( ) const
inline

Definition at line 112 of file CbmTrdGeoSetup.h.

References fDaq.

◆ GetFamily()

ePadPlane cbm::trd::geo::Setup::Module::GetFamily ( ) const
inline

Definition at line 109 of file CbmTrdGeoSetup.h.

References fFamily.

◆ GetFEE()

vector< Asic * > cbm::trd::geo::Setup::Module::GetFEE ( ) const
inline

Definition at line 113 of file CbmTrdGeoSetup.h.

References fFEE.

◆ GetFeeType()

eAsic cbm::trd::geo::Setup::Module::GetFeeType ( ) const
inline

Definition at line 110 of file CbmTrdGeoSetup.h.

References fFee.

◆ GetModuleId()

int cbm::trd::geo::Setup::Module::GetModuleId ( ) const
inline

Definition at line 106 of file CbmTrdGeoSetup.h.

References fId.

◆ getParams()

bool Setup::Module::getParams ( FairParamList * l)
protectedvirtual

◆ GetRotation()

int cbm::trd::geo::Setup::Module::GetRotation ( ) const
inline

Definition at line 108 of file CbmTrdGeoSetup.h.

References fRot.

◆ GetType()

int cbm::trd::geo::Setup::Module::GetType ( ) const
inline

Definition at line 107 of file CbmTrdGeoSetup.h.

References fType.

◆ GetWindowType()

eWindow cbm::trd::geo::Setup::Module::GetWindowType ( ) const
inline

Definition at line 111 of file CbmTrdGeoSetup.h.

References fWindow.

◆ init()

◆ putParams()

void Setup::Module::putParams ( FairParamList * l)
protectedvirtual

Write out the setup from object to FairParamList.

Definition at line 416 of file CbmTrdGeoSetup.cxx.

References cbm::trd::kSpadic.

Friends And Related Symbol Documentation

◆ Setup

friend class Setup
friend

Definition at line 102 of file CbmTrdGeoSetup.h.

◆ SetupManager

friend class SetupManager
friend

Definition at line 103 of file CbmTrdGeoSetup.h.

Member Data Documentation

◆ fDaq

vector<int> cbm::trd::geo::Setup::Module::fDaq = {}
protected

Definition at line 131 of file CbmTrdGeoSetup.h.

Referenced by GetDaq(), and Module().

◆ fFamily

ePadPlane cbm::trd::geo::Setup::Module::fFamily = ePadPlane::kNotSet
protected

Chamber family (1D / 2D)

Definition at line 124 of file CbmTrdGeoSetup.h.

Referenced by GetFamily(), and Module().

◆ fFEE

vector<Asic*> cbm::trd::geo::Setup::Module::fFEE = {}
protected

Definition at line 132 of file CbmTrdGeoSetup.h.

Referenced by GetFEE(), and Module().

◆ fFee

eAsic cbm::trd::geo::Setup::Module::fFee = eAsic::kNotSet
protected

ASIC family (SPADIC/FASP)

Definition at line 125 of file CbmTrdGeoSetup.h.

Referenced by GetFeeType(), and Module().

◆ fFeeType

int cbm::trd::geo::Setup::Module::fFeeType = 1
protected

FEB type for each FEE version.

Definition at line 129 of file CbmTrdGeoSetup.h.

Referenced by Module().

◆ fGas

eGas cbm::trd::geo::Setup::Module::fGas = eGas::kNotSet
protected

gas type

Definition at line 127 of file CbmTrdGeoSetup.h.

Referenced by Module().

◆ fId

uint16_t cbm::trd::geo::Setup::Module::fId = 0xffff
protected

TRD chamber id in the setup.

Definition at line 123 of file CbmTrdGeoSetup.h.

Referenced by GetModuleId(), and Module().

◆ fRot

int cbm::trd::geo::Setup::Module::fRot = 0
protected

rotation of chamber in steps of 90 deg

Definition at line 130 of file CbmTrdGeoSetup.h.

Referenced by GetRotation(), and Module().

◆ fType

int cbm::trd::geo::Setup::Module::fType = 1
protected

TRD chamber sub-type (e.g. 1, 3, 5, 7 for TRD1D)

Definition at line 128 of file CbmTrdGeoSetup.h.

Referenced by GetType(), and Module().

◆ fWindow

eWindow cbm::trd::geo::Setup::Module::fWindow = eWindow::kNotSet
protected

Entrance window type.

Definition at line 126 of file CbmTrdGeoSetup.h.

Referenced by GetWindowType(), and Module().


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