Geant4  10.01.p03
G4ITSafetyHelper Class Reference

#include <G4ITSafetyHelper.hh>

+ Inheritance diagram for G4ITSafetyHelper:
+ Collaboration diagram for G4ITSafetyHelper:

Classes

class  State
 

Public Member Functions

 G4ITSafetyHelper ()
 
 ~G4ITSafetyHelper ()
 
G4double CheckNextStep (const G4ThreeVector &position, const G4ThreeVector &direction, const G4double currentMaxStep, G4double &newSafety)
 
G4double ComputeSafety (const G4ThreeVector &pGlobalPoint, G4double maxRadius=DBL_MAX)
 
void Locate (const G4ThreeVector &pGlobalPoint, const G4ThreeVector &direction)
 
void ReLocateWithinVolume (const G4ThreeVector &pGlobalPoint)
 
void EnableParallelNavigation (G4bool parallel)
 
void InitialiseNavigator ()
 
G4int SetVerboseLevel (G4int lev)
 
G4VPhysicalVolumeGetWorldVolume ()
 
void SetCurrentSafety (G4double val, const G4ThreeVector &pos)
 
void InitialiseHelper ()
 
- Public Member Functions inherited from G4TrackStateDependent< G4ITSafetyHelper >
virtual ~G4TrackStateDependent ()
 
virtual void SetTrackState (G4shared_ptr< StateType > state)
 
virtual G4VTrackStateHandle PopTrackState ()
 
virtual G4VTrackStateHandle GetTrackState () const
 
virtual StateTypeHandle GetConcreteTrackState () const
 
virtual void LoadTrackState (G4TrackStateManager &manager)
 
virtual void SaveTrackState (G4TrackStateManager &manager)
 
virtual void NewTrackState ()
 
virtual StateTypeHandle CreateTrackState () const
 
virtual void ResetTrackState ()
 
- Public Member Functions inherited from G4VTrackStateDependent
 G4VTrackStateDependent ()
 
virtual ~G4VTrackStateDependent ()
 

Private Attributes

G4PathFinderfpPathFinder
 
G4ITNavigator * fpMassNavigator
 
G4int fMassNavigatorId
 
G4bool fUseParallelGeometries
 
G4bool fFirstCall
 
G4int fVerbose
 

Additional Inherited Members

- Public Types inherited from G4TrackStateDependent< G4ITSafetyHelper >
typedef G4ITSafetyHelper ClassType
 
typedef G4TrackState
< G4ITSafetyHelper
StateType
 
typedef G4shared_ptr< StateTypeStateTypeHandle
 
- Protected Member Functions inherited from G4TrackStateDependent< G4ITSafetyHelper >
 G4TrackStateDependent ()
 
- Protected Attributes inherited from G4TrackStateDependent< G4ITSafetyHelper >
StateTypeHandle fpTrackState
 

Detailed Description

Definition at line 55 of file G4ITSafetyHelper.hh.

Constructor & Destructor Documentation

G4ITSafetyHelper::G4ITSafetyHelper ( )

Definition at line 42 of file G4ITSafetyHelper.cc.

References fMassNavigatorId, fpMassNavigator, and fpPathFinder.

G4ITSafetyHelper::~G4ITSafetyHelper ( )

Definition at line 90 of file G4ITSafetyHelper.cc.

Member Function Documentation

G4double G4ITSafetyHelper::CheckNextStep ( const G4ThreeVector position,
const G4ThreeVector direction,
const G4double  currentMaxStep,
G4double newSafety 
)

Definition at line 94 of file G4ITSafetyHelper.cc.

References fpMassNavigator, G4TrackStateDependent< G4ITSafetyHelper >::fpTrackState, and position.

Referenced by G4DNABrownianTransportation::ComputeGeomLimit().

+ Here is the caller graph for this function:

G4double G4ITSafetyHelper::ComputeSafety ( const G4ThreeVector pGlobalPoint,
G4double  maxRadius = DBL_MAX 
)

