CbmRoot
|
Meta info for one TRD module. More...
#include <CbmTrdGeoSetup.h>
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 |
Meta info for one TRD module.
Definition at line 100 of file CbmTrdGeoSetup.h.
Setup::Module::Module | ( | const char * | n = "", |
const char * | t = "" ) |
Definition at line 269 of file CbmTrdGeoSetup.cxx.
|
private |
|
inline |
Definition at line 112 of file CbmTrdGeoSetup.h.
References fDaq.
|
inline |
Definition at line 109 of file CbmTrdGeoSetup.h.
References fFamily.
|
inline |
Definition at line 113 of file CbmTrdGeoSetup.h.
References fFEE.
|
inline |
Definition at line 110 of file CbmTrdGeoSetup.h.
References fFee.
|
inline |
Definition at line 106 of file CbmTrdGeoSetup.h.
References fId.
|
protectedvirtual |
Read in the setup from FairParamList.
Definition at line 438 of file CbmTrdGeoSetup.cxx.
References cbm::trd::faspFeb, cbm::trd::k1d, cbm::trd::kFasp, cbm::trd::kSpadic, cbm::trd::mod1D, cbm::trd::mod2D, cbm::trd::READOUT::nasic, cbm::trd::FEB::nchannels, and cbm::trd::READOUT::ndaq.
|
inline |
Definition at line 108 of file CbmTrdGeoSetup.h.
References fRot.
|
inline |
Definition at line 107 of file CbmTrdGeoSetup.h.
References fType.
|
inline |
Definition at line 111 of file CbmTrdGeoSetup.h.
References fWindow.
|
protectedvirtual |
Read info relevant for the module from the geometry.
Definition at line 296 of file CbmTrdGeoSetup.cxx.
References cbm::trd::geo::info_t::address, cbm::trd::geo::Setup::fGas, cbm::trd::geo::ChamberBuilder::Component::fgName, cbm::trd::k1d, cbm::trd::k2d, cbm::trd::kAr, cbm::trd::geo::ChamberBuilder::kBackPanel, cbm::trd::geo::ChamberBuilder::kFEB, cbm::trd::kNotSet, cbm::trd::geo::ChamberBuilder::kRadiator, cbm::trd::kThick, cbm::trd::kThin, cbm::trd::geo::ChamberBuilder::kVolume, cbm::trd::geo::ChamberBuilder::kWindow, cbm::trd::kXe, cbm::trd::geo::ReadFebInfo(), and cbm::trd::geo::ReadModuleInfo().
Referenced by cbm::trd::geo::SetupManager::Init().
|
protectedvirtual |
Write out the setup from object to FairParamList.
Definition at line 416 of file CbmTrdGeoSetup.cxx.
References cbm::trd::kSpadic.
|
friend |
Definition at line 102 of file CbmTrdGeoSetup.h.
|
friend |
Definition at line 103 of file CbmTrdGeoSetup.h.
|
protected |
Definition at line 131 of file CbmTrdGeoSetup.h.
|
protected |
Chamber family (1D / 2D)
Definition at line 124 of file CbmTrdGeoSetup.h.
Referenced by GetFamily(), and Module().
|
protected |
Definition at line 132 of file CbmTrdGeoSetup.h.
|
protected |
ASIC family (SPADIC/FASP)
Definition at line 125 of file CbmTrdGeoSetup.h.
Referenced by GetFeeType(), and Module().
|
protected |
FEB type for each FEE version.
Definition at line 129 of file CbmTrdGeoSetup.h.
Referenced by Module().
|
protected |
|
protected |
TRD chamber id in the setup.
Definition at line 123 of file CbmTrdGeoSetup.h.
Referenced by GetModuleId(), and Module().
|
protected |
rotation of chamber in steps of 90 deg
Definition at line 130 of file CbmTrdGeoSetup.h.
Referenced by GetRotation(), and Module().
|
protected |
TRD chamber sub-type (e.g. 1, 3, 5, 7 for TRD1D)
Definition at line 128 of file CbmTrdGeoSetup.h.
|
protected |
Entrance window type.
Definition at line 126 of file CbmTrdGeoSetup.h.
Referenced by GetWindowType(), and Module().