57 #ifndef G4ITNAVIGATOR_HH
58 #define G4ITNAVIGATOR_HH
114 const G4double pCurrentProposedStepLength,
131 const G4double pCurrentProposedStepLength,
152 const G4bool pRelativeSearch=
true,
153 const G4bool ignoreDirection=
true);
184 const G4bool RelativeSearch =
true);
193 const G4bool RelativeSearch =
true);
201 const G4bool RelativeSearch =
true);
210 const G4bool keepState =
true);
407 G4bool fLastTriedStepComputation;
413 G4bool fEntering,fExiting;
423 G4int fBlockedReplicaNo;
427 G4bool fLocatedOutsideWorld;
436 G4bool fChangedGrandMotherRefFrame;
440 G4bool fCalculatedExitNormal;
454 G4int fNumberZeroSteps;
456 G4int fActionThreshold_NoZeroSteps;
458 G4int fAbandonThreshold_NoZeroSteps;
475 G4SaveNavigatorState();
476 virtual ~G4SaveNavigatorState(){;}
479 G4bool sEntering, sExiting;
481 G4int sBlockedReplicaNo;
482 G4int sLastStepWasZero;
486 G4bool sWasLimitedByGeometry;
488 G4int sNumberZeroSteps;
493 G4bool sLocatedOutsideWorld;
495 G4bool sEnteredDaughter, sExitedMother;
500 G4SaveNavigatorState* fpSaveState;
513 G4bool fPushed, fWarnPush;
526 #include "G4ITNavigator1.icc"
G4ThreeVector NetTranslation() const
G4VPhysicalVolume * GetWorldVolume() const
static const G4int fMaxNav
friend std::ostream & operator<<(std::ostream &os, const G4ITNavigator1 &n)
virtual void ResetState()
virtual void LocateGlobalPointWithinVolume(const G4ThreeVector &position)
G4GRSSolid * CreateGRSSolid() const
G4ThreeVector GetCurrentLocalCoordinate() const
G4TouchableHistory * CreateTouchableHistory() const
void SetWorldVolume(G4VPhysicalVolume *pWorld)
virtual ~G4ITNavigatorState_Lock1()
G4int GetDaughtersRegularStructureId(const G4LogicalVolume *pLog) const
virtual G4VPhysicalVolume * LocateGlobalPointAndSetup(const G4ThreeVector &point, const G4ThreeVector *direction=0, const G4bool pRelativeSearch=true, const G4bool ignoreDirection=true)
G4ThreeVector ComputeLocalPoint(const G4ThreeVector &rGlobPoint) const
EVolume VolumeType(const G4VPhysicalVolume *pVol) const
void SetGeometricallyLimitedStep()
void LocateGlobalPointAndUpdateTouchableHandle(const G4ThreeVector &position, const G4ThreeVector &direction, G4TouchableHandle &oldTouchableToUpdate, const G4bool RelativeSearch=true)
virtual G4ThreeVector GetLocalExitNormal(G4bool *valid)
G4ThreeVector fLastStepEndPointLocal
void SetVerboseLevel(G4int level)
void EnableBestSafety(G4bool value=false)
void ResetStackAndState()
void CheckMode(G4bool mode)
virtual G4double ComputeStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
virtual void SetupHierarchy()
G4int GetVerboseLevel() const
void Activate(G4bool flag)
virtual G4VPhysicalVolume * ResetHierarchyAndLocate(const G4ThreeVector &point, const G4ThreeVector &direction, const G4TouchableHistory &h)
G4ThreeVector ComputeLocalAxis(const G4ThreeVector &pVec) const
const XML_Char int const XML_Char * value
G4RotationMatrix NetRotation() const
const G4AffineTransform & GetGlobalToLocalTransform() const
G4ThreeVector fStepEndPoint
virtual G4ThreeVector GetLocalExitNormalAndCheck(const G4ThreeVector &point, G4bool *valid)
G4NavigationHistory fHistory
G4ITNavigatorState_Lock1 * GetNavigatorState()
G4double CheckNextStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
void SetNavigatorState(G4ITNavigatorState_Lock1 *)
G4int SeverityOfZeroStepping(G4int *noZeroSteps) const
const G4AffineTransform GetLocalToGlobalTransform() const
G4bool IsCheckModeActive() const
void SetPushVerbosity(G4bool mode)
EVolume CharacteriseDaughters(const G4LogicalVolume *pLog) const
G4bool EnteredDaughterVolume() const
void LocateGlobalPointAndUpdateTouchable(const G4ThreeVector &position, const G4ThreeVector &direction, G4VTouchable *touchableToUpdate, const G4bool RelativeSearch=true)
G4bool ExitedMotherVolume() const
G4GRSVolume * CreateGRSVolume() const
virtual G4ThreeVector GetGlobalExitNormal(const G4ThreeVector &point, G4bool *valid)
virtual G4double ComputeSafety(const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=true)
G4AffineTransform GetMotherToDaughterTransform(G4VPhysicalVolume *dVolume, G4int dReplicaNo, EVolume dVolumeType)
G4bool fWasLimitedByGeometry
virtual G4TouchableHistoryHandle CreateTouchableHistoryHandle() const
G4ITNavigatorState_Lock1()
virtual ~G4ITNavigator1()