40#ifndef G4PropagatorInField_hh
41#define G4PropagatorInField_hh 1
71 G4bool canRelaxDeltaChord =
false);
212 G4double stepRequest,
const char* methodName,
228 G4int fMax_loop_count = 1000;
230 G4int fIncreaseChordDistanceThreshold = 100;
231 G4bool fUseSafetyForOptimisation =
true;
236 G4int fActionThreshold_NoZeroSteps = 2;
237 G4int fSevereActionThreshold_NoZeroSteps = 10;
238 G4int fAbandonThreshold_NoZeroSteps = 50;
279 G4bool fSetFieldMgr =
false;
284 G4bool fParticleIsLooping =
false;
285 G4int fNoZeroStep = 0;
288 G4double fFull_CurveLen_of_LastAttempt = -1;
289 G4double fLast_ProposedStepLength = -1;
295 G4int fVerboseLevel = 0;
296 G4bool fVerbTracePiF =
false;
300 G4bool fFirstStepInVolume =
true;
301 G4bool fLastStepInVolume =
true;
307#include "G4PropagatorInField.icc"
void SetVerboseTrace(G4bool enable)
G4ThreeVector EndPosition() const
void SetThresholdNoZeroStep(G4int noAct, G4int noHarsh, G4int noAbandon)
G4int GetIterationsToIncreaseChordDistance() const
G4int GetThresholdNoZeroSteps(G4int i)
void printStatus(const G4FieldTrack &startFT, const G4FieldTrack ¤tFT, G4double requestStep, G4double safety, G4int step, G4VPhysicalVolume *startVolume)
G4FieldManager * FindAndSetFieldManager(G4VPhysicalVolume *pCurrentPhysVol)
G4double GetDeltaOneStep() const
G4FieldManager * GetCurrentFieldManager()
void CheckMode(G4bool mode)
G4int SetVerboseLevel(G4int verbose)
G4bool IsLastStepInVolume()
void PrintStepLengthDiagnostic(G4double currentProposedStepLength, G4double decreaseFactor, G4double stepTrial, const G4FieldTrack &aFieldTrack)
G4double GetZeroStepThreshold()
void SetMaxLoopCount(G4int new_max)
void SetNavigatorForPropagating(G4Navigator *SimpleOrMultiNavigator)
G4bool GetUseSafetyForOptimization()
G4bool IsParticleLooping() const
void ReportStuckParticle(G4int noZeroSteps, G4double proposedStep, G4double lastTriedStep, G4VPhysicalVolume *physVol)
void SetZeroStepThreshold(G4double newLength)
void SetDetectorFieldManager(G4FieldManager *newGlobalFieldManager)
G4double GetMaximumEpsilonStep() const
G4ChordFinder * GetChordFinder()
void SetIterationsToIncreaseChordDistance(G4int numIters)
G4EquationOfMotion * GetCurrentEquationOfMotion()
void SetUseSafetyForOptimization(G4bool)
void ClearPropagatorState()
G4double GetDeltaIntersection() const
G4bool IsFirstStepInVolume()
G4double GetEpsilonStep() const
void SetMaximumEpsilonStep(G4double newEpsMax)
G4Navigator * GetNavigatorForPropagating()
G4FieldTrack GetEndState() const
void RefreshIntersectionLocator()
G4ThreeVector EndMomentumDir() const
void ReportLoopingParticle(G4int count, G4double StepTaken, G4double stepRequest, const char *methodName, G4ThreeVector momentumVec, G4VPhysicalVolume *physVol)
G4bool IntersectChord(const G4ThreeVector &StartPointA, const G4ThreeVector &EndPointB, G4double &NewSafety, G4double &LinearStepLength, G4ThreeVector &IntersectionPoint)
G4VIntersectionLocator * GetIntersectionLocator()
G4int GetVerboseLevel() const
void SetMinimumEpsilonStep(G4double newEpsMin)
std::vector< G4ThreeVector > * GimmeTrajectoryVectorAndForgetIt() const
G4int GetMaxLoopCount() const
void SetIntersectionLocator(G4VIntersectionLocator *pLocator)
G4double GetLargestAcceptableStep()
void SetTrajectoryFilter(G4VCurvedTrajectoryFilter *filter)
G4double GetMinimumEpsilonStep() const
G4double ComputeStep(G4FieldTrack &pFieldTrack, G4double pCurrentProposedStepLength, G4double &pNewSafety, G4VPhysicalVolume *pPhysVol=nullptr, G4bool canRelaxDeltaChord=false)
void SetLargestAcceptableStep(G4double newBigDist)
void SetEpsilonStep(G4double newEps)