CbmRoot
|
Generic Chamber builder. More...
#include <CbmTrdGeoFactory.h>
Classes | |
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 , 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] | |
const double | feb_pos [Nfebs][2] |
TGeoVolume * | fVol = nullptr |
Static Private Attributes | |
static const int | Nfebs = faspFeb[1].nmax |
list of chamber component builders | |
Generic Chamber builder.
Definition at line 94 of file CbmTrdGeoFactory.h.
Enumerator | |
---|---|
kRadiator | |
kFEB | include FEB in chamber geometry |
Definition at line 105 of file CbmTrdGeoFactory.h.
|
strong |
Enumerator | |
---|---|
kRadiator | |
kWindow | |
kVolume | |
kBackPanel | |
kFEB | |
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, kBackPanel, kFEB, kRadiator, kVolume, and kWindow.
|
private |
|
virtual |
Executed task.
Definition at line 221 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 130 of file CbmTrdGeoFactory.h.
|
inline |
Definition at line 122 of file CbmTrdGeoFactory.h.
References fVol.
|
inline |
|
inline |
|
virtual |
Init task.
Definition at line 176 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, 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 |
|
inline |
|
inline |
|
private |
bit map of the setter flags
Definition at line 143 of file CbmTrdGeoFactory.h.
Referenced by ChamberBuilder(), Exec(), and Init().
|
private |
chamber type [1, 3, 5, 7]
Definition at line 144 of file CbmTrdGeoFactory.h.
Referenced by ChamberBuilder(), Exec(), and Init().
|
private |
Definition at line 142 of file CbmTrdGeoFactory.h.
Referenced by HasFEB(), HasRadiator(), Init(), SetFEB(), and SetRadiator().
|
private |
Definition at line 146 of file CbmTrdGeoFactory.h.
Referenced by Exec().
|
private |
Definition at line 149 of file CbmTrdGeoFactory.h.
Referenced by Exec(), GetModule(), 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().
list of chamber component builders
Definition at line 145 of file CbmTrdGeoFactory.h.
Referenced by Exec().