43 fFirstCall(true), fVerbose(0)
71 G4Exception(
"G4ITSafetyHelper::InitialiseNavigator",
73 "Found that existing tracking Navigator has NULL world");
101 currentMaxStep, newSafety);
120 if ((moveLengthSq > 0.0))
134 if (newSafety < maxLength)
162 ed <<
" Safety Sphere: Radius = " <<
fpTrackState->fLastSafety;
164 ed <<
" New Location : Move = " << moveVec.
mag2();
165 ed <<
" Position = " << newPosition <<
G4endl;
166 G4Exception(
"G4ITSafetyHelper::ReLocateWithinVolume",
"GeomNav999",
168 "Unsafe Move> Asked to relocate beyond 'Safety sphere'.");
188 fpMassNavigator->LocateGlobalPointAndSetup(newPosition, &newDirection,
true,
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
G4ITNavigator * fpMassNavigator
void Locate(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &direction)
void InitialiseNavigator()
void ReLocateWithinVolume(const G4ThreeVector &pGlobalPoint)
G4bool fUseParallelGeometries
G4double ComputeSafety(const G4ThreeVector &pGlobalPoint, G4double maxRadius=DBL_MAX)
G4PathFinder * fpPathFinder
G4double CheckNextStep(const G4ThreeVector &position, const G4ThreeVector &direction, const G4double currentMaxStep, G4double &newSafety)
static G4ITTransportationManager * GetTransportationManager()
G4ITNavigator * GetNavigatorForTracking() const
G4double ComputeSafety(const G4ThreeVector &globalPoint)
void ReLocate(const G4ThreeVector &position)
void Locate(const G4ThreeVector &position, const G4ThreeVector &direction, G4bool relativeSearch=true)
static G4PathFinder * GetInstance()
virtual void NewTrackState()
StateTypeHandle fpTrackState