#include <G4ITSafetyHelper.hh>
Definition at line 55 of file G4ITSafetyHelper.hh.
◆ G4ITSafetyHelper()
G4ITSafetyHelper::G4ITSafetyHelper |
( |
| ) |
|
Definition at line 42 of file G4ITSafetyHelper.cc.
G4bool fUseParallelGeometries
G4ITNavigator * fpMassNavigator
G4PathFinder * fpPathFinder
◆ ~G4ITSafetyHelper()
G4ITSafetyHelper::~G4ITSafetyHelper |
( |
| ) |
|
◆ CheckNextStep()
Definition at line 94 of file G4ITSafetyHelper.cc.
102 currentMaxStep, newSafety);
StateTypeHandle fpTrackState
G4ITNavigator * fpMassNavigator
◆ ComputeSafety()
Definition at line 112 of file G4ITSafetyHelper.cc.
121 if ((moveLengthSq > 0.0))
135 if (newSafety < maxLength)
StateTypeHandle fpTrackState
G4double ComputeSafety(const G4ThreeVector &globalPoint)
G4bool fUseParallelGeometries
G4ITNavigator * fpMassNavigator
G4PathFinder * fpPathFinder
◆ EnableParallelNavigation()
void G4ITSafetyHelper::EnableParallelNavigation |
( |
G4bool |
parallel | ) |
|
|
inline |
◆ GetWorldVolume()
◆ InitialiseHelper()
void G4ITSafetyHelper::InitialiseHelper |
( |
| ) |
|
Definition at line 80 of file G4ITSafetyHelper.cc.
virtual void NewTrackState()
void InitialiseNavigator()
◆ InitialiseNavigator()
void G4ITSafetyHelper::InitialiseNavigator |
( |
| ) |
|
Definition at line 56 of file G4ITSafetyHelper.cc.
72 G4Exception(
"G4ITSafetyHelper::InitialiseNavigator",
74 "Found that existing tracking Navigator has NULL world");
static G4PathFinder * GetInstance()
G4ITNavigator * GetNavigatorForTracking() const
static G4ITTransportationManager * GetTransportationManager()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4ITNavigator * fpMassNavigator
G4PathFinder * fpPathFinder
◆ Locate()
Definition at line 184 of file G4ITSafetyHelper.cc.
189 fpMassNavigator->LocateGlobalPointAndSetup(newPosition, &newDirection,
true,
void Locate(const G4ThreeVector &position, const G4ThreeVector &direction, G4bool relativeSearch=true)
G4bool fUseParallelGeometries
G4ITNavigator * fpMassNavigator
G4PathFinder * fpPathFinder
◆ ReLocateWithinVolume()
void G4ITSafetyHelper::ReLocateWithinVolume |
( |
const G4ThreeVector & |
pGlobalPoint | ) |
|
Definition at line 152 of file G4ITSafetyHelper.cc.
163 ed <<
" Safety Sphere: Radius = " <<
fpTrackState->fLastSafety;
165 ed <<
" New Location : Move = " << moveVec.
mag2();
166 ed <<
" Position = " << newPosition <<
G4endl;
167 G4Exception(
"G4ITSafetyHelper::ReLocateWithinVolume",
"GeomNav999",
169 "Unsafe Move> Asked to relocate beyond 'Safety sphere'.");
std::ostringstream G4ExceptionDescription
void ReLocate(const G4ThreeVector &position)
StateTypeHandle fpTrackState
G4bool fUseParallelGeometries
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4ITNavigator * fpMassNavigator
G4PathFinder * fpPathFinder
◆ SetCurrentSafety()
◆ SetVerboseLevel()
G4int G4ITSafetyHelper::SetVerboseLevel |
( |
G4int |
lev | ) |
|
|
inline |
◆ fFirstCall
G4bool G4ITSafetyHelper::fFirstCall |
|
private |
◆ fMassNavigatorId
G4int G4ITSafetyHelper::fMassNavigatorId |
|
private |
◆ fpMassNavigator
G4ITNavigator* G4ITSafetyHelper::fpMassNavigator |
|
private |
◆ fpPathFinder
◆ fUseParallelGeometries
G4bool G4ITSafetyHelper::fUseParallelGeometries |
|
private |
◆ fVerbose
G4int G4ITSafetyHelper::fVerbose |
|
private |
The documentation for this class was generated from the following files: