11 #ifndef ROOT_TGeoParallelWorld
12 #define ROOT_TGeoParallelWorld
15 #ifndef ROOT_TGeoVolume
Bool_t IsUsingOverlaps() const
virtual ~TGeoParallelWorld()
Destructor.
Double_t Safety(Double_t point[3], Double_t safmax=1.E30)
Compute safety for the parallel world.
TGeoManager * GetGeometry() const
void AddNode(const char *path)
Add a node normally to this world. Overlapping nodes not allowed.
TGeoPhysicalNode * FindNextBoundary(Double_t point[3], Double_t dir[3], Double_t &step, Double_t stepmax=1.E30)
Same functionality as TGeoNavigator::FindNextDaughterBoundary for the parallel world.
TGeoPhysicalNode * FindNode(Double_t point[3])
Finds physical node containing the point.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
TGeoVolume * fVolume
Closed flag.
void AddOverlap(TGeoVolume *vol, Bool_t activate=kTRUE)
To use this optimization, the user should declare the full list of volumes which may overlap with any...
TGeoVolume * GetVolume() const
void CheckOverlaps(Double_t ovlp=0.001)
Check overlaps within a tolerance value.
void Draw(Option_t *option)
Draw the parallel world.
void ResetOverlaps() const
Reset overlapflag for all volumes in geometry.
void SetUseOverlaps(Bool_t flag)
Int_t PrintDetectedOverlaps() const
Print the overlaps which were detected during real tracking.
void RefreshPhysicalNodes()
Refresh the node pointers and re-voxelize.
TObjArray * fPhysical
Last PN touched.
TGeoManager * fGeoManager
Bool_t CloseGeometry()
The main geometry must be closed.
TGeoParallelWorld & operator=(const TGeoParallelWorld &)
TGeoPhysicalNode * fLastState
helper volume