Definition at line 112 of file G4ITSafetyHelper.cc.

References G4PathFinder::ComputeSafety(), fpMassNavigator, fpPathFinder, G4TrackStateDependent< G4ITSafetyHelper >::fpTrackState, fUseParallelGeometries, and position.

+ Here is the call graph for this function:

void G4ITSafetyHelper::EnableParallelNavigation ( G4bool  parallel)
inline

Referenced by G4ITPathFinder::EnableParallelNavigation().

+ Here is the caller graph for this function:

G4VPhysicalVolume * G4ITSafetyHelper::GetWorldVolume ( )
inline

Definition at line 155 of file G4ITSafetyHelper.hh.

References fpMassNavigator.

Referenced by G4DNABrownianTransportation::ComputeGeomLimit().

+ Here is the caller graph for this function:

void G4ITSafetyHelper::InitialiseHelper ( )

Definition at line 80 of file G4ITSafetyHelper.cc.

References fFirstCall, InitialiseNavigator(), and G4TrackStateDependent< G4ITSafetyHelper >::NewTrackState().

Referenced by G4ITTransportation::BuildPhysicsTable(), G4DNABrownianTransportation::BuildPhysicsTable(), and G4ITPathFinder::PrepareNewTrack().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ITSafetyHelper::InitialiseNavigator ( )

Definition at line 56 of file G4ITSafetyHelper.cc.

References FatalException, fpMassNavigator, fpPathFinder, G4Exception(), G4PathFinder::GetInstance(), G4ITTransportationManager::GetNavigatorForTracking(), and G4ITTransportationManager::GetTransportationManager().

Referenced by InitialiseHelper().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ITSafetyHelper::Locate ( const G4ThreeVector pGlobalPoint,
const G4ThreeVector direction 
)

Definition at line 184 of file G4ITSafetyHelper.cc.

References fpMassNavigator, fpPathFinder, fUseParallelGeometries, and G4PathFinder::Locate().

+ Here is the call graph for this function:

void G4ITSafetyHelper::ReLocateWithinVolume ( const G4ThreeVector pGlobalPoint)

Definition at line 152 of file G4ITSafetyHelper.cc.

References fpMassNavigator, fpPathFinder, G4TrackStateDependent< G4ITSafetyHelper >::fpTrackState, fUseParallelGeometries, fVerbose, G4endl, G4Exception(), JustWarning, G4PathFinder::ReLocate(), and sqr().

+ Here is the call graph for this function:

void G4ITSafetyHelper::SetCurrentSafety ( G4double  val,
const G4ThreeVector pos 
)
inline

Definition at line 161 of file G4ITSafetyHelper.hh.

References G4TrackStateDependent< G4ITSafetyHelper >::fpTrackState, and pos.

Referenced by G4ITTransportation::AlongStepGetPhysicalInteractionLength().

+ Here is the caller graph for this function:

G4int G4ITSafetyHelper::SetVerboseLevel ( G4int  lev)
inline

Definition at line 98 of file G4ITSafetyHelper.hh.

References fVerbose.

Member Data Documentation

G4bool G4ITSafetyHelper::fFirstCall
private

Definition at line 116 of file G4ITSafetyHelper.hh.

Referenced by InitialiseHelper().

G4int G4ITSafetyHelper::fMassNavigatorId
private

Definition at line 112 of file G4ITSafetyHelper.hh.

Referenced by G4ITSafetyHelper().

G4ITNavigator* G4ITSafetyHelper::fpMassNavigator
private
G4PathFinder* G4ITSafetyHelper::fpPathFinder
private
G4bool G4ITSafetyHelper::fUseParallelGeometries
private
G4int G4ITSafetyHelper::fVerbose
private

Definition at line 118 of file G4ITSafetyHelper.hh.

Referenced by ReLocateWithinVolume(), and SetVerboseLevel().


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