|
CbmRoot
|
Setup meta info for the TRD system to supplement the geometry. More...
#include <CbmTrdGeoSetup.h>
Classes | |
| class | Asic |
| Meta info for one TRD ASIC. More... | |
| class | Module |
| Meta info for one TRD module. More... | |
Public Member Functions | |
| Setup (const char *n, const char *t) | |
| Setup descriptor for the TRD setup. The identification should be : | |
| virtual | ~Setup () |
| virtual const char * | GetInfo (const char *label) const |
| Retrieve meta info for the setup according to label. | |
| virtual int | GetModuleId (int i) const |
| Get module par by index. | |
| virtual const Module * | GetModulePar (int detId) const |
| Get module par by detector id. | |
| virtual size_t | GetNrOfModules () const |
| Retrieve no of modules in the setup. | |
| vector< Module * > | GetModules () |
| Retrieve full list of modules in the setup. | |
| virtual void | addParam (Module *mod) |
| virtual void | putParams (FairParamList *) |
| Write out the setup from object to FairParamList. | |
| virtual bool | getParams (FairParamList *) |
| Read in the setup from FairParamList. | |
Protected Attributes | |
| int | fVersion = 1 |
| eGas | fGas = eGas::kNotSet |
| vector< Module * > | fModule = {} |
| list of modules defined in the setup | |
| vector< string > | fMetaFields = {} |
| ordered list of meta info types | |
| map< string, string > | fMeta = {} |
| meta info attached to this setup | |
Private Member Functions | |
| Setup (const Setup &) | |
| void | Help (const char *lab=nullptr) const |
| Help message for user. | |
| size_t | Parse () |
| Parse setup description for meta info. | |
Friends | |
| class | SetupManager |
Setup meta info for the TRD system to supplement the geometry.
Definition at line 46 of file CbmTrdGeoSetup.h.
| Setup::Setup | ( | const char * | n, |
| const char * | t ) |
Setup descriptor for the TRD setup. The identification should be :
| [in] | n | identification of geometry setup to which it is linked. |
| [in] | t | responsible name, email and date of creation. |
Define complementing info besides the geo description for the TRD system setup. n = geo tag; e.g. for "trd_v22d_mcbm.geo.root" name = "v22d_mcbm" t = meta info; list of ";" separated information in the following order
Definition at line 106 of file CbmTrdGeoSetup.cxx.
References fMeta, fMetaFields, Help(), and Parse().
Referenced by Setup().
|
virtual |
Definition at line 172 of file CbmTrdGeoSetup.cxx.
References fModule.
|
virtual |
Definition at line 266 of file CbmTrdGeoSetup.cxx.
References fModule.
Referenced by cbm::trd::geo::SetupManager::Init().
|
virtual |
Retrieve meta info for the setup according to label.
| [in] | label | description of the meta info to be retrieved. In case of un-registered label return nullptr; |
Definition at line 133 of file CbmTrdGeoSetup.cxx.
|
virtual |
Get module par by index.
| [in] | i | index of the module in the list |
Definition at line 175 of file CbmTrdGeoSetup.cxx.
References fModule, and GetNrOfModules().
|
virtual |
Get module par by detector id.
| [in] | detId | detector id in the setup |
Definition at line 186 of file CbmTrdGeoSetup.cxx.
References fModule.
Retrieve full list of modules in the setup.
Definition at line 71 of file CbmTrdGeoSetup.h.
References fModule.
|
inlinevirtual |
Retrieve no of modules in the setup.
Definition at line 69 of file CbmTrdGeoSetup.h.
References fModule.
Referenced by GetModuleId(), and putParams().
|
virtual |
Read in the setup from FairParamList.
Definition at line 194 of file CbmTrdGeoSetup.cxx.
References fGas, fModule, fVersion, cbm::trd::kAr, and cbm::trd::kXe.
|
private |
|
private |
Parse setup description for meta info.
Definition at line 159 of file CbmTrdGeoSetup.cxx.
References fMeta, and fMetaFields.
Referenced by Setup().
|
virtual |
Write out the setup from object to FairParamList.
Definition at line 241 of file CbmTrdGeoSetup.cxx.
References fGas, fModule, fVersion, GetNrOfModules(), cbm::trd::k1d, and cbm::trd::kAr.
|
friend |
Definition at line 48 of file CbmTrdGeoSetup.h.
References SetupManager.
Referenced by SetupManager.
|
protected |
Definition at line 80 of file CbmTrdGeoSetup.h.
Referenced by getParams(), and putParams().
|
protected |
|
protected |
ordered list of meta info types
Definition at line 82 of file CbmTrdGeoSetup.h.
list of modules defined in the setup
Definition at line 81 of file CbmTrdGeoSetup.h.
Referenced by addParam(), GetModuleId(), GetModulePar(), GetModules(), GetNrOfModules(), getParams(), putParams(), and ~Setup().
|
protected |
Definition at line 79 of file CbmTrdGeoSetup.h.
Referenced by getParams(), and putParams().