4#include "KVGeoStrucElement.h"
19 fStructures.SetOwner();
20 fStructures.SetCleanup();
21 fDetectors.SetCleanup();
22 fParentStrucList.SetCleanup();
93 if (!strcmp(
type,
d->GetType()) || !strcmp(
type,
"")) {
99 dummy.
Clear(
"nodelete");
118 if (!strcmp(
type,
e->GetType()) || !strcmp(
type,
"")) {
124 dummy.
Clear(
"nodelete");
151 Error(
"Add",
"Cannot add elements of class %s", element->
ClassName());
175 Error(
"Add",
"Cannot add elements of class %s", element->
ClassName());
341 if (strcmp(
name,
"")) {
362 cout <<
"DETECTORS : " << endl << endl;
366 while ((
d = next())) {
368 cout <<
" " <<
d->GetName() << endl;
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t Atom_t typelist
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Base class for KaliVeda framework.
virtual const Char_t * GetType() const
Base class for detector geometry description.
virtual Bool_t Fired(Option_t *opt="any") const
Base class describing elements of array geometry.
virtual Bool_t Fired(Option_t *opt="any") const
const KVSeqCollection * GetStructures() const
void RemoveParentStructure(KVGeoStrucElement *)
KVUniqueNameList fDetectors
detectors in this structure element
void Print(Option_t *option="") const
void AddParentStructure(KVGeoStrucElement *)
KVGeoStrucElement * GetStructure(const Char_t *name) const
KVDetector * GetDetector(const Char_t *name) const
Return detector in this structure with given name.
KVUniqueNameList fStructures
daughter structures
virtual void Remove(KVBase *)
KVSeqCollection * GetDetectorTypeList(const Char_t *type) const
KVUniqueNameList fParentStrucList
parent structures
KVDetector * GetDetectorAny(const Char_t *name)
KVGeoStrucElement()
Default constructor.
virtual void Add(KVBase *)
virtual ~KVGeoStrucElement()
Destructor.
KVSeqCollection * GetStructureTypeList(const Char_t *type) 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
void ClearDetectors(const Char_t *type="")
const KVSeqCollection * GetDetectors() const
KVDetector * GetDetectorByType(const Char_t *type) const
Return detector in this structure with given type.
KaliVeda extensions to ROOT collection classes.
virtual TObject * FindObject(const char *name) const
KVSeqCollection * GetSubListWithName(const Char_t *retvalue) const
virtual void Clear(Option_t *option="")
KVSeqCollection * GetSubListWithType(const Char_t *retvalue) const
virtual TObject * FindObjectByType(const Char_t *) const
virtual TObject * FindObjectWithNameAndType(const Char_t *name, const Char_t *type) const
virtual TObject * Remove(TObject *obj)
Remove object from list.
virtual void Add(TObject *obj)
virtual void AddAll(const TCollection *col)
void Clear(Option_t *option="") override
const char * GetName() const override
virtual const char * ClassName() const
virtual Bool_t InheritsFrom(const char *classname) const
virtual void Error(const char *method, const char *msgfmt,...) const
static Int_t IncreaseDirLevel()
static void IndentLevel()
static Int_t DecreaseDirLevel()