|
CbmRoot
|
Classes | |
| class | ChamberBuilder |
| Generic Chamber builder. More... | |
| struct | info_t |
| Information to be storred in the geoManager path. Based on legacy class CbmTrdGeoHandler. More... | |
| class | Setup |
| Setup meta info for the TRD system to supplement the geometry. More... | |
| class | SetupManager |
| Generate setup meta info for the TRD system. More... | |
Enumerations | |
| enum class | eException { invalid_type = 0 , invalid_id } |
Functions | |
| bool | ReadModuleInfo (const char *modTxt, info_t &info) |
| Identify information related to the module encrypted in the geoManager path. Based on legacy function "void CbmTrdGeoHandler::NavigateTo(const TString& path)". | |
| bool | ReadFebInfo (const char *febTxt, info_t &info) |
| Identify information related to one FEB encrypted in the geoManager path. | |
| int | WriteModuleInfo (info_t *info) |
| Put up information related to the module and store it in the geoManager path. Based on legacy version "void Create_TRD_Geometry.C macro". | |
| int | WriteFebInfo (info_t *info) |
| Put up information related to the FEB and store it in the geoManager path. | |
| const TGeoMedium * | GetMaterial (const char *mname) |
| material mapping (name, value) | |
Variables | |
| static double | sizeX |
| static double | sizeY |
| static double | activeAreaX |
| total area | |
| static double | activeAreaY |
| static map< const string, const TGeoMedium * > | fMaterial = {} |
| active area | |
|
strong |
| Enumerator | |
|---|---|
| invalid_type | |
| invalid_id | |
Definition at line 40 of file CbmTrdGeoFactory.h.
| const TGeoMedium * cbm::trd::geo::GetMaterial | ( | const char * | mname | ) |
material mapping (name, value)
Definition at line 33 of file CbmTrdGeoFactory.cxx.
References fMaterial.
Referenced by cbm::trd::geo::ChamberBuilder::Exec(), cbm::trd::geo::ChamberBuilder::AUX::Init(), cbm::trd::geo::ChamberBuilder::BackPanel::Init(), cbm::trd::geo::ChamberBuilder::FEB::Init(), cbm::trd::geo::ChamberBuilder::Radiator::Init(), cbm::trd::geo::ChamberBuilder::Volume::Init(), and cbm::trd::geo::ChamberBuilder::Window::Init().
| bool cbm::trd::geo::ReadFebInfo | ( | const char * | febTxt, |
| info_t & | info ) |
Identify information related to one FEB encrypted in the geoManager path.
\function ReadFebInfo
| [in] | febTxt | : FEB name in gGeoManager |
| [in] | info | : object to be filled with decrypted info |
Definition at line 74 of file CbmTrdGeoFactory.cxx.
References cbm::trd::faspFeb, cbm::trd::geo::info_t::id, invalid_id, invalid_type, cbm::trd::geo::info_t::rotation, cbm::trd::geo::info_t::superId, cbm::trd::geo::info_t::superType, and cbm::trd::geo::info_t::type.
Referenced by cbm::trd::geo::Setup::Module::init().
| bool cbm::trd::geo::ReadModuleInfo | ( | const char * | modTxt, |
| info_t & | info ) |
Identify information related to the module encrypted in the geoManager path. Based on legacy function "void CbmTrdGeoHandler::NavigateTo(const TString& path)".
\function ReadModuleInfo
| [in] | modTxt | : module name in gGeoManager |
| [in] | info | : object to be filled with decrypted info |
Definition at line 43 of file CbmTrdGeoFactory.cxx.
References cbm::trd::geo::info_t::address, CbmTrdAddress::GetAddress(), cbm::trd::geo::info_t::id, cbm::trd::geo::info_t::rotation, cbm::trd::geo::info_t::superId, and cbm::trd::geo::info_t::type.
Referenced by cbm::trd::geo::Setup::Module::init().
| int cbm::trd::geo::WriteFebInfo | ( | info_t * | info | ) |
Put up information related to the FEB and store it in the geoManager path.
\function WriteFebInfo
Encryption of FEB info into the node number format : RPPPII info.address : info.superId : identification of FEB in production DB [P]
info.id : identification of FEB placement on the module [I] info.type : Board version [T] info.rotation : rotation in 180deg steps [R] copy number : not used
Definition at line 127 of file CbmTrdGeoFactory.cxx.
References cbm::trd::geo::info_t::id, cbm::trd::geo::info_t::rotation, and cbm::trd::geo::info_t::superId.
Referenced by cbm::trd::geo::ChamberBuilder::Exec().
| int cbm::trd::geo::WriteModuleInfo | ( | info_t * | info | ) |
Put up information related to the module and store it in the geoManager path. Based on legacy version "void Create_TRD_Geometry.C macro".
\function WriteModuleInfo
Encryption of module info into the node number format : CCRLMMMM info.address : not stored, derived from CbmTrdAddress::GetAddress(ly, mod, 0, 0, 0) info.superId : layer_id [L]
info.id : mod_id / layer [M] info.type : type according to family info.rotation : rotation in 90deg steps [R] copy number : [C]
Definition at line 111 of file CbmTrdGeoFactory.cxx.
|
static |
total area
Definition at line 87 of file CbmTrdGeoFactory.h.
Referenced by cbm::trd::geo::ChamberBuilder::Component::Component(), cbm::trd::geo::ChamberBuilder::BackPanel::Init(), cbm::trd::geo::ChamberBuilder::Init(), cbm::trd::geo::ChamberBuilder::Volume::Init(), and cbm::trd::geo::ChamberBuilder::Window::Init().
|
static |
Definition at line 87 of file CbmTrdGeoFactory.h.
Referenced by cbm::trd::geo::ChamberBuilder::Component::Component(), cbm::trd::geo::ChamberBuilder::BackPanel::Init(), cbm::trd::geo::ChamberBuilder::Init(), cbm::trd::geo::ChamberBuilder::Volume::Init(), and cbm::trd::geo::ChamberBuilder::Window::Init().
|
static |
active area
Definition at line 88 of file CbmTrdGeoFactory.h.
Referenced by cbm::trd::geo::ChamberBuilder::ChamberBuilder(), GetMaterial(), and cbm::trd::geo::ChamberBuilder::Init().
|
static |
Definition at line 86 of file CbmTrdGeoFactory.h.
Referenced by cbm::trd::geo::ChamberBuilder::Component::Component(), cbm::trd::geo::ChamberBuilder::Exec(), cbm::trd::geo::ChamberBuilder::AUX::Init(), cbm::trd::geo::ChamberBuilder::Init(), cbm::trd::geo::ChamberBuilder::Radiator::Init(), cbm::trd::geo::ChamberBuilder::Volume::Init(), and cbm::trd::geo::ChamberBuilder::Window::Init().
|
static |
Definition at line 86 of file CbmTrdGeoFactory.h.
Referenced by cbm::trd::geo::ChamberBuilder::Component::Component(), cbm::trd::geo::ChamberBuilder::Exec(), cbm::trd::geo::ChamberBuilder::AUX::Init(), cbm::trd::geo::ChamberBuilder::Init(), cbm::trd::geo::ChamberBuilder::Radiator::Init(), cbm::trd::geo::ChamberBuilder::Volume::Init(), and cbm::trd::geo::ChamberBuilder::Window::Init().