|
CbmRoot
|
Generic Chamber builder. More...
#include <CbmTrdGeoFactory.h>
Classes | |
| class | AUX |
| Inner class describing the geometry of the TRD AUXILIARY boards (FEE): More... | |
| class | BackPanel |
| Inner class describing the back panel of composed of. More... | |
| class | Component |
| Generic sub-component. More... | |
| class | FEB |
| Inner class describing the geometry of the TRD Front End Electronics (FEE): More... | |
| class | Radiator |
| class | Volume |
| Inner class describing a : More... | |
| class | Window |
Public Types | |
| enum class | eGeoPart : int { kRadiator = 0 , kWindow , kVolume , kBackPanel , kFEB , kAUX , kNparts } |
| enum | eConfig { kRadiator = 8 , kFEB } |
Public Member Functions | |
| ChamberBuilder (int typ=1) | |
| Constructor for the chamber. Adds all elements according to config. | |
| TGeoVolume * | GetModule () const |
| bool | HasFEB () const |
| bool | HasRadiator () const |
| virtual InitStatus | Init () |
| Init task. | |
| virtual void | Exec (Option_t *) |
| Executed task. | |
| virtual void | Finish () |
| Finish task. | |
| void | SetFEB (bool feb=true) |
| void | SetRadiator (bool rad=true) |
Private Member Functions | |
| ChamberBuilder (const ChamberBuilder &) | |
| ChamberBuilder | operator= (const ChamberBuilder &) |
Private Attributes | |
| short | fConfig = 0 |
| short | fChmbTyp = 1 |
| bit map of the setter flags | |
| array< Component *,(int) eGeoPart::kNparts > | fComponent = {} |
| chamber type [1, 3, 5, 7] | |
| TGeoVolume * | fVol = nullptr |
Static Private Attributes | |
| static const int | Nfebs = faspFeb[1].nmax |
| list of chamber component builders | |
| static constexpr double | feb_pos [Nfebs][2] |
Generic Chamber builder.
Definition at line 94 of file CbmTrdGeoFactory.h.
| Enumerator | |
|---|---|
| kRadiator | |
| kFEB | include FEB in chamber geometry |
Definition at line 106 of file CbmTrdGeoFactory.h.
|
strong |
| Enumerator | |
|---|---|
| kRadiator | |
| kWindow | |
| kVolume | |
| kBackPanel | |
| kFEB | |
| kAUX | |
| kNparts | |
Definition at line 96 of file CbmTrdGeoFactory.h.
| ChamberBuilder::ChamberBuilder | ( | int | typ = 1 | ) |
Constructor for the chamber. Adds all elements according to config.
| [in] | typ | TRD chamber type [1, 3, 5, 7]. |
Definition at line 152 of file CbmTrdGeoFactory.cxx.
References fChmbTyp, fComponent, cbm::trd::geo::fMaterial, kAUX, kBackPanel, kFEB, kRadiator, kVolume, and kWindow.
Referenced by ChamberBuilder(), and operator=().
|
private |
References ChamberBuilder().
|
virtual |
Executed task.
Definition at line 225 of file CbmTrdGeoFactory.cxx.
References fChmbTyp, fComponent, feb_pos, fVol, cbm::trd::geo::GetMaterial(), cbm::trd::geo::info_t::id, kFEB, kNparts, kVolume, Nfebs, cbm::trd::geo::info_t::rotation, cbm::trd::geo::sizeX, cbm::trd::geo::sizeY, cbm::trd::geo::info_t::superId, and cbm::trd::geo::WriteFebInfo().
|
inlinevirtual |
Finish task.
Definition at line 132 of file CbmTrdGeoFactory.h.
|
inline |
Definition at line 124 of file CbmTrdGeoFactory.h.
References fVol.
|
inline |
|
inline |
|
virtual |
Init task.
Definition at line 177 of file CbmTrdGeoFactory.cxx.
References cbm::trd::geo::activeAreaX, cbm::trd::geo::activeAreaY, fChmbTyp, fComponent, fConfig, cbm::trd::geo::fMaterial, HasFEB(), HasRadiator(), cbm::trd::k1d, cbm::trd::k2d, kAUX, cbm::trd::kFasp, kFEB, cbm::trd::kHighChDensityLargeR, cbm::trd::kLowChDensityLargeR, cbm::trd::kLowChDensitySmallR, kRadiator, cbm::trd::kSpadic, cbm::trd::SetFEE(), cbm::trd::SetPP(), cbm::trd::geo::sizeX, and cbm::trd::geo::sizeY.
|
private |
References ChamberBuilder().
|
inline |
|
inline |
|
private |
bit map of the setter flags
Definition at line 145 of file CbmTrdGeoFactory.h.
Referenced by ChamberBuilder(), Exec(), and Init().
|
private |
chamber type [1, 3, 5, 7]
Definition at line 146 of file CbmTrdGeoFactory.h.
Referenced by ChamberBuilder(), Exec(), and Init().
|
private |
Definition at line 144 of file CbmTrdGeoFactory.h.
Referenced by HasFEB(), HasRadiator(), Init(), SetFEB(), and SetRadiator().
|
staticconstexprprivate |
Definition at line 148 of file CbmTrdGeoFactory.h.
Referenced by Exec(), cbm::trd::geo::ChamberBuilder::AUX::Init(), and cbm::trd::geo::ChamberBuilder::BackPanel::Init().
|
private |
Definition at line 151 of file CbmTrdGeoFactory.h.
Referenced by Exec(), and GetModule().
list of chamber component builders
Definition at line 147 of file CbmTrdGeoFactory.h.
Referenced by Exec(), cbm::trd::geo::ChamberBuilder::AUX::Init(), and cbm::trd::geo::ChamberBuilder::BackPanel::Init().