Geant4.10
|
#include <G4PathFinder.hh>
Static Public Member Functions | |
static G4PathFinder * | GetInstance () |
Protected Member Functions | |
G4double | DoNextLinearStep (const G4FieldTrack &FieldTrack, G4double proposedStepLength) |
G4double | DoNextCurvedStep (const G4FieldTrack &FieldTrack, G4double proposedStepLength, G4VPhysicalVolume *pCurrentPhysVolume) |
void | WhichLimited () |
void | PrintLimited () |
G4bool | UseSafetyForOptimization (G4bool) |
void | ReportMove (const G4ThreeVector &OldV, const G4ThreeVector &NewV, const G4String &Quantity) const |
G4PathFinder () | |
~G4PathFinder () | |
G4Navigator * | GetNavigator (G4int n) const |
Definition at line 61 of file G4PathFinder.hh.
|
protected |
Definition at line 69 of file G4PathFinder.cc.
References G4GeometryTolerance::GetInstance(), G4TransportationManager::GetPropagatorInField(), G4GeometryTolerance::GetSurfaceTolerance(), G4TransportationManager::GetTransportationManager(), and kUndefLimited.
Referenced by GetInstance().
|
protected |
Definition at line 115 of file G4PathFinder.cc.
G4double G4PathFinder::ComputeSafety | ( | const G4ThreeVector & | globalPoint | ) |
Definition at line 732 of file G4PathFinder.cc.
References G4cout, G4endl, G4TransportationManager::GetActiveNavigatorsIterator(), and position.
Referenced by G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4SafetyHelper::ComputeSafety(), and ReLocate().
G4double G4PathFinder::ComputeStep | ( | const G4FieldTrack & | pFieldTrack, |
G4double | pCurrentProposedStepLength, | ||
G4int | navigatorId, | ||
G4int | stepNo, | ||
G4double & | pNewSafety, | ||
ELimited & | limitedStep, | ||
G4FieldTrack & | EndState, | ||
G4VPhysicalVolume * | currentVolume | ||
) |
Definition at line 151 of file G4PathFinder.cc.
References DoNextCurvedStep(), DoNextLinearStep(), FatalException, G4PropagatorInField::FindAndSetFieldManager(), G4cout, G4endl, G4Exception(), G4FieldTrack::GetCharge(), G4FieldManager::GetDetectorField(), G4FieldTrack::GetMomentumDirection(), G4FieldTrack::GetPosition(), Locate(), CLHEP::Hep3Vector::mag2(), G4INCL::Math::min(), python.hepunit::mm, and MovePoint().
Referenced by G4CoupledTransportation::AlongStepGetPhysicalInteractionLength(), G4WeightCutOffProcess::AlongStepGetPhysicalInteractionLength(), G4ParallelWorldProcess::AlongStepGetPhysicalInteractionLength(), G4ImportanceProcess::AlongStepGetPhysicalInteractionLength(), G4ParallelWorldScoringProcess::AlongStepGetPhysicalInteractionLength(), G4WeightWindowProcess::AlongStepGetPhysicalInteractionLength(), and G4FastSimulationManagerProcess::AlongStepGetPhysicalInteractionLength().
G4TouchableHandle G4PathFinder::CreateTouchableHandle | ( | G4int | navId | ) | const |
Definition at line 765 of file G4PathFinder.cc.
References G4cout, G4endl, G4TouchableHistory::GetHistory(), G4VPhysicalVolume::GetName(), GetNavigator(), and G4TouchableHistory::UpdateYourself().
Referenced by G4CoupledTransportation::PostStepDoIt(), G4WeightCutOffProcess::PostStepDoIt(), G4ImportanceProcess::PostStepDoIt(), G4WeightWindowProcess::PostStepDoIt(), G4ParallelWorldProcess::PostStepDoIt(), G4ParallelWorldScoringProcess::PostStepDoIt(), G4WeightCutOffProcess::StartTracking(), G4ImportanceProcess::StartTracking(), G4WeightWindowProcess::StartTracking(), G4ParallelWorldScoringProcess::StartTracking(), and G4ParallelWorldProcess::StartTracking().
|
protected |
Definition at line 1137 of file G4PathFinder.cc.
References G4Navigator::ComputeSafety(), G4PropagatorInField::ComputeStep(), FatalException, G4cout, G4endl, G4Exception(), G4FieldTrack::GetPosition(), kDoNot, LimitedString(), G4INCL::Math::min(), G4MultiNavigator::ObtainFinalStep(), and PrintLimited().
Referenced by ComputeStep().
|
protected |
Definition at line 801 of file G4PathFinder.cc.
References G4cout, G4endl, G4FieldTrack::GetMomentumDirection(), G4FieldTrack::GetPosition(), kDoNot, kUnique, CLHEP::Hep3Vector::mag2(), G4INCL::Math::max(), G4INCL::Math::min(), G4FieldTrack::SetPosition(), G4FieldTrack::SetProperTimeOfFlight(), sqr(), and WhichLimited().
Referenced by ComputeStep().
Definition at line 124 of file G4PathFinder.cc.
References G4SafetyHelper::EnableParallelNavigation(), G4TransportationManager::GetNavigatorForTracking(), G4TransportationManager::GetSafetyHelper(), and G4PropagatorInField::SetNavigatorForPropagating().
Referenced by PrepareNewTrack().
|
inline |
Definition at line 294 of file G4PathFinder.hh.
Referenced by G4CoupledTransportation::AlongStepGetPhysicalInteractionLength().
|
static |
Definition at line 57 of file G4PathFinder.cc.
References G4PathFinder().
Referenced by G4CoupledTransportation::G4CoupledTransportation(), G4FastSimulationManagerProcess::G4FastSimulationManagerProcess(), G4ImportanceProcess::G4ImportanceProcess(), G4ParallelWorldProcess::G4ParallelWorldProcess(), G4ParallelWorldScoringProcess::G4ParallelWorldScoringProcess(), G4WeightCutOffProcess::G4WeightCutOffProcess(), G4WeightWindowProcess::G4WeightWindowProcess(), and G4SafetyHelper::InitialiseNavigator().
|
inline |
Definition at line 271 of file G4PathFinder.hh.
Referenced by G4FastSimulationManagerProcess::AtRestGetPhysicalInteractionLength(), and G4FastSimulationManagerProcess::PostStepGetPhysicalInteractionLength().
|
inline |
|
inline |
Definition at line 283 of file G4PathFinder.hh.
|
inlineprotected |
Definition at line 304 of file G4PathFinder.hh.
References n.
Referenced by CreateTouchableHandle(), and PrintLimited().
|
inline |
Definition at line 288 of file G4PathFinder.hh.
Referenced by G4CoupledTransportation::AlongStepGetPhysicalInteractionLength().
|
inline |
|
inline |
Definition at line 317 of file G4PathFinder.hh.
Definition at line 1346 of file G4PathFinder.cc.
References kDoNot, kSharedOther, kSharedTransport, and kUnique.
Referenced by DoNextCurvedStep(), and PrintLimited().
void G4PathFinder::Locate | ( | const G4ThreeVector & | position, |
const G4ThreeVector & | direction, | ||
G4bool | relativeSearch = true |
||
) |
Definition at line 458 of file G4PathFinder.cc.
References G4cout, G4endl, G4TransportationManager::GetActiveNavigatorsIterator(), G4FieldTrack::GetPosition(), kDoNot, CLHEP::Hep3Vector::mag2(), position, and ReportMove().
Referenced by ComputeStep(), G4SafetyHelper::Locate(), G4CoupledTransportation::PostStepDoIt(), and PrepareNewTrack().
|
inline |
Definition at line 299 of file G4PathFinder.hh.
Referenced by ComputeStep(), and PrepareNewTrack().
|
inline |
Definition at line 310 of file G4PathFinder.hh.
Referenced by G4CoupledTransportation::AlongStepGetPhysicalInteractionLength().
void G4PathFinder::PrepareNewTrack | ( | const G4ThreeVector & | position, |
const G4ThreeVector & | direction, | ||
G4VPhysicalVolume * | massStartVol = 0 |
||
) |
Definition at line 349 of file G4PathFinder.cc.
References EnableParallelNavigation(), FatalException, G4endl, G4Exception(), G4TransportationManager::GetActiveNavigatorsIterator(), G4TransportationManager::GetSafetyHelper(), G4SafetyHelper::InitialiseHelper(), kDoNot, Locate(), MovePoint(), position, and G4MultiNavigator::PrepareNavigators().
Referenced by G4ImportanceProcess::StartTracking(), G4WeightCutOffProcess::StartTracking(), G4WeightWindowProcess::StartTracking(), G4ParallelWorldScoringProcess::StartTracking(), G4ParallelWorldProcess::StartTracking(), G4FastSimulationManagerProcess::StartTracking(), and G4CoupledTransportation::StartTracking().
|
protected |
Definition at line 1076 of file G4PathFinder.cc.
References G4cout, G4endl, G4VPhysicalVolume::GetName(), GetNavigator(), G4Navigator::GetWorldVolume(), and LimitedString().
Referenced by DoNextCurvedStep(), and WhichLimited().
void G4PathFinder::PushPostSafetyToPreSafety | ( | ) |
Definition at line 1366 of file G4PathFinder.cc.
void G4PathFinder::ReLocate | ( | const G4ThreeVector & | position | ) |
Definition at line 536 of file G4PathFinder.cc.
References ComputeSafety(), FatalException, G4cout, G4endl, G4Exception(), G4TransportationManager::GetActiveNavigatorsIterator(), G4GeometryTolerance::GetInstance(), G4FieldTrack::GetPosition(), G4GeometryTolerance::GetRadialTolerance(), kDoNot, CLHEP::Hep3Vector::mag(), CLHEP::Hep3Vector::mag2(), G4INCL::Math::max(), position, ReportMove(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by G4CoupledTransportation::PostStepDoIt(), and G4SafetyHelper::ReLocateWithinVolume().
|
protected |
Definition at line 436 of file G4PathFinder.cc.
References G4cerr, G4endl, G4Exception(), JustWarning, CLHEP::Hep3Vector::mag(), and python.hepunit::mm.
Referenced by Locate(), and ReLocate().
Definition at line 278 of file G4PathFinder.hh.
|
protected |
Definition at line 1018 of file G4PathFinder.cc.
References G4cout, G4endl, kDoNot, kSharedOther, kSharedTransport, kUnique, and PrintLimited().
Referenced by DoNextLinearStep().