43 : fUseParallelGeometries(false),
46 fLastSafetyPosition(0.0,0.0,0.0),
75 "Found that existing tracking Navigator has NULL world");
122 if( (moveLengthSq > 0.0 ) )
130 if( newSafety < maxLength )
169 ed <<
"Unsafe Move> Asked to relocate beyond 'Safety sphere'. Details: " <<
G4endl;
171 ed <<
" Center = " << fLastSafetyPosition <<
G4endl;
172 ed <<
" New Location : Move = " << moveVec.
mag();
173 ed <<
" Position = " << newPosition <<
G4endl;
void ReLocateWithinVolume(const G4ThreeVector &pGlobalPoint)
CLHEP::Hep3Vector G4ThreeVector
std::ostringstream G4ExceptionDescription
virtual void LocateGlobalPointWithinVolume(const G4ThreeVector &position)
G4bool RecheckDistanceToCurrentBoundary(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double *prDistance, G4double *prNewSafety=0) const
G4bool fUseParallelGeometries
G4bool RecheckDistanceToCurrentBoundary(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double *prDistance, G4double *prNewSafety=0) const
void ReLocate(const G4ThreeVector &position)
G4Navigator * GetNavigatorForTracking() const
G4double CheckNextStep(const G4ThreeVector &position, const G4ThreeVector &direction, const G4double currentMaxStep, G4double &newSafety)
void InitialiseNavigator()
G4double CheckNextStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
static G4TransportationManager * GetTransportationManager()
void Locate(const G4ThreeVector &position, const G4ThreeVector &direction, G4bool relativeSearch=true)
virtual G4double ComputeSafety(const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=true)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4int ActivateNavigator(G4Navigator *aNavigator)
virtual G4VPhysicalVolume * LocateGlobalPointAndSetup(const G4ThreeVector &point, const G4ThreeVector *direction=0, const G4bool pRelativeSearch=true, const G4bool ignoreDirection=true)
G4Navigator * fpMassNavigator
G4double ComputeSafety(const G4ThreeVector &pGlobalPoint, G4double maxRadius=DBL_MAX)
G4ThreeVector fLastSafetyPosition
G4VPhysicalVolume * GetWorldVolume() const
static G4PathFinder * GetInstance()
G4double ComputeSafety(const G4ThreeVector &globalPoint)
G4PathFinder * fpPathFinder
void Locate(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &direction)
virtual G4bool RecheckDistanceToCurrentBoundary(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double CurrentProposedStepLength, G4double *prDistance, G4double *prNewSafety=0) const