4 #ifndef __KVGEOSTRUCELEMENT_H 
    5 #define __KVGEOSTRUCELEMENT_H 
    8 #include "KVUniqueNameList.h" 
   89       if (det != 
nullptr) 
return kTRUE;
 
#define ClassDef(name, id)
 
Base class for KaliVeda framework.
 
Base class for detector geometry description.
 
Base class describing elements of array geometry.
 
virtual Bool_t Fired(Option_t *opt="any") const
 
void SortStructures(Bool_t order=kSortAscending)
 
void SetOwnsDetectors(Bool_t yes=kTRUE)
 
void RemoveParentStructure(KVGeoStrucElement *)
 
KVUniqueNameList fDetectors
detectors in this structure element
 
virtual Bool_t Contains(KVBase *name) const
 
void Sort(Bool_t order=kSortAscending)
 
void Print(Option_t *option="") const
 
void SortDetectors(Bool_t order=kSortAscending)
 
void AddParentStructure(KVGeoStrucElement *)
 
KVDetector * GetDetector(const Char_t *name) const
Return detector in this structure with given name.
 
KVUniqueNameList fStructures
daughter structures
 
const KVSeqCollection * GetDetectors() const
 
bool OwnsDetectors() const
 
virtual void Remove(KVBase *)
 
KVSeqCollection * GetDetectorTypeList(const Char_t *type) const
 
KVUniqueNameList fParentStrucList
parent structures
 
const KVSeqCollection * GetStructures() const
 
KVDetector * GetDetectorAny(const Char_t *name)
 
void SetOwnsDaughters(Bool_t yes=kTRUE)
 
KVGeoStrucElement()
Default constructor.
 
virtual void Add(KVBase *)
 
virtual ~KVGeoStrucElement()
Destructor.
 
KVSeqCollection * GetStructureTypeList(const Char_t *type) const
 
KVGeoStrucElement * GetStructure(const Char_t *name) const
 
void Clear(Option_t *opt="")
Empty lists of detectors, daughter structures, and parent structures.
 
void ClearStructures(const Char_t *type="")
 
void init()
Default initialisations.
 
KVSeqCollection * GetDetectorNameList(const Char_t *name) const
 
KVGeoStrucElement * GetParentStructure(const Char_t *type, const Char_t *name="") const
 
bool OwnsDaughters() const
 
void ClearDetectors(const Char_t *type="")
 
const KVSeqCollection * GetParents() const
 
KVDetector * GetDetectorByType(const Char_t *type) const
Return detector in this structure with given type.
 
KVSeqCollection * GetDetectors()
 
void Sort(Bool_t order=kSortAscending)
 
KaliVeda extensions to ROOT collection classes.
 
virtual void SetOwner(Bool_t enable=kTRUE)
 
virtual TObject * FindObject(const char *name) const
 
Optimised list in which named objects can only be placed once.
 
virtual TObject * FindObject(const char *name) const