#include <TGeoCache.h>
Inheritance diagram for TGeoNodeCache:
Definition at line 65 of file TGeoCache.h.
TGeoNodeCache::TGeoNodeCache | ( | const TGeoNodeCache & | ) | [protected] |
TGeoNodeCache::TGeoNodeCache | ( | ) |
Definition at line 63 of file TGeoCache.cxx.
References TObjArray::Add(), BuildIdArray(), CdTop(), fCurrentID, fGeoCacheMaxLevels, fGeoCacheStackSize, fIdBranch, fIndex, fLevel, fMatrix, fMatrixBranch, fMPB, fNode, fNodeBranch, fNodeIdArray, TString::Format(), fPath, fStack, fStackLevel, fTop, i, and top().
TGeoNodeCache::~TGeoNodeCache | ( | ) | [virtual] |
Definition at line 125 of file TGeoCache.cxx.
References TObjArray::Delete(), fGeoCacheMaxLevels, fMatrixBranch, fMPB, fNodeBranch, fNodeIdArray, fStack, and i.
TGeoNodeCache::TGeoNodeCache | ( | const TGeoNodeCache & | ) | [protected] |
array of node id's
TGeoNodeCache::TGeoNodeCache | ( | ) |
virtual TGeoNodeCache::~TGeoNodeCache | ( | ) | [virtual] |
TGeoNodeCache & TGeoNodeCache::operator= | ( | const TGeoNodeCache & | ) | [protected] |
void TGeoNodeCache::BuildIdArray | ( | ) |
Definition at line 142 of file TGeoCache.cxx.
References fIdBranch, TGeoNode::FillIdArray(), fNodeIdArray, TGeoManager::GetNNodes(), TGeoManager::GetTopNode(), gGeoManager, and TObject::Info().
Referenced by TGeoNodeCache().
void TGeoNodeCache::CdNode | ( | Int_t | nodeid | ) |
Definition at line 158 of file TGeoCache.cxx.
References TGeoManager::CdDown(), TGeoManager::CdTop(), TGeoManager::CdUp(), fIndex, fLevel, fNodeIdArray, TGeoNode::GetNdaughters(), GetNode(), and gGeoManager.
Referenced by TGeoNavigator::CdNode().
Definition at line 195 of file TGeoCache.cxx.
References TGeoHMatrix::CopyFrom(), fIdBranch, fIndex, fLevel, fMatrix, fMatrixBranch, fMPB, fNode, fNodeBranch, fNodeIdArray, TGeoNode::GetDaughter(), TGeoNode::GetMatrix(), kFALSE, kTRUE, local, and TGeoHMatrix::Multiply().
Referenced by TGeoNavigator::CdDown().
void TGeoNodeCache::CdTop | ( | ) | [inline] |
Definition at line 97 of file TGeoCache.h.
References CdUp(), and fLevel.
Referenced by TGeoNavigator::CdTop(), and TGeoNodeCache().
void TGeoNodeCache::CdUp | ( | ) |
Definition at line 219 of file TGeoCache.cxx.
References fIdBranch, fIndex, fLevel, fMatrix, fMatrixBranch, fNode, fNodeBranch, and fNodeIdArray.
Referenced by CdTop(), and TGeoNavigator::CdUp().
Definition at line 99 of file TGeoCache.h.
References fIdBranch, fIndex, and fLevel.
Referenced by TGeoCacheState::GetState().
const Int_t* TGeoNodeCache::GetIdBranch | ( | ) | const [inline] |
Definition at line 100 of file TGeoCache.h.
References fIdBranch.
Referenced by TGeoCacheState::SetState().
void* TGeoNodeCache::GetBranch | ( | ) | const [inline] |
Definition at line 101 of file TGeoCache.h.
References fNodeBranch.
Referenced by TGeoCacheState::GetState(), TGeoPhysicalNode::SetBranchAsState(), and TGeoCacheState::SetState().
void TGeoNodeCache::GetBranchNames | ( | Int_t * | names | ) | const |
Definition at line 248 of file TGeoCache.cxx.
References fLevel, fNodeBranch, TObject::GetName(), i, and name.
Referenced by TGeoNavigator::GetBranchNames().
Definition at line 259 of file TGeoCache.cxx.
References fLevel, fNodeBranch, TGeoVolume::GetNumber(), TGeoNode::GetVolume(), and i.
Referenced by TGeoNavigator::GetBranchNumbers().
void TGeoNodeCache::GetBranchOnlys | ( | Int_t * | isonly | ) | const |
Definition at line 269 of file TGeoCache.cxx.
References fLevel, fNodeBranch, i, and kFALSE.
Referenced by TGeoNavigator::GetBranchOnlys().
void* TGeoNodeCache::GetMatrices | ( | ) | const [inline] |
Definition at line 105 of file TGeoCache.h.
References fMatrixBranch.
Referenced by TGeoCacheState::GetState(), TGeoPhysicalNode::SetBranchAsState(), and TGeoCacheState::SetState().
TGeoHMatrix* TGeoNodeCache::GetCurrentMatrix | ( | ) | const [inline] |
Definition at line 106 of file TGeoCache.h.
References fMatrix.
Referenced by TGeoNavigator::BuildCache(), TGeoNavigator::CdDown(), TGeoNavigator::CdNode(), TGeoNavigator::CdTop(), TGeoNavigator::CdUp(), TGeoNavigator::DoRestoreState(), TGeoNavigator::GetCurrentMatrix(), TGeoNavigator::PopPath(), and TGeoNavigator::PopPoint().
Int_t TGeoNodeCache::GetCurrentNodeId | ( | ) | const |
Definition at line 230 of file TGeoCache.cxx.
References fIndex, fNodeIdArray, and GetNodeId().
Referenced by TGeoNavigator::GetCurrentNodeId().
Definition at line 108 of file TGeoCache.h.
References fLevel, and fNodeBranch.
Referenced by TGeoNavigator::GetMother().
TGeoHMatrix* TGeoNodeCache::GetMotherMatrix | ( | Int_t | up = 1 |
) | const [inline] |
Definition at line 109 of file TGeoCache.h.
References fLevel, and fMatrixBranch.
Referenced by TGeoNavigator::GetMotherMatrix().
TGeoNode* TGeoNodeCache::GetNode | ( | ) | const [inline] |
Definition at line 110 of file TGeoCache.h.
References fNode.
Referenced by CdNode(), TGeoNavigator::CdUp(), TGeoNavigator::DoRestoreState(), TGeoNavigator::PopPath(), and TGeoNavigator::PopPoint().
TGeoNode* TGeoNodeCache::GetTopNode | ( | ) | const [inline] |
Int_t TGeoNodeCache::GetLevel | ( | ) | const [inline] |
Definition at line 112 of file TGeoCache.h.
References fLevel.
Referenced by TGeoNavigator::DoRestoreState(), TGeoNavigator::PopPath(), and TGeoNavigator::PopPoint().
const char * TGeoNodeCache::GetPath | ( | ) |
Definition at line 280 of file TGeoCache.cxx.
References TString::Data(), fLevel, fNodeBranch, fPath, TNamed::GetName(), and level.
Referenced by TGeoNavigator::GetPath().
Int_t TGeoNodeCache::GetStackLevel | ( | ) | const [inline] |
Definition at line 114 of file TGeoCache.h.
References fStackLevel.
Referenced by TGeoNavigator::GetStackLevel().
Int_t TGeoNodeCache::GetNodeId | ( | ) | const |
Definition at line 238 of file TGeoCache.cxx.
References fLevel, fNodeBranch, and level.
Referenced by GetCurrentNodeId(), and TGeoNavigator::GetNodeId().
Bool_t TGeoNodeCache::HasIdArray | ( | ) | const [inline] |
Definition at line 116 of file TGeoCache.h.
References fNodeIdArray, kFALSE, and kTRUE.
Referenced by TGeoCacheState::GetState(), TGeoNavigator::ResetAll(), and TGeoCacheState::SetState().
Bool_t TGeoNodeCache::IsDummy | ( | ) | const [inline] |
Definition at line 117 of file TGeoCache.h.
References kTRUE.
Referenced by TGeoNavigator::ResetAll(), and TGeoPhysicalNode::SetBranchAsState().
Definition at line 334 of file TGeoCache.cxx.
References fMatrix, and TGeoMatrix::LocalToMaster().
Referenced by TGeoNavigator::LocalToMaster().
Definition at line 341 of file TGeoCache.cxx.
References fMatrix, and TGeoMatrix::MasterToLocal().
Referenced by TGeoNavigator::MasterToLocal().
Definition at line 348 of file TGeoCache.cxx.
References fMatrix, and TGeoMatrix::LocalToMasterVect().
Referenced by TGeoNavigator::LocalToMasterVect().
Definition at line 355 of file TGeoCache.cxx.
References fMatrix, and TGeoMatrix::MasterToLocalVect().
Referenced by TGeoNavigator::MasterToLocalVect().
Definition at line 362 of file TGeoCache.cxx.
References fMatrix, and TGeoMatrix::LocalToMasterBomb().
Referenced by TGeoNavigator::LocalToMasterBomb().
Definition at line 369 of file TGeoCache.cxx.
References fMatrix, and TGeoMatrix::MasterToLocalBomb().
Referenced by TGeoNavigator::MasterToLocalBomb().
Int_t TGeoNodeCache::PushState | ( | Bool_t | ovlp, | |
Int_t | ntmany = 0 , |
|||
Int_t | startlevel = 0 , |
|||
Double_t * | point = 0 | |||
) |
Definition at line 292 of file TGeoCache.cxx.
References TObjArray::At(), fGeoCacheStackSize, fLevel, fStack, and fStackLevel.
Referenced by TGeoNavigator::PushPath(), and TGeoNavigator::PushPoint().
Definition at line 304 of file TGeoCache.cxx.
References TObjArray::At(), fLevel, fStack, fStackLevel, and Refresh().
Referenced by TGeoNavigator::PopPath(), and TGeoNavigator::PopPoint().
Definition at line 315 of file TGeoCache.cxx.
References TObjArray::At(), fLevel, fStack, and Refresh().
void TGeoNodeCache::PopDummy | ( | Int_t | ipop = 9999 |
) | [inline] |
Definition at line 128 of file TGeoCache.h.
References fStackLevel.
Referenced by TGeoNavigator::PopDummy().
void TGeoNodeCache::Refresh | ( | ) | [inline] |
Definition at line 129 of file TGeoCache.h.
References fLevel, fMatrix, fMatrixBranch, fNode, and fNodeBranch.
Referenced by PopState(), and RestoreState().
Bool_t TGeoNodeCache::RestoreState | ( | Int_t & | nmany, | |
TGeoCacheState * | state, | |||
Double_t * | point = 0 | |||
) |
Definition at line 325 of file TGeoCache.cxx.
References fLevel, TGeoCacheState::GetState(), and Refresh().
Referenced by TGeoNavigator::DoRestoreState().
TGeoNodeCache& TGeoNodeCache::operator= | ( | const TGeoNodeCache & | ) | [protected] |
void TGeoNodeCache::BuildIdArray | ( | ) |
void TGeoNodeCache::CdNode | ( | Int_t | nodeid | ) |
void TGeoNodeCache::CdTop | ( | ) | [inline] |
void TGeoNodeCache::CdUp | ( | ) |
const Int_t* TGeoNodeCache::GetIdBranch | ( | ) | const [inline] |
void* TGeoNodeCache::GetBranch | ( | ) | const [inline] |
void TGeoNodeCache::GetBranchNames | ( | Int_t * | names | ) | const |
void TGeoNodeCache::GetBranchOnlys | ( | Int_t * | isonly | ) | const |
void* TGeoNodeCache::GetMatrices | ( | ) | const [inline] |
TGeoHMatrix* TGeoNodeCache::GetCurrentMatrix | ( | ) | const [inline] |
Int_t TGeoNodeCache::GetCurrentNodeId | ( | ) | const |
TGeoHMatrix* TGeoNodeCache::GetMotherMatrix | ( | Int_t | up = 1 |
) | const [inline] |
TGeoNode* TGeoNodeCache::GetNode | ( | ) | const [inline] |
TGeoNode* TGeoNodeCache::GetTopNode | ( | ) | const [inline] |
Int_t TGeoNodeCache::GetLevel | ( | ) | const [inline] |
const char* TGeoNodeCache::GetPath | ( | ) |
Int_t TGeoNodeCache::GetStackLevel | ( | ) | const [inline] |
Int_t TGeoNodeCache::GetNodeId | ( | ) | const |
Bool_t TGeoNodeCache::HasIdArray | ( | ) | const [inline] |
Bool_t TGeoNodeCache::IsDummy | ( | ) | const [inline] |
Int_t TGeoNodeCache::PushState | ( | Bool_t | ovlp, | |
Int_t | ntmany = 0 , |
|||
Int_t | startlevel = 0 , |
|||
Double_t * | point = 0 | |||
) |
void TGeoNodeCache::PopDummy | ( | Int_t | ipop = 9999 |
) | [inline] |
void TGeoNodeCache::Refresh | ( | ) | [inline] |
Definition at line 129 of file TGeoCache.h.
References fLevel, fMatrix, fMatrixBranch, fNode, and fNodeBranch.
Bool_t TGeoNodeCache::RestoreState | ( | Int_t & | nmany, | |
TGeoCacheState * | state, | |||
Double_t * | point = 0 | |||
) |
Int_t TGeoNodeCache::fGeoCacheMaxLevels [private] |
Int_t TGeoNodeCache::fGeoCacheStackSize [private] |
Int_t TGeoNodeCache::fLevel [private] |
Definition at line 70 of file TGeoCache.h.
Referenced by CdDown(), CdNode(), CdTop(), CdUp(), FillIdBranch(), GetBranchNames(), GetBranchNumbers(), GetBranchOnlys(), GetLevel(), GetMother(), GetMotherMatrix(), GetNodeId(), GetPath(), PopState(), PushState(), Refresh(), RestoreState(), and TGeoNodeCache().
Int_t TGeoNodeCache::fStackLevel [private] |
Definition at line 71 of file TGeoCache.h.
Referenced by GetStackLevel(), PopDummy(), PopState(), PushState(), and TGeoNodeCache().
Int_t TGeoNodeCache::fCurrentID [private] |
Int_t TGeoNodeCache::fIndex [private] |
Definition at line 73 of file TGeoCache.h.
Referenced by CdDown(), CdNode(), CdUp(), FillIdBranch(), GetCurrentNodeId(), and TGeoNodeCache().
Int_t TGeoNodeCache::fIdBranch [private] |
Definition at line 74 of file TGeoCache.h.
Referenced by BuildIdArray(), CdDown(), CdUp(), FillIdBranch(), GetIdBranch(), and TGeoNodeCache().
TString TGeoNodeCache::fPath [private] |
TGeoNode* TGeoNodeCache::fTop [private] |
TGeoNode* TGeoNodeCache::fNode [private] |
Definition at line 77 of file TGeoCache.h.
Referenced by CdDown(), CdUp(), GetNode(), Refresh(), and TGeoNodeCache().
TGeoHMatrix* TGeoNodeCache::fMatrix [private] |
current node
Definition at line 78 of file TGeoCache.h.
Referenced by CdDown(), CdUp(), GetCurrentMatrix(), LocalToMaster(), LocalToMasterBomb(), LocalToMasterVect(), MasterToLocal(), MasterToLocalBomb(), MasterToLocalVect(), Refresh(), and TGeoNodeCache().
TObjArray* TGeoNodeCache::fStack [private] |
current matrix
Definition at line 79 of file TGeoCache.h.
Referenced by PopState(), PushState(), TGeoNodeCache(), and ~TGeoNodeCache().
TGeoHMatrix** TGeoNodeCache::fMatrixBranch [private] |
Definition at line 80 of file TGeoCache.h.
Referenced by CdDown(), CdUp(), GetMatrices(), GetMotherMatrix(), Refresh(), TGeoNodeCache(), and ~TGeoNodeCache().
TGeoHMatrix** TGeoNodeCache::fMPB [private] |
Definition at line 81 of file TGeoCache.h.
Referenced by CdDown(), TGeoNodeCache(), and ~TGeoNodeCache().
TGeoNode** TGeoNodeCache::fNodeBranch [private] |
Definition at line 82 of file TGeoCache.h.
Referenced by CdDown(), CdUp(), GetBranch(), GetBranchNames(), GetBranchNumbers(), GetBranchOnlys(), GetMother(), GetNodeId(), GetPath(), Refresh(), TGeoNodeCache(), and ~TGeoNodeCache().
Int_t* TGeoNodeCache::fNodeIdArray [private] |
Definition at line 83 of file TGeoCache.h.
Referenced by BuildIdArray(), CdDown(), CdNode(), CdUp(), GetCurrentNodeId(), HasIdArray(), TGeoNodeCache(), and ~TGeoNodeCache().
TGeoNode* TGeoNodeCache::fTop [private] |
Definition at line 76 of file TGeoCache.h.
TGeoNode* TGeoNodeCache::fNode [private] |
Definition at line 77 of file TGeoCache.h.
TGeoHMatrix* TGeoNodeCache::fMatrix [private] |
TObjArray* TGeoNodeCache::fStack [private] |
TGeoHMatrix** TGeoNodeCache::fMatrixBranch [private] |
Definition at line 80 of file TGeoCache.h.
TGeoHMatrix** TGeoNodeCache::fMPB [private] |
Definition at line 81 of file TGeoCache.h.
TGeoNode** TGeoNodeCache::fNodeBranch [private] |
Definition at line 82 of file TGeoCache.h.
Int_t* TGeoNodeCache::fNodeIdArray [private] |
Definition at line 83 of file TGeoCache.h.