13 #ifndef ROOT_TGeoCache 14 #define ROOT_TGeoCache 86 void BuildInfoBranch();
87 void CdNode(
Int_t nodeid);
90 void CdTop() {fLevel=1; CdUp();}
95 void GetBranchNames(
Int_t *names)
const;
96 void GetBranchNumbers(
Int_t *copyNumbers,
Int_t *volumeNumbers)
const;
97 void GetBranchOnlys(
Int_t *isonly)
const;
100 Int_t GetCurrentNodeId()
const;
109 const char *GetPath();
111 Int_t GetNodeId()
const;
124 void PopDummy(
Int_t ipop=9999) {fStackLevel=(ipop>fStackLevel)?(fStackLevel-1):(ipop-1);}
Statefull info for the current geometry level.
void PopDummy(Int_t ipop=9999)
TGeoCacheState()
Default ctor.
The manager class for any TGeo geometry.
TObjArray * fStack
current matrix
void * GetMatrices() const
Matrix class used for computing global transformations Should NOT be used for node definition...
TGeoStateInfo ** fInfoBranch
const Int_t * GetIdBranch() const
void FillIdBranch(const Int_t *br, Int_t startlevel=0)
#define ClassDef(name, id)
Special pool of reusable nodes.
Int_t * fNodeIdArray
State info for the parallel world.
TGeoHMatrix ** fMatrixBranch
TGeoNode * GetTopNode() const
virtual ~TGeoCacheState()
Dtor.
TGeoNode * GetNode() const
TGeoNode * GetMother(Int_t up=1) const
Bool_t GetState(Int_t &level, Int_t &nmany, Double_t *point) const
Restore a modeler state.
Mother of all ROOT objects.
A node represent a volume positioned inside another.They store links to both volumes and to the TGeoM...
TGeoHMatrix ** fMatrixBranch
Bool_t HasIdArray() const
Class storing the state of the cache at a given moment.
Int_t GetStackLevel() const
void SetState(Int_t level, Int_t startlevel, Int_t nmany, Bool_t ovlp, Double_t *point=0)
Fill current modeller state.
TGeoCacheState & operator=(const TGeoCacheState &)
assignment operator
TGeoHMatrix * GetCurrentMatrix() const
TGeoHMatrix * fMatrix
current node
TGeoHMatrix * GetMotherMatrix(Int_t up=1) const