Go to the documentation of this file.
6 #ifndef CBMSTSELEMENT_H
7 #define CBMSTSELEMENT_H 1
10 #include <RtypesCore.h>
19 class TGeoPhysicalNode;
47 TGeoPhysicalNode* node =
nullptr,
120 virtual void Print(Option_t* opt =
"")
const;
std::vector< CbmStsElement * > fDaughters
Array of daughters.
void SetMother(CbmStsElement *mother)
CbmStsElement * fMother
Mother element.
TGeoPhysicalNode * GetPnode() const
CbmStsElement(const CbmStsElement &)=delete
virtual void Print(Option_t *opt="") const
Int_t GetNofElements(Int_t level) const
UInt_t GetElementId(Int_t address, Int_t level)
Get the index of an element.
CbmStsElement * GetDaughter(Int_t index) const
Int_t GetNofDaughters() const
EStsElementLevel GetLevel() const
virtual void InitDaughters()
CbmStsElement * GetMother() const
Class representing an element of the STS setup.
Int_t fAddress
Unique element address.
EStsElementLevel fLevel
Level in hierarchy.
TGeoPhysicalNode * fNode
Pointer to geometry.
ClassDef(CbmStsElement, 2)
CbmStsElement & operator=(const CbmStsElement &)=delete
void SetLevel(Int_t level)