Geant4
10.03
|
#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) |
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) |
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) |
void | SetVerboseLevel (G4int level) |
void | CheckMode (G4bool mode) |
void | SetNormalNavigation (G4NormalNavigation *fnormnav) |
Private Attributes | |
G4int | fverbose |
G4bool | fcheck |
G4NormalNavigation * | fnormalNav |
G4double | kCarTolerance |
Definition at line 54 of file G4RegularNavigation.hh.
G4RegularNavigation::G4RegularNavigation | ( | ) |
Definition at line 46 of file G4RegularNavigation.cc.
References G4GeometryTolerance::GetInstance(), G4GeometryTolerance::GetSurfaceTolerance(), and kCarTolerance.
G4RegularNavigation::~G4RegularNavigation | ( | ) |
Definition at line 54 of file G4RegularNavigation.cc.
|
inline |
Definition at line 118 of file G4RegularNavigation.hh.
References fcheck.
G4double G4RegularNavigation::ComputeSafety | ( | const G4ThreeVector & | localPoint, |
const G4NavigationHistory & | history, | ||
const G4double | pProposedMaxLength = DBL_MAX |
||
) |
Definition at line 266 of file G4RegularNavigation.cc.
References G4NormalNavigation::ComputeSafety(), and fnormalNav.
Referenced by G4Navigator::ComputeSafety(), G4ITNavigator1::ComputeSafety(), and G4ITNavigator2::ComputeSafety().
G4double G4RegularNavigation::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 | ||
) |
Definition at line 61 of file G4RegularNavigation.cc.
References G4NormalNavigation::ComputeStep(), fnormalNav, G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetParameterisation(), G4PhantomParameterisation::GetReplicaNo(), G4NavigationHistory::GetTopTransform(), G4NavigationHistory::GetTopVolume(), G4PhantomParameterisation::GetTranslation(), G4AffineTransform::Inverse(), LevelLocate(), G4AffineTransform::TransformAxis(), and G4AffineTransform::TransformPoint().
Referenced by G4Navigator::ComputeStep(), G4ITNavigator1::ComputeStep(), and G4ITNavigator2::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 123 of file G4RegularNavigation.cc.
References G4RegularNavigationHelper::AddStepLength(), G4RegularNavigationHelper::ClearStepLengths(), G4PhantomParameterisation::ComputeMaterial(), G4NormalNavigation::ComputeStep(), G4VSolid::DistanceToOut(), fnormalNav, G4PhantomParameterisation::GetContainerSolid(), G4NavigationHistory::GetDepth(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetParameterisation(), G4PhantomParameterisation::GetReplicaNo(), G4LogicalVolume::GetSolid(), G4NavigationHistory::GetTransform(), G4PhantomParameterisation::GetTranslation(), G4VSolid::Inside(), G4RegularNavigationHelper::Instance(), G4AffineTransform::Inverse(), kCarTolerance, kInside, G4PhantomParameterisation::SkipEqualMaterials(), and G4AffineTransform::TransformPoint().
G4bool G4RegularNavigation::LevelLocate | ( | G4NavigationHistory & | history, |
const G4VPhysicalVolume * | blockedVol, | ||
const G4int | blockedNum, | ||
const G4ThreeVector & | globalPoint, | ||
const G4ThreeVector * | globalDirection, | ||
const G4bool | pLocatedOnEdge, | ||
G4ThreeVector & | localPoint | ||
) |
Definition at line 286 of file G4RegularNavigation.cc.
References G4PhantomParameterisation::ComputeMaterial(), G4PhantomParameterisation::ComputeTransformation(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4PhantomParameterisation::GetNoVoxel(), G4VPhysicalVolume::GetParameterisation(), G4PhantomParameterisation::GetReplicaNo(), G4NavigationHistory::GetTopTransform(), G4NavigationHistory::GetTopVolume(), kParameterised, G4NavigationHistory::NewLevel(), G4VPhysicalVolume::SetCopyNo(), G4AffineTransform::TransformAxis(), G4AffineTransform::TransformPoint(), and G4LogicalVolume::UpdateMaterial().
Referenced by ComputeStep(), G4Navigator::LocateGlobalPointAndSetup(), G4ITNavigator1::LocateGlobalPointAndSetup(), and G4ITNavigator2::LocateGlobalPointAndSetup().
|
inline |
Definition at line 119 of file G4RegularNavigation.hh.
References fnormalNav.
Referenced by G4ITNavigator1::G4ITNavigator1(), G4ITNavigator2::G4ITNavigator2(), and G4Navigator::G4Navigator().
|
inline |
Definition at line 117 of file G4RegularNavigation.hh.
References fverbose.
|
private |
Definition at line 125 of file G4RegularNavigation.hh.
Referenced by CheckMode().
|
private |
Definition at line 127 of file G4RegularNavigation.hh.
Referenced by ComputeSafety(), ComputeStep(), ComputeStepSkippingEqualMaterials(), and SetNormalNavigation().
|
private |
Definition at line 124 of file G4RegularNavigation.hh.
Referenced by SetVerboseLevel().
|
private |
Definition at line 128 of file G4RegularNavigation.hh.
Referenced by ComputeStepSkippingEqualMaterials(), and G4RegularNavigation().