Geant4.10
|
#include <G4Navigator.hh>
Protected Member Functions | |
void | SetSavedState () |
void | RestoreSavedState () |
virtual void | ResetState () |
G4ThreeVector | ComputeLocalPoint (const G4ThreeVector &rGlobPoint) const |
G4ThreeVector | ComputeLocalAxis (const G4ThreeVector &pVec) const |
EVolume | VolumeType (const G4VPhysicalVolume *pVol) const |
EVolume | CharacteriseDaughters (const G4LogicalVolume *pLog) const |
G4int | GetDaughtersRegularStructureId (const G4LogicalVolume *pLog) const |
virtual void | SetupHierarchy () |
Friends | |
std::ostream & | operator<< (std::ostream &os, const G4Navigator &n) |
Definition at line 73 of file G4Navigator.hh.
G4Navigator::G4Navigator | ( | ) |
Definition at line 52 of file G4Navigator.cc.
References fLastStepEndPointLocal, fStepEndPoint, G4GeometryTolerance::GetInstance(), G4GeometryTolerance::GetSurfaceTolerance(), kCarTolerance, ResetStackAndState(), and G4RegularNavigation::SetNormalNavigation().
|
virtual |
Definition at line 82 of file G4Navigator.cc.
|
inlineprotected |
Referenced by ComputeSafety(), ComputeStep(), LocateGlobalPointAndSetup(), and LocateGlobalPointWithinVolume().
G4double G4Navigator::CheckNextStep | ( | const G4ThreeVector & | pGlobalPoint, |
const G4ThreeVector & | pDirection, | ||
const G4double | pCurrentProposedStepLength, | ||
G4double & | pNewSafety | ||
) |
Definition at line 1143 of file G4Navigator.cc.
References ComputeStep(), RestoreSavedState(), and SetSavedState().
Referenced by G4SafetyHelper::CheckNextStep().
|
inlineprotected |
Referenced by ComputeStep().
|
inlineprotected |
Referenced by ComputeSafety(), ComputeStep(), and LocateGlobalPointWithinVolume().
|
virtual |
Reimplemented in G4MultiNavigator, and G4ErrorPropagationNavigator.
Definition at line 1605 of file G4Navigator.cc.
References CharacteriseDaughters(), ComputeLocalPoint(), G4VoxelSafety::ComputeSafety(), G4ParameterisedNavigation::ComputeSafety(), G4NormalNavigation::ComputeSafety(), G4VoxelNavigation::ComputeSafety(), G4RegularNavigation::ComputeSafety(), G4ReplicaNavigation::ComputeSafety(), FatalException, fEnteredDaughter, fExitedMother, fHistory, fStepEndPoint, fVerbose, G4cout, G4endl, G4Exception(), GetDaughtersRegularStructureId(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4NavigationHistory::GetTopVolume(), G4NavigationHistory::GetTopVolumeType(), G4LogicalVolume::GetVoxelHeader(), kCarTolerance, kNormal, kParameterised, kReplica, LocateGlobalPointWithinVolume(), PrintState(), RestoreSavedState(), and SetSavedState().
Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4MonopoleTransportation::AlongStepGetPhysicalInteractionLength(), G4WeightCutOffProcess::AlongStepGetPhysicalInteractionLength(), G4ImportanceProcess::AlongStepGetPhysicalInteractionLength(), G4ParallelWorldProcess::AlongStepGetPhysicalInteractionLength(), G4ParallelWorldScoringProcess::AlongStepGetPhysicalInteractionLength(), G4WeightWindowProcess::AlongStepGetPhysicalInteractionLength(), G4FastSimulationManagerProcess::AlongStepGetPhysicalInteractionLength(), G4ErrorPropagationNavigator::ComputeSafety(), G4SafetyHelper::ComputeSafety(), and G4PathFinder::DoNextCurvedStep().
|
virtual |
Reimplemented in G4MultiNavigator, and G4ErrorPropagationNavigator.
Definition at line 701 of file G4Navigator.cc.
References CharacteriseDaughters(), G4VPhysicalVolume::CheckOverlaps(), ComputeLocalAxis(), ComputeLocalPoint(), G4RegularNavigation::ComputeStep(), G4ParameterisedNavigation::ComputeStep(), G4NormalNavigation::ComputeStep(), G4VoxelNavigation::ComputeStep(), G4ReplicaNavigation::ComputeStep(), EventMustBeAborted, FatalException, fEnteredDaughter, fExitedMother, fHistory, fLastStepEndPointLocal, fStepEndPoint, fVerbose, G4cout, G4endl, G4Exception(), G4ThreadLocal, G4VPhysicalVolume::GetCopyNo(), GetDaughtersRegularStructureId(), G4NavigationHistory::GetDepth(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4VPhysicalVolume::GetRegularStructureId(), G4VPhysicalVolume::GetRotation(), G4LogicalVolume::GetSolid(), G4NavigationHistory::GetTopVolume(), G4NavigationHistory::GetTopVolumeType(), G4NavigationHistory::GetTransform(), G4LogicalVolume::GetVoxelHeader(), G4AffineTransform::Inverse(), JustWarning, kCarTolerance, kNormal, kParameterised, kReplica, LocateGlobalPointAndSetup(), LocateGlobalPointWithinVolume(), PrintState(), G4VSolid::SurfaceNormal(), and G4AffineTransform::TransformAxis().
Referenced by G4Transportation::AlongStepGetPhysicalInteractionLength(), G4MonopoleTransportation::AlongStepGetPhysicalInteractionLength(), CheckNextStep(), and G4ErrorPropagationNavigator::ComputeStep().
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented in G4MultiNavigator.
Definition at line 1745 of file G4Navigator.cc.
References CreateTouchableHistory().
|
inline |
Referenced by GetLocalExitNormal(), and G4Transportation::PostStepDoIt().
|
inline |
Referenced by G4Transportation::PostStepDoIt().
|
inline |
|
inlineprotected |
Referenced by ComputeSafety(), ComputeStep(), LocateGlobalPointAndSetup(), and LocateGlobalPointWithinVolume().
|
virtual |
Reimplemented in G4MultiNavigator.
Definition at line 1503 of file G4Navigator.cc.
References G4endl, G4Exception(), GetLocalExitNormalAndCheck(), GetLocalToGlobalTransform(), GetVerboseLevel(), JustWarning, CLHEP::Hep3Vector::mag(), CLHEP::Hep3Vector::mag2(), python.hepunit::perMillion, SetVerboseLevel(), G4AffineTransform::TransformAxis(), and CLHEP::Hep3Vector::unit().
Referenced by G4MultiNavigator::GetGlobalExitNormal().
|
inline |
Referenced by GetLocalExitNormalAndCheck().
|
virtual |
Reimplemented in G4MultiNavigator.
Definition at line 1261 of file G4Navigator.cc.
References G4VSolid::DistanceToIn(), G4VSolid::DistanceToOut(), EnteredDaughterVolume(), FatalException, fExitedMother, fHistory, fLastStepEndPointLocal, fVerbose, G4endl, G4Exception(), G4VSolid::GetEntityType(), G4VPhysicalVolume::GetLogicalVolume(), GetMotherToDaughterTransform(), G4VSolid::GetName(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetName(), G4LogicalVolume::GetSolid(), G4NavigationHistory::GetTopVolume(), G4VSolid::Inside(), JustWarning, kCarTolerance, kInside, kOutside, kSurface, CLHEP::Hep3Vector::mag2(), G4VSolid::SurfaceNormal(), G4AffineTransform::TransformPoint(), and VolumeType().
Referenced by G4RayTrajectory::AppendStep(), G4MultiNavigator::GetLocalExitNormal(), GetLocalExitNormalAndCheck(), and G4VTransitionRadiation::PostStepDoIt().
|
virtual |
Reimplemented in G4MultiNavigator.
Definition at line 1468 of file G4Navigator.cc.
References GetGlobalToLocalTransform(), GetLocalExitNormal(), and G4AffineTransform::TransformPoint().
Referenced by GetGlobalExitNormal().
|
inline |
G4AffineTransform G4Navigator::GetMotherToDaughterTransform | ( | G4VPhysicalVolume * | dVolume, |
G4int | dReplicaNo, | ||
EVolume | dVolumeType | ||
) |
Definition at line 1422 of file G4Navigator.cc.
References G4VSolid::ComputeDimensions(), G4VPVParameterisation::ComputeSolid(), G4VPVParameterisation::ComputeTransformation(), FatalException, G4Exception(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetParameterisation(), G4VPhysicalVolume::GetRegularStructureId(), G4VPhysicalVolume::GetRotation(), G4VPhysicalVolume::GetTranslation(), kNormal, kParameterised, kReplica, and G4LogicalVolume::SetSolid().
Referenced by GetLocalExitNormal().
|
inline |
Referenced by export_G4Navigator(), and GetGlobalExitNormal().
|
inline |
Referenced by G4TransportationManager::ActivateNavigator(), G4MultiNavigator::CheckMassWorld(), G4PropagatorInField::ComputeStep(), F04ElementField::Construct(), G4TransportationManager::DeActivateNavigator(), G4TransportationManager::DeRegisterNavigator(), G4ASCIITreeSceneHandler::EndModeling(), export_G4Navigator(), G4FastSimulationManagerProcess::G4FastSimulationManagerProcess(), G4GeometrySampler::G4GeometrySampler(), G4ImportanceConfigurator::G4ImportanceConfigurator(), G4MultiNavigator::G4MultiNavigator(), G4TransportationManager::G4TransportationManager(), F04PrimaryGeneratorAction::GeneratePrimaries(), G4TransportationManager::GetParallelWorld(), G4SafetyHelper::GetWorldVolume(), G4SafetyHelper::InitialiseNavigator(), G4FastSimulationManager::ListTitle(), G4MultiNavigator::PrepareNavigators(), G4MultiNavigator::PrintLimited(), G4PathFinder::PrintLimited(), G4WeightWindowStore::SetWorldVolume(), and G4IStore::SetWorldVolume().
|
inline |
Referenced by export_G4Navigator().
|
inline |
|
virtual |
Reimplemented in G4MultiNavigator.
Definition at line 118 of file G4Navigator.cc.
References G4NavigationHistory::BackLevel(), G4ReplicaNavigation::BackLocate(), CharacteriseDaughters(), G4VSolid::ComputeDimensions(), G4VPVParameterisation::ComputeSolid(), G4VPVParameterisation::ComputeTransformation(), G4ReplicaNavigation::ComputeTransformation(), CLHEP::Hep3Vector::dot(), fEnteredDaughter, fExitedMother, fHistory, fVerbose, fWasLimitedByGeometry, G4cout, G4endl, G4VPhysicalVolume::GetCopyNo(), GetDaughtersRegularStructureId(), G4NavigationHistory::GetDepth(), G4VPhysicalVolume::GetLogicalVolume(), G4VSolid::GetName(), G4VPhysicalVolume::GetName(), G4VPhysicalVolume::GetParameterisation(), G4VPhysicalVolume::GetRegularStructureId(), G4VPhysicalVolume::GetRotation(), G4LogicalVolume::GetSolid(), G4NavigationHistory::GetTopReplicaNo(), G4NavigationHistory::GetTopTransform(), G4NavigationHistory::GetTopVolume(), G4NavigationHistory::GetTopVolumeType(), G4LogicalVolume::GetVoxelHeader(), G4VSolid::Inside(), kNormal, kOutside, kParameterised, kReplica, kSurface, G4RegularNavigation::LevelLocate(), G4NormalNavigation::LevelLocate(), G4ParameterisedNavigation::LevelLocate(), G4VoxelNavigation::LevelLocate(), G4ReplicaNavigation::LevelLocate(), G4NavigationHistory::NewLevel(), PrintState(), ResetStackAndState(), G4VPhysicalVolume::SetCopyNo(), G4LogicalVolume::SetSolid(), G4VSolid::SurfaceNormal(), G4AffineTransform::TransformAxis(), G4AffineTransform::TransformPoint(), G4LogicalVolume::UpdateMaterial(), and VolumeType().
Referenced by ComputeStep(), F04ElementField::Construct(), G4TheRayTracer::CreateBitMap(), G4MagneticFieldModel::DescribeYourselfTo(), G4TrajectoryDrawByOriginVolume::Draw(), G4TrajectoryOriginVolumeFilter::Evaluate(), F04PrimaryGeneratorAction::GeneratePrimaries(), DMXParticleSource::IsSourceConfined(), G4SafetyHelper::Locate(), ResetHierarchyAndLocate(), and G4SteppingManager::SetInitialStep().
|
inline |
Referenced by G4VReadOutGeometry::FindROTouchable().
|
inline |
|
inline |
|
virtual |
Reimplemented in G4MultiNavigator.
Definition at line 550 of file G4Navigator.cc.
References CharacteriseDaughters(), ComputeLocalPoint(), FatalException, fEnteredDaughter, fExitedMother, fHistory, fVerbose, G4cout, G4endl, G4Exception(), GetDaughtersRegularStructureId(), G4VPhysicalVolume::GetLogicalVolume(), G4NavigationHistory::GetTopVolume(), G4NavigationHistory::GetTopVolumeType(), G4LogicalVolume::GetVoxelHeader(), kNormal, kParameterised, kReplica, G4ParameterisedNavigation::ParamVoxelLocate(), and G4VoxelNavigation::VoxelLocate().
Referenced by G4VIntersectionLocator::AdjustmentOfFoundIntersection(), ComputeSafety(), G4PropagatorInField::ComputeStep(), ComputeStep(), G4BrentLocator::EstimateIntersectionPoint(), G4MultiLevelLocator::EstimateIntersectionPoint(), G4SimpleLocator::EstimateIntersectionPoint(), G4Transportation::PostStepDoIt(), G4MonopoleTransportation::PostStepDoIt(), and G4SafetyHelper::ReLocateWithinVolume().
|
inline |
|
inline |
void G4Navigator::PrintState | ( | ) | const |
Definition at line 1754 of file G4Navigator.cc.
References fVerbose, G4cout, G4endl, G4VPhysicalVolume::GetName(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by ComputeSafety(), ComputeStep(), export_G4Navigator(), and LocateGlobalPointAndSetup().
|
virtual |
Reimplemented in G4MultiNavigator.
Definition at line 90 of file G4Navigator.cc.
References fHistory, G4TouchableHistory::GetHistory(), LocateGlobalPointAndSetup(), ResetState(), and SetupHierarchy().
Referenced by G4MultiNavigator::ResetHierarchyAndLocate(), and G4SteppingManager::SetInitialStep().
|
inline |
Referenced by G4Navigator(), and LocateGlobalPointAndSetup().
|
protectedvirtual |
Reimplemented in G4MultiNavigator.
Definition at line 1172 of file G4Navigator.cc.
References fEnteredDaughter, fExitedMother, and fWasLimitedByGeometry.
Referenced by ResetHierarchyAndLocate().
|
protected |
Definition at line 650 of file G4Navigator.cc.
References fEnteredDaughter, and fExitedMother.
Referenced by CheckNextStep(), and ComputeSafety().
|
inline |
Referenced by G4Transportation::PostStepDoIt(), and G4MonopoleTransportation::PostStepDoIt().
|
protected |
Definition at line 621 of file G4Navigator.cc.
References fEnteredDaughter, and fExitedMother.
Referenced by CheckNextStep(), and ComputeSafety().
|
protectedvirtual |
Reimplemented in G4MultiNavigator.
Definition at line 1211 of file G4Navigator.cc.
References G4VSolid::ComputeDimensions(), G4VPVParameterisation::ComputeSolid(), G4VPVParameterisation::ComputeTransformation(), G4ReplicaNavigation::ComputeTransformation(), fHistory, G4NavigationHistory::GetDepth(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetParameterisation(), G4NavigationHistory::GetReplicaNo(), G4NavigationHistory::GetVolume(), G4NavigationHistory::GetVolumeType(), kNormal, kParameterised, kReplica, G4TouchableHistory::MoveUpHistory(), G4LogicalVolume::SetSolid(), and G4LogicalVolume::UpdateMaterial().
Referenced by ResetHierarchyAndLocate().
Referenced by export_G4Navigator(), and GetGlobalExitNormal().
|
inline |
|
inlineprotected |
Referenced by GetLocalExitNormal(), and LocateGlobalPointAndSetup().
|
friend |
Definition at line 1916 of file G4Navigator.cc.
|
protected |
Definition at line 357 of file G4Navigator.hh.
Referenced by ComputeSafety(), ComputeStep(), LocateGlobalPointAndSetup(), LocateGlobalPointWithinVolume(), ResetState(), RestoreSavedState(), and SetSavedState().
|
protected |
Definition at line 363 of file G4Navigator.hh.
Referenced by ComputeSafety(), ComputeStep(), GetLocalExitNormal(), LocateGlobalPointAndSetup(), LocateGlobalPointWithinVolume(), ResetState(), RestoreSavedState(), and SetSavedState().
|
protected |
Definition at line 353 of file G4Navigator.hh.
Referenced by ComputeSafety(), ComputeStep(), GetLocalExitNormal(), LocateGlobalPointAndSetup(), LocateGlobalPointWithinVolume(), operator<<(), ResetHierarchyAndLocate(), and SetupHierarchy().
|
protected |
Definition at line 373 of file G4Navigator.hh.
Referenced by ComputeStep(), G4Navigator(), and GetLocalExitNormal().
|
protected |
Definition at line 370 of file G4Navigator.hh.
Referenced by ComputeSafety(), ComputeStep(), and G4Navigator().
|
protected |
Definition at line 377 of file G4Navigator.hh.
Referenced by G4MultiNavigator::ComputeSafety(), ComputeSafety(), G4MultiNavigator::ComputeStep(), ComputeStep(), G4MultiNavigator::GetGlobalExitNormal(), GetLocalExitNormal(), G4MultiNavigator::LocateGlobalPointAndSetup(), LocateGlobalPointAndSetup(), G4MultiNavigator::LocateGlobalPointWithinVolume(), LocateGlobalPointWithinVolume(), G4MultiNavigator::ObtainFinalStep(), operator<<(), G4MultiNavigator::PrepareNavigators(), G4MultiNavigator::PrepareNewTrack(), G4MultiNavigator::PrintLimited(), PrintState(), and G4MultiNavigator::WhichLimited().
|
protected |
Definition at line 367 of file G4Navigator.hh.
Referenced by G4MultiNavigator::LocateGlobalPointAndSetup(), LocateGlobalPointAndSetup(), G4MultiNavigator::LocateGlobalPointWithinVolume(), G4MultiNavigator::PrepareNavigators(), G4MultiNavigator::ResetState(), and ResetState().
|
protected |
Definition at line 346 of file G4Navigator.hh.
Referenced by ComputeSafety(), ComputeStep(), G4Navigator(), and GetLocalExitNormal().