CbmRoot
Loading...
Searching...
No Matches
cbm::trd::geo::ChamberBuilder::Component Class Referenceabstract

Generic sub-component. More...

#include <CbmTrdGeoFactory.h>

Inheritance diagram for cbm::trd::geo::ChamberBuilder::Component:
[legend]
Collaboration diagram for cbm::trd::geo::ChamberBuilder::Component:
[legend]

Public Member Functions

 Component (const char *name)
 Constructor of the TRD chamber component. It links the chamber class.
 
virtual InitStatus Init ()=0
 Init task.
 
virtual void Exec (Option_t *)
 Executed task.
 
virtual void Finish ()
 Finish task.
 
virtual double GetCenter () const
 
virtual double GetHeight () const
 

Static Public Attributes

static const char * fgName [(int) eGeoPart::kNparts]
 

Protected Attributes

TGeoVolume * fVol = nullptr
 

Private Member Functions

 Component (const Component &)
 the geo volume itself
 

Private Attributes

double fHeight = 0
 

Friends

class ChamberBuilder
 

Detailed Description

Generic sub-component.

Definition at line 156 of file CbmTrdGeoFactory.h.

Constructor & Destructor Documentation

◆ Component() [1/2]

cbm::trd::geo::ChamberBuilder::Component::Component ( const char * name)
inline

Constructor of the TRD chamber component. It links the chamber class.

Definition at line 162 of file CbmTrdGeoFactory.h.

References cbm::trd::geo::activeAreaX, cbm::trd::geo::activeAreaY, cbm::trd::geo::sizeX, and cbm::trd::geo::sizeY.

◆ Component() [2/2]

cbm::trd::geo::ChamberBuilder::Component::Component ( const Component & )
private

the geo volume itself

Member Function Documentation

◆ Exec()

virtual void cbm::trd::geo::ChamberBuilder::Component::Exec ( Option_t * )
inlinevirtual

Executed task.

Definition at line 176 of file CbmTrdGeoFactory.h.

◆ Finish()

virtual void cbm::trd::geo::ChamberBuilder::Component::Finish ( )
inlinevirtual

Finish task.

Definition at line 178 of file CbmTrdGeoFactory.h.

◆ GetCenter()

double ChamberBuilder::Component::GetCenter ( ) const
virtual

Definition at line 276 of file CbmTrdGeoFactory.cxx.

References fVol.

◆ GetHeight()

virtual double cbm::trd::geo::ChamberBuilder::Component::GetHeight ( ) const
inlinevirtual

Definition at line 180 of file CbmTrdGeoFactory.h.

References fHeight.

◆ Init()

virtual InitStatus cbm::trd::geo::ChamberBuilder::Component::Init ( )
pure virtual

Init task.

Construct the chamber component volume in the reference of the chamber The function has to be implemented for each particular component of the TRD chamber

Returns
The dimension of the component on the z axis

Implemented in cbm::trd::geo::ChamberBuilder::BackPanel, cbm::trd::geo::ChamberBuilder::FEB, cbm::trd::geo::ChamberBuilder::Radiator, cbm::trd::geo::ChamberBuilder::Volume, and cbm::trd::geo::ChamberBuilder::Window.

Friends And Related Symbol Documentation

◆ ChamberBuilder

friend class ChamberBuilder
friend

Definition at line 158 of file CbmTrdGeoFactory.h.

Member Data Documentation

◆ fgName

const char * ChamberBuilder::Component::fgName
static
Initial value:
= {"Radiator", "Window",
"Volume", "BackPanel", "FEB"}

Definition at line 182 of file CbmTrdGeoFactory.h.

Referenced by cbm::trd::geo::Setup::Module::init().

◆ fHeight

double cbm::trd::geo::ChamberBuilder::Component::fHeight = 0
private

Definition at line 191 of file CbmTrdGeoFactory.h.

Referenced by GetHeight().

◆ fVol

TGeoVolume* cbm::trd::geo::ChamberBuilder::Component::fVol = nullptr
protected

Definition at line 185 of file CbmTrdGeoFactory.h.

Referenced by GetCenter().


The documentation for this class was generated from the following files: