#define ClassDef(name, id)
Class storing the state of the cache at a given moment.
Bool_t GetState(Int_t &level, Int_t &nmany, Double_t *point) const
Restore a modeler state.
TGeoHMatrix ** fMatrixBranch
void SetState(Int_t level, Int_t startlevel, Int_t nmany, Bool_t ovlp, Double_t *point=0)
Fill current modeller state.
TGeoCacheState()
Default ctor.
virtual ~TGeoCacheState()
Dtor.
TGeoCacheState & operator=(const TGeoCacheState &)
assignment operator
Matrix class used for computing global transformations Should NOT be used for node definition.
The manager class for any TGeo geometry.
Special pool of reusable nodes.
virtual ~TGeoNodeCache()
Destructor.
void * GetMatrices() const
TGeoNode * GetTopNode() const
TGeoNode * GetNode() const
void CdNode(Int_t nodeid)
Change current path to point to the node having this id.
TGeoNodeCache(const TGeoNodeCache &)
array of node id's
TGeoNodeCache()
Dummy constructor.
void GetBranchOnlys(Int_t *isonly) const
Fill copy numbers of current branch nodes.
const char * GetPath()
Returns the current geometry path.
void MasterToLocal(const Double_t *master, Double_t *local) const
Point in master frame defined by current matrix converted to local one.
void BuildIdArray()
Builds node id array.
Int_t * fNodeIdArray
State info for the parallel world.
void BuildInfoBranch()
Builds info branch. Navigation is possible only after this step.
const Int_t * GetIdBranch() const
void PopDummy(Int_t ipop=9999)
TGeoHMatrix ** fMatrixBranch
void GetBranchNumbers(Int_t *copyNumbers, Int_t *volumeNumbers) const
Fill copy numbers of current branch nodes.
TGeoStateInfo ** fInfoBranch
TObjArray * fStack
current matrix
Int_t GetNodeId() const
Get unique node id.
TGeoStateInfo * GetInfo()
Get next state info pointer.
TGeoStateInfo * GetMakePWInfo(Int_t nd)
Get the PW info, if none create one.
TGeoHMatrix * GetMotherMatrix(Int_t up=1) const
void MasterToLocalVect(const Double_t *master, Double_t *local) const
Vector in master frame defined by current matrix converted to local one.
void MasterToLocalBomb(const Double_t *master, Double_t *local) const
Point in master frame defined by current matrix converted to local one and rescaled with bomb factor.
Bool_t PopState(Int_t &nmany, Double_t *point=0)
Pop next state/point from heap.
Bool_t HasIdArray() const
TGeoHMatrix * fMatrix
current node
Bool_t CdDown(Int_t index)
Make daughter INDEX of current node the active state. Compute global matrix.
void LocalToMaster(const Double_t *local, Double_t *master) const
Local point converted to master frame defined by current matrix.
void LocalToMasterVect(const Double_t *local, Double_t *master) const
Local vector converted to master frame defined by current matrix.
Int_t GetCurrentNodeId() const
Returns a fixed ID for current physical node.
Int_t PushState(Bool_t ovlp, Int_t ntmany=0, Int_t startlevel=0, Double_t *point=0)
Push current state into heap.
void LocalToMasterBomb(const Double_t *local, Double_t *master) const
Local point converted to master frame defined by current matrix and rescaled with bomb factor.
TGeoNodeCache & operator=(const TGeoNodeCache &)
Int_t GetStackLevel() const
void CdUp()
Make mother of current node the active state.
void GetBranchNames(Int_t *names) const
Fill names with current branch volume names (4 char - used by GEANT3 interface).
TGeoHMatrix * GetCurrentMatrix() const
void FillIdBranch(const Int_t *br, Int_t startlevel=0)
void ReleaseInfo()
Release last used state info pointer.
Bool_t RestoreState(Int_t &nmany, TGeoCacheState *state, Double_t *point=0)
Pop next state/point from a backed-up state.
TGeoNode * GetMother(Int_t up=1) const
A node represent a volume positioned inside another.They store links to both volumes and to the TGeoM...
Mother of all ROOT objects.
Statefull info for the current geometry level.