87 const G4double pCurrentProposedStepLength,
104 const G4double pCurrentProposedStepLength,
125 const G4bool pRelativeSearch =
true,
126 const G4bool ignoreDirection =
true);
157 const G4bool RelativeSearch =
true);
166 const G4bool RelativeSearch =
true);
174 const G4bool RelativeSearch =
true);
183 const G4bool keepState =
true);
196 const G4double CurrentProposedStepLength,
198 G4double* prNewSafety =
nullptr)
const;
433 G4int fBlockedReplicaNo;
443 G4int fNumberZeroSteps;
445 G4int fActionThreshold_NoZeroSteps = 10;
447 G4int fAbandonThreshold_NoZeroSteps = 25;
453 G4bool fLastTriedStepComputation =
false;
459 G4bool fEntering,fExiting;
473 G4bool fLocatedOutsideWorld;
476 G4bool fChangedGrandMotherRefFrame;
477 G4bool fCalculatedExitNormal;
489 struct G4SaveNavigatorState
493 G4bool sEntering, sExiting;
495 G4int sBlockedReplicaNo;
496 G4int sLastStepWasZero;
497 G4bool sWasLimitedByGeometry;
501 G4bool sLocatedOutsideWorld;
503 G4bool sEnteredDaughter, sExitedMother;
529 G4bool fPushed =
false, fWarnPush =
true;
535#include "G4Navigator.icc"
void SetVerboseLevel(G4int level)
virtual void SetupHierarchy()
G4TouchableHistory * CreateTouchableHistory() const
void SetPushVerbosity(G4bool mode)
void LocateGlobalPointAndUpdateTouchable(const G4ThreeVector &position, G4VTouchable *touchableToUpdate, const G4bool RelativeSearch=true)
void SetGeometricallyLimitedStep()
G4ThreeVector fStepEndPoint
void SetExternalNavigation(G4VExternalNavigation *externalNav)
G4int GetVerboseLevel() const
virtual void ResetState()
virtual G4double ComputeSafety(const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=true)
EVolume VolumeType(const G4VPhysicalVolume *pVol) const
void Activate(G4bool flag)
G4VExternalNavigation * GetExternalNavigation() const
void CheckMode(G4bool mode)
G4GRSVolume * CreateGRSVolume() const
virtual void LocateGlobalPointWithinVolume(const G4ThreeVector &position)
G4Navigator(const G4Navigator &)=delete
G4ThreeVector fLastStepEndPointLocal
G4bool fWasLimitedByGeometry
G4bool CheckOverlapsIterative(G4VPhysicalVolume *vol)
G4Navigator & operator=(const G4Navigator &)=delete
EVolume CharacteriseDaughters(const G4LogicalVolume *pLog) const
G4int SeverityOfZeroStepping(G4int *noZeroSteps) const
virtual G4ThreeVector GetGlobalExitNormal(const G4ThreeVector &point, G4bool *valid)
G4ThreeVector ComputeLocalPoint(const G4ThreeVector &rGlobPoint) const
virtual G4TouchableHistoryHandle CreateTouchableHistoryHandle() const
void LocateGlobalPointAndUpdateTouchableHandle(const G4ThreeVector &position, const G4ThreeVector &direction, G4TouchableHandle &oldTouchableToUpdate, const G4bool RelativeSearch=true)
G4ThreeVector ComputeLocalAxis(const G4ThreeVector &pVec) const
G4ThreeVector NetTranslation() const
virtual G4ThreeVector GetLocalExitNormalAndCheck(const G4ThreeVector &point, G4bool *valid)
virtual G4ThreeVector GetLocalExitNormal(G4bool *valid)
const G4AffineTransform GetLocalToGlobalTransform() const
G4RotationMatrix NetRotation() const
virtual G4double ComputeStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
virtual G4VPhysicalVolume * LocateGlobalPointAndSetup(const G4ThreeVector &point, const G4ThreeVector *direction=nullptr, const G4bool pRelativeSearch=true, const G4bool ignoreDirection=true)
G4Navigator * Clone() const
void LocateGlobalPointAndUpdateTouchable(const G4ThreeVector &position, const G4ThreeVector &direction, G4VTouchable *touchableToUpdate, const G4bool RelativeSearch=true)
G4AffineTransform GetMotherToDaughterTransform(G4VPhysicalVolume *dVolume, G4int dReplicaNo, EVolume dVolumeType)
void ResetStackAndState()
G4GRSSolid * CreateGRSSolid() const
void SetWorldVolume(G4VPhysicalVolume *pWorld)
G4bool IsCheckModeActive() const
G4bool EnteredDaughterVolume() const
G4double CheckNextStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
virtual G4VPhysicalVolume * ResetHierarchyAndLocate(const G4ThreeVector &point, const G4ThreeVector &direction, const G4TouchableHistory &h)
G4bool ExitedMotherVolume() const
G4int GetDaughtersRegularStructureId(const G4LogicalVolume *pLv) const
friend std::ostream & operator<<(std::ostream &os, const G4Navigator &n)
G4VPhysicalVolume * GetWorldVolume() const
G4NavigationHistory fHistory
const G4AffineTransform & GetGlobalToLocalTransform() const
virtual G4bool RecheckDistanceToCurrentBoundary(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double CurrentProposedStepLength, G4double *prDistance, G4double *prNewSafety=nullptr) const
G4TouchableHistory * CreateTouchableHistory(const G4NavigationHistory *) const
void EnableBestSafety(G4bool value=false)
G4ThreeVector GetCurrentLocalCoordinate() const