Geant4  10.02
G4TouchableHistory Class Reference

#include <G4TouchableHistory.hh>

+ Inheritance diagram for G4TouchableHistory:
+ Collaboration diagram for G4TouchableHistory:

Public Member Functions

 G4TouchableHistory ()
 
 G4TouchableHistory (const G4NavigationHistory &history)
 
 ~G4TouchableHistory ()
 
G4VPhysicalVolumeGetVolume (G4int depth=0) const
 
G4VSolidGetSolid (G4int depth=0) const
 
const G4ThreeVectorGetTranslation (G4int depth=0) const
 
const G4RotationMatrixGetRotation (G4int depth=0) const
 
G4int GetReplicaNumber (G4int depth=0) const
 
G4int GetHistoryDepth () const
 
G4int MoveUpHistory (G4int num_levels=1)
 
void UpdateYourself (G4VPhysicalVolume *pPhysVol, const G4NavigationHistory *history=0)
 
const G4NavigationHistoryGetHistory () const
 
void * operator new (size_t)
 
void operator delete (void *aTH)
 
- Public Member Functions inherited from G4VTouchable
 G4VTouchable ()
 
virtual ~G4VTouchable ()
 
G4int GetCopyNumber (G4int depth=0) const
 

Private Member Functions

G4int CalculateHistoryIndex (G4int stackDepth) const
 

Private Attributes

G4RotationMatrix frot
 
G4ThreeVector ftlate
 
G4NavigationHistory fhistory
 

Detailed Description

Definition at line 53 of file G4TouchableHistory.hh.

Constructor & Destructor Documentation

G4TouchableHistory::G4TouchableHistory ( )

Definition at line 38 of file G4TouchableHistory.cc.

References fhistory, and G4NavigationHistory::SetFirstEntry().

+ Here is the call graph for this function:

G4TouchableHistory::G4TouchableHistory ( const G4NavigationHistory history)

Definition at line 47 of file G4TouchableHistory.cc.

References fhistory, frot, ftlate, G4NavigationHistory::GetTopTransform(), and G4AffineTransform::Inverse().

+ Here is the call graph for this function:

G4TouchableHistory::~G4TouchableHistory ( )

Definition at line 55 of file G4TouchableHistory.cc.

Member Function Documentation

G4int G4TouchableHistory::CalculateHistoryIndex ( G4int  stackDepth) const
inlineprivate

Referenced by GetRotation(), and GetTranslation().

+ Here is the caller graph for this function:

G4int G4TouchableHistory::GetHistoryDepth ( ) const
inlinevirtual

Reimplemented from G4VTouchable.

Referenced by CCaloSD::createNewHit(), CCalHcalOrganization::GetUnitID(), CCalEcalOrganization::GetUnitID(), and CCalVOrganization::Levels().

+ Here is the caller graph for this function:

G4int G4TouchableHistory::GetReplicaNumber ( G4int  depth = 0) const
inlinevirtual

Reimplemented from G4VTouchable.

Referenced by CCaloSD::createNewHit(), CCalVOrganization::DetectorLevel(), G4VPrimitiveScorer::GetIndex(), CCalHcalOrganization::GetUnitID(), CCalEcalOrganization::GetUnitID(), Par01CalorimeterSD::ProcessHits(), RE01CalorimeterSD::ProcessHits(), CML2SDWithVoxels::ProcessHits(), and B4cCalorimeterSD::ProcessHits().

+ Here is the caller graph for this function:

const G4RotationMatrix * G4TouchableHistory::GetRotation ( G4int  depth = 0) const
virtual

Implements G4VTouchable.

Definition at line 80 of file G4TouchableHistory.cc.

References CalculateHistoryIndex(), fhistory, frot, G4ThreadLocal, G4NavigationHistory::GetTransform(), and G4AffineTransform::NetRotation().

+ Here is the call graph for this function:

G4VSolid* G4TouchableHistory::GetSolid ( G4int  depth = 0) const
inlinevirtual

Reimplemented from G4VTouchable.

const G4ThreeVector & G4TouchableHistory::GetTranslation ( G4int  depth = 0) const
virtual

Implements G4VTouchable.

Definition at line 60 of file G4TouchableHistory.cc.

References CalculateHistoryIndex(), fhistory, ftlate, G4ThreadLocal, G4NavigationHistory::GetTransform(), and G4AffineTransform::NetTranslation().

+ Here is the call graph for this function:

G4int G4TouchableHistory::MoveUpHistory ( G4int  num_levels = 1)
virtual

Reimplemented from G4VTouchable.

Referenced by G4Navigator::SetupHierarchy(), G4ITNavigator1::SetupHierarchy(), and G4ITNavigator2::SetupHierarchy().

+ Here is the caller graph for this function:

void G4TouchableHistory::operator delete ( void *  aTH)
inline
void* G4TouchableHistory::operator new ( size_t  )
inline
void G4TouchableHistory::UpdateYourself ( G4VPhysicalVolume pPhysVol,
const G4NavigationHistory history = 0 
)
virtual

Reimplemented from G4VTouchable.

Referenced by G4PathFinder::CreateTouchableHandle(), G4ITPathFinder::CreateTouchableHandle(), G4MultiNavigator::CreateTouchableHistoryHandle(), and G4ITMultiNavigator::CreateTouchableHistoryHandle().

+ Here is the caller graph for this function:

Member Data Documentation

G4NavigationHistory G4TouchableHistory::fhistory
private

Definition at line 99 of file G4TouchableHistory.hh.

Referenced by G4TouchableHistory(), GetRotation(), and GetTranslation().

G4RotationMatrix G4TouchableHistory::frot
private

Definition at line 97 of file G4TouchableHistory.hh.

Referenced by G4TouchableHistory(), and GetRotation().

G4ThreeVector G4TouchableHistory::ftlate
private

Definition at line 98 of file G4TouchableHistory.hh.

Referenced by G4TouchableHistory(), and GetTranslation().


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