43 for (
int i = 0; i < other.
GetNcuts(); ++i)
54 for (
int i = 0; i < other.
GetNcuts(); ++i)
91 printf(
"== Region: %s\n",
GetName());
R__EXTERN TGeoManager * gGeoManager
TGeoVolume * GetVolume(const char *name) const
Search for a named volume. All trailing blanks stripped.
Regions are groups of volumes having a common set of user tracking cuts.
TGeoRegionCut * GetCut(int i) const
TGeoRegion & operator=(const TGeoRegion &other)
Assignment operator.
void AddCut(const char *name, Double_t cut)
Add cut to the region.
virtual ~TGeoRegion()
Region destructor.
TGeoVolume * GetVolume(int i) const
virtual void Print(Option_t *option="") const
Print region info.
void AddVolume(TGeoVolume *vol)
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
The TNamed class is the base class for all named ROOT classes.
const char * GetName() const override
Returns name of object.
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
void Delete(Option_t *option="") override
Remove all objects from the array AND delete all heap based objects.
TObject * At(Int_t idx) const override
void Add(TObject *obj) override