BmnRoot
Loading...
Searching...
No Matches
CbmStsSetup Class Reference

Class representing the top level of the STS setup. More...

#include <CbmStsSetup.h>

Inheritance diagram for CbmStsSetup:
[legend]
Collaboration diagram for CbmStsSetup:
[legend]

Public Member Functions

 CbmStsSetup ()
 
virtual ~CbmStsSetup ()
 
Bool_t Init (TGeoManager *geo)
 
- Public Member Functions inherited from CbmStsElement
 CbmStsElement ()
 
 CbmStsElement (const char *name, const char *title, Int_t level, TGeoPhysicalNode *node=NULL)
 
virtual ~CbmStsElement ()
 
virtual void AddDaughter (CbmStsElement *element)
 
UInt_t GetAddress () const
 
CbmStsElementGetDaughter (Int_t index) const
 
Int_t GetIndex () const
 
StsElementLevel GetLevel () const
 
Int_t GetNofDaughters () const
 
void InitDaughters ()
 
virtual void Print (Option_t *opt="") const
 

Static Public Member Functions

static const char * GetLevelName (Int_t level)
 
static CbmStsSetupInstance ()
 

Additional Inherited Members

- Protected Member Functions inherited from CbmStsElement
void SetLevel (Int_t level)
 
 CbmStsElement (const CbmStsElement &)
 
CbmStsElementoperator= (const CbmStsElement &)
 
 ClassDef (CbmStsElement, 1)
 
- Protected Attributes inherited from CbmStsElement
UInt_t fAddress
 Unique address.
 
StsElementLevel fLevel
 Level in hierarchy.
 
TGeoPhysicalNode * fNode
 Pointer to geometry.
 
vector< CbmStsElement * > fDaughters
 Array of daughters.
 

Detailed Description

Class representing the top level of the STS setup.

Author
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e
Version
1.0

The CbmStsSetup is a singleton class and represents the interface to the CBM geometry and its elements.

Definition at line 24 of file CbmStsSetup.h.

Constructor & Destructor Documentation

◆ CbmStsSetup()

CbmStsSetup::CbmStsSetup ( )

Definition at line 32 of file CbmStsSetup.cxx.

Referenced by Instance().

◆ ~CbmStsSetup()

virtual CbmStsSetup::~CbmStsSetup ( )
inlinevirtual

Definition at line 33 of file CbmStsSetup.h.

Member Function Documentation

◆ GetLevelName()

static const char * CbmStsSetup::GetLevelName ( Int_t  level)
inlinestatic

Definition at line 36 of file CbmStsSetup.h.

References kStsNofLevels.

Referenced by CbmStsElement::InitDaughters().

◆ Init()

Bool_t CbmStsSetup::Init ( TGeoManager *  geo)

Definition at line 42 of file CbmStsSetup.cxx.

References CbmStsElement::fNode, and CbmStsElement::InitDaughters().

◆ Instance()

CbmStsSetup * CbmStsSetup::Instance ( )
static

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