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