8#define BMNSSDELEMENT_H 1
11#include "TGeoPhysicalNode.h"
43 TGeoPhysicalNode* node =
nullptr,
116 virtual void Print(Option_t* opt =
"")
const;
Class representing an element of the SSD setup.
virtual void InitDaughters()
TGeoPhysicalNode * fNode
Pointer to geometry.
std::vector< BmnSsdElement * > fDaughters
Array of daughters.
Int_t GetNofDaughters() const
Int_t GetNofElements(Int_t level) const
Int_t fAddress
Unique element address.
BmnSsdElement * GetDaughter(Int_t index) const
virtual void Print(Option_t *opt="") const
BmnSsdElement * fMother
Mother element.
BmnSsdElement * GetMother() const
void SetMother(BmnSsdElement *mother)
ESsdElementLevel GetLevel() const
TGeoPhysicalNode * GetPnode() const
ESsdElementLevel fLevel
Level in hierarchy.
void SetLevel(Int_t level)
UInt_t GetElementId(Int_t address, Int_t level)
Get the index of an element.