Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4RegularNavigation.hh>
Public Member Functions | |
G4RegularNavigation () | |
~G4RegularNavigation () | |
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 &globalPoint, const G4ThreeVector &globalDirection, const G4double currentProposedStepLength, G4double &newSafety, G4NavigationHistory &history, G4bool &validExitNormal, G4ThreeVector &exitNormal, G4bool &exiting, G4bool &entering, G4VPhysicalVolume *(*pBlockedPhysical), G4int &blockedReplicaNo) final |
G4double | ComputeStepSkippingEqualMaterials (G4ThreeVector &localPoint, const G4ThreeVector &globalDirection, const G4double currentProposedStepLength, G4double &newSafety, G4NavigationHistory &history, G4bool &validExitNormal, G4ThreeVector &exitNormal, G4bool &exiting, G4bool &entering, G4VPhysicalVolume *(*pBlockedPhysical), G4int &blockedReplicaNo, G4VPhysicalVolume *pCurrentPhysical) |
G4double | ComputeSafety (const G4ThreeVector &localPoint, const G4NavigationHistory &history, const G4double pProposedMaxLength=DBL_MAX) final |
void | SetNormalNavigation (G4NormalNavigation *fnormnav) |
Public Member Functions inherited from G4VNavigation | |
virtual | ~G4VNavigation () |
virtual void | RelocateWithinVolume (G4VPhysicalVolume *, const G4ThreeVector &) |
virtual G4int | GetVerboseLevel () const |
virtual void | SetVerboseLevel (G4int level) |
void | CheckMode (G4bool mode) |
Additional Inherited Members | |
Protected Attributes inherited from G4VNavigation | |
G4int | fVerbose = 0 |
G4bool | fCheck = false |
Definition at line 51 of file G4RegularNavigation.hh.
G4RegularNavigation::G4RegularNavigation | ( | ) |
Definition at line 42 of file G4RegularNavigation.cc.
|
default |
|
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 345 of file G4RegularNavigation.cc.
Referenced by G4ITNavigator1::ComputeSafety(), G4ITNavigator2::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 54 of file G4RegularNavigation.cc.
Referenced by G4ITNavigator1::ComputeStep(), G4ITNavigator2::ComputeStep(), and G4Navigator::ComputeStep().
G4double G4RegularNavigation::ComputeStepSkippingEqualMaterials | ( | G4ThreeVector & | localPoint, |
const G4ThreeVector & | globalDirection, | ||
const G4double | currentProposedStepLength, | ||
G4double & | newSafety, | ||
G4NavigationHistory & | history, | ||
G4bool & | validExitNormal, | ||
G4ThreeVector & | exitNormal, | ||
G4bool & | exiting, | ||
G4bool & | entering, | ||
G4VPhysicalVolume ** | pBlockedPhysical, | ||
G4int & | blockedReplicaNo, | ||
G4VPhysicalVolume * | pCurrentPhysical ) |
Definition at line 117 of file G4RegularNavigation.cc.
|
finalvirtual |
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.
Definition at line 365 of file G4RegularNavigation.cc.
Referenced by ComputeStep(), G4ITNavigator1::LocateGlobalPointAndSetup(), G4ITNavigator2::LocateGlobalPointAndSetup(), and G4Navigator::LocateGlobalPointAndSetup().
|
inline |
Definition at line 112 of file G4RegularNavigation.hh.
Referenced by G4ITNavigator1::G4ITNavigator1(), G4ITNavigator2::G4ITNavigator2(), and G4Navigator::G4Navigator().