63 const G4double pCurrentProposedStepLength,
69 pCurrentProposedStepLength,
89 G4cout <<
"G4ErrorPropagationNavigator::ComputeStep()" <<
G4endl
90 <<
" Target step: " << StepPlane
91 <<
", Transportation step: " << Step <<
G4endl;
92 target->
Dump(
"G4ErrorPropagationNavigator::ComputeStep Target " );
101 G4cout <<
"G4ErrorPropagationNavigator::ComputeStep()" <<
G4endl
102 <<
" TargetCloserThanBoundary: " << StepPlane <<
" < "
117 pNewSafety=
std::min(safetyGeom, safetyTarget);
122 G4cout <<
"G4ErrorPropagationNavigator::ComputeStep()" <<
G4endl
123 <<
" Step: " << Step <<
", ComputeSafety: " << pNewSafety
160 pMaxLength, keepState);
164 return std::min(safetyGeom, safetyTarget);
206 G4Exception(
"G4ErrorPropagationNavigator::GetGlobalExitNormal",
CLHEP::Hep3Vector G4ThreeVector
virtual G4double ComputeStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
Normal3D< T > normal() const
G4ErrorTargetType GetType() const
static double normal(HepRandomEngine *eptr)
virtual void Dump(const G4String &msg) const =0
void SetState(G4ErrorState sta)
G4GLOB_DLL std::ostream G4cout
G4ErrorPropagationNavigator()
~G4ErrorPropagationNavigator()
G4double TargetSafetyFromPoint(const G4ThreeVector &pGlobalpoint)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double ComputeStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
virtual G4ThreeVector GetGlobalExitNormal(const G4ThreeVector &point, G4bool *valid)
G4double ComputeSafety(const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=true)
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
virtual G4double GetDistanceFromPoint(const G4ThreeVector &, const G4ThreeVector &) const
const G4ErrorTarget * GetTarget(G4bool mustExist=0) const
G4ThreeVector GetGlobalExitNormal(const G4ThreeVector &point, G4bool *valid)
static G4ErrorPropagatorData * GetErrorPropagatorData()
virtual G4double ComputeSafety(const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=true)
virtual G4Plane3D GetTangentPlane(const G4ThreeVector &point) const =0