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