Geant4  10.03
G4NavigationHistory Class Reference

#include <G4NavigationHistory.hh>

Public Member Functions

 G4NavigationHistory ()
 
 ~G4NavigationHistory ()
 
 G4NavigationHistory (const G4NavigationHistory &h)
 
G4NavigationHistory & operator= (const G4NavigationHistory &h)
 
void Reset ()
 
void Clear ()
 
void SetFirstEntry (G4VPhysicalVolume *pVol)
 
const G4AffineTransform & GetTopTransform () const
 
const G4AffineTransform * GetPtrTopTransform () const
 
G4int GetTopReplicaNo () const
 
EVolume GetTopVolumeType () const
 
G4VPhysicalVolume * GetTopVolume () const
 
G4int GetDepth () const
 
G4int GetMaxDepth () const
 
const G4AffineTransform & GetTransform (G4int n) const
 
G4int GetReplicaNo (G4int n) const
 
EVolume GetVolumeType (G4int n) const
 
G4VPhysicalVolume * GetVolume (G4int n) const
 
void NewLevel (G4VPhysicalVolume *pNewMother, EVolume vType=kNormal, G4int nReplica=-1)
 
void BackLevel ()
 
void BackLevel (G4int n)
 
void * operator new (size_t)
 
void operator delete (void *aHistory)
 

Private Member Functions

void EnlargeHistory ()
 

Private Attributes

std::vector< G4NavigationLevel > * fNavHistory
 
G4int fStackDepth
 

Friends

std::ostream & operator<< (std::ostream &os, const G4NavigationHistory &h)
 

Detailed Description

Definition at line 57 of file G4NavigationHistory.hh.

Constructor & Destructor Documentation

G4NavigationHistory::G4NavigationHistory ( )

Definition at line 41 of file G4NavigationHistory.cc.

References Clear(), fNavHistory, G4NavigationHistoryPool::GetInstance(), and G4NavigationHistoryPool::GetNewLevels().

+ Here is the call graph for this function:

G4NavigationHistory::~G4NavigationHistory ( )

Definition at line 63 of file G4NavigationHistory.cc.

References G4NavigationHistoryPool::DeRegister(), fNavHistory, and G4NavigationHistoryPool::GetInstance().

+ Here is the call graph for this function:

G4NavigationHistory::G4NavigationHistory ( const G4NavigationHistory &  h)

Definition at line 48 of file G4NavigationHistory.cc.

References fNavHistory, fStackDepth, G4NavigationHistoryPool::GetInstance(), G4NavigationHistoryPool::GetLevels(), and GetMaxDepth().

+ Here is the call graph for this function:

Member Function Documentation

void G4NavigationHistory::BackLevel ( )
inline

Referenced by G4ReplicaNavigation::BackLocate(), G4ScoreSplittingProcess::CreateTouchableForSubStep(), G4ParameterisedNavigation::LevelLocate(), G4Navigator::LocateGlobalPointAndSetup(), and G4ITNavigator1::LocateGlobalPointAndSetup().

+ Here is the caller graph for this function:

void G4NavigationHistory::BackLevel ( G4int  n)
inline
void G4NavigationHistory::Clear ( )
inline

Referenced by G4NavigationHistory().

+ Here is the caller graph for this function:

void G4NavigationHistory::EnlargeHistory ( )
inlineprivate
G4int G4NavigationHistory::GetMaxDepth ( ) const
inline

Referenced by G4NavigationHistory().

+ Here is the caller graph for this function:

const G4AffineTransform* G4NavigationHistory::GetPtrTopTransform ( ) const
inline
G4int G4NavigationHistory::GetReplicaNo ( G4int  n) const
inline

Referenced by G4ReplicaNavigation::BackLocate(), G4ReplicaNavigation::ComputeSafety(), G4ReplicaNavigation::ComputeStep(), operator<<(), G4Navigator::SetupHierarchy(), and G4ITNavigator1::SetupHierarchy().

+ Here is the caller graph for this function:

G4int G4NavigationHistory::GetTopReplicaNo ( ) const
inline

Referenced by G4ReplicaNavigation::ComputeSafety(), G4ReplicaNavigation::ComputeStep(), G4Navigator::LocateGlobalPointAndSetup(), and G4ITNavigator1::LocateGlobalPointAndSetup().

+ Here is the caller graph for this function:

const G4AffineTransform& G4NavigationHistory::GetTransform ( G4int  n) const
inline
G4VPhysicalVolume* G4NavigationHistory::GetVolume ( G4int  n) const
inline

Referenced by G4ReplicaNavigation::BackLocate(), G4ReplicaNavigation::ComputeSafety(), G4ReplicaNavigation::ComputeStep(), G4FastTrack::FRecordsAffineTransformation(), operator<<(), G4Navigator::SetupHierarchy(), and G4ITNavigator1::SetupHierarchy().

+ Here is the caller graph for this function:

EVolume G4NavigationHistory::GetVolumeType ( G4int  n) const
inline

Referenced by G4ReplicaNavigation::BackLocate(), G4ReplicaNavigation::ComputeSafety(), G4ReplicaNavigation::ComputeStep(), operator<<(), G4Navigator::SetupHierarchy(), and G4ITNavigator1::SetupHierarchy().

+ Here is the caller graph for this function:

void G4NavigationHistory::NewLevel ( G4VPhysicalVolume *  pNewMother,
EVolume  vType = kNormal,
G4int  nReplica = -1 
)
inline

Referenced by G4ScoreSplittingProcess::CreateTouchableForSubStep(), G4RegularNavigation::LevelLocate(), G4ParameterisedNavigation::LevelLocate(), G4Navigator::LocateGlobalPointAndSetup(), and G4ITNavigator1::LocateGlobalPointAndSetup().

+ Here is the caller graph for this function:

void G4NavigationHistory::operator delete ( void *  aHistory)
inline
void* G4NavigationHistory::operator new ( size_t  )
inline
G4NavigationHistory& G4NavigationHistory::operator= ( const G4NavigationHistory &  h)
inline
void G4NavigationHistory::Reset ( )
inline
void G4NavigationHistory::SetFirstEntry ( G4VPhysicalVolume *  pVol)
inline

Referenced by G4TouchableHistory::G4TouchableHistory().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4NavigationHistory &  h 
)
friend

Definition at line 69 of file G4NavigationHistory.cc.

Member Data Documentation

std::vector<G4NavigationLevel>* G4NavigationHistory::fNavHistory
private

Definition at line 149 of file G4NavigationHistory.hh.

Referenced by G4NavigationHistory(), and ~G4NavigationHistory().

G4int G4NavigationHistory::fStackDepth
private

Definition at line 152 of file G4NavigationHistory.hh.

Referenced by G4NavigationHistory().


The documentation for this class was generated from the following files: