Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4NormalNavigation.hh>
Public Member Functions | |
G4NormalNavigation () | |
~G4NormalNavigation () | |
G4bool | LevelLocate (G4NavigationHistory &history, const G4VPhysicalVolume *blockedVol, const G4int blockedNum, const G4ThreeVector &globalPoint, const G4ThreeVector *globalDirection, const G4bool pLocatedOnEdge, G4ThreeVector &localPoint) final |
G4double | ComputeStep (const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, const G4double currentProposedStepLength, G4double &newSafety, G4NavigationHistory &history, G4bool &validExitNormal, G4ThreeVector &exitNormal, G4bool &exiting, G4bool &entering, G4VPhysicalVolume *(*pBlockedPhysical), G4int &blockedReplicaNo) final |
G4double | ComputeSafety (const G4ThreeVector &globalpoint, const G4NavigationHistory &history, const G4double pMaxLength=DBL_MAX) final |
virtual G4int | GetVerboseLevel () const final |
virtual void | SetVerboseLevel (G4int level) final |
Public Member Functions inherited from G4VNavigation | |
virtual | ~G4VNavigation () |
virtual void | RelocateWithinVolume (G4VPhysicalVolume *, const G4ThreeVector &) |
void | CheckMode (G4bool mode) |
Additional Inherited Members | |
Protected Attributes inherited from G4VNavigation | |
G4int | fVerbose = 0 |
G4bool | fCheck = false |
Definition at line 52 of file G4NormalNavigation.hh.
G4NormalNavigation::G4NormalNavigation | ( | ) |
Definition at line 40 of file G4NormalNavigation.cc.
G4NormalNavigation::~G4NormalNavigation | ( | ) |
Definition at line 49 of file G4NormalNavigation.cc.
|
finalvirtual |
Compute the distance to the closest surface.
[in] | globalPoint | Global point. |
[in] | history | Navigation history. |
[in] | pMaxLength | Maximum step length beyond which volumes need not be checked. |
Implements G4VNavigation.
Definition at line 334 of file G4NormalNavigation.cc.
Referenced by G4ITNavigator1::ComputeSafety(), G4ITNavigator2::ComputeSafety(), G4RegularNavigation::ComputeSafety(), and G4SafetyCalculator::SafetyInCurrentVolume().
|
finalvirtual |
Compute the length of a step to the next boundary. Do not test against pBlockedPhysical
. Identify the next candidate volume (if a daughter of current volume), and return it in pBlockedPhysical, blockedReplicaNo.
[in] | localPoint | Local point |
[in] | localDirection | Pointer to local direction or null pointer. |
[in] | currentProposedStepLength | Current proposed step length. |
[in,out] | newSafety | New safety. |
[in,out] | history | Navigation history. |
[in,out] | validExitNormal | Flag to indicate whether exit normal is valid or not. |
[in,out] | exitNormal | Exit normal. |
[in,out] | entering | Flag to indicate whether we are entering a volume. |
[in,out] | exiting | Flag to indicate whether we are exiting a volume. |
[in,out] | pBlockedPhysical | Blocked physical volume that should be ignored in queries. |
[in,out] | blockedReplicaNo | Copy number for blocked replica volumes. |
localDirection
. Implements G4VNavigation.
Definition at line 64 of file G4NormalNavigation.cc.
Referenced by G4ITNavigator1::ComputeStep(), G4ITNavigator2::ComputeStep(), G4Navigator::ComputeStep(), G4RegularNavigation::ComputeStep(), and G4RegularNavigation::ComputeStepSkippingEqualMaterials().
|
finalvirtual |
Get current verbosity level
Reimplemented from G4VNavigation.
Definition at line 399 of file G4NormalNavigation.cc.
|
inlinefinalvirtual |
Search positioned volumes in mother at current top level of history
for volume containing globalPoint
. Do not test against blockedVol
. If a containing volume is found, push it onto navigation history state.
[in,out] | history | Navigation history. |
[in,out] | blockedVol | Blocked volume that should be ignored in queries. |
[in,out] | blockedNum | Copy number for blocked replica volumes. |
[in,out] | globalPoint | Global point |
[in,out] | globalDirection | Pointer to global direction or null pointer. |
[in,out] | localPoint | = global point in local system on entry, point in new system on exit. |
Implements G4VNavigation.
Referenced by G4ITNavigator1::LocateGlobalPointAndSetup(), G4ITNavigator2::LocateGlobalPointAndSetup(), and G4Navigator::LocateGlobalPointAndSetup().
|
finalvirtual |
Set current verbosity level
Reimplemented from G4VNavigation.
Definition at line 408 of file G4NormalNavigation.cc.