74#ifndef G4FIELDMANAGER_HH
75#define G4FIELDMANAGER_HH 1
193 void InitialiseFieldChangesEnergy();
205 G4Field* fDetectorField =
nullptr;
209 G4bool fAllocatedChordFinder =
false;
215 const G4double fEpsilonMinDefault= 5.0e-5;
216 const G4double fEpsilonMaxDefault= 1.0e-3;
218 static G4double fDefault_Delta_One_Step_Value;
219 static G4double fDefault_Delta_Intersection_Val;
224 G4bool fFieldChangesEnergy =
false;
240#include "G4FieldManager.icc"
std::ostringstream G4ExceptionDescription
void SetAccuraciesWithDeltaOneStep(G4double valDeltaOneStep)
virtual G4FieldManager * Clone() const
static G4double GetMaxAcceptedEpsilon()
G4bool DoesFieldChangeEnergy() const
virtual ~G4FieldManager()
G4bool SetDetectorField(G4Field *detectorField, G4int failMode=0)
static constexpr G4double fMinAcceptedEpsilon
static constexpr G4double fMaxWarningEpsilon
void CreateChordFinder(G4MagneticField *detectorMagField)
G4bool SetMaximumEpsilonStep(G4double newEpsMax)
void SetFieldChangesEnergy(G4bool value)
static G4double fMaxAcceptedEpsilon
void SetDeltaOneStep(G4double valueD1step)
void ReportBadEpsilonValue(G4ExceptionDescription &erm, G4double value, G4String &name) const
void SetChordFinder(G4ChordFinder *aChordFinder)
G4bool SetMinimumEpsilonStep(G4double newEpsMin)
virtual void ConfigureForTrack(const G4Track *)
void ProposeDetectorField(G4Field *detectorField)
G4double GetMinimumEpsilonStep() const
const G4ChordFinder * GetChordFinder() const
G4FieldManager(G4Field *detectorField=nullptr, G4ChordFinder *pChordFinder=nullptr, G4bool b=true)
G4double GetMaximumEpsilonStep() const
static G4bool fVerboseConstruction
static constexpr G4double fMaxFinalEpsilon
G4FieldManager & operator=(const G4FieldManager &)=delete
G4double GetDeltaOneStep() const
static G4bool SetMaxAcceptedEpsilon(G4double maxEps, G4bool softFail=false)
const G4Field * GetDetectorField() const
void ChangeDetectorField(G4Field *detectorField)
void SetDeltaIntersection(G4double valueDintersection)
G4FieldManager(const G4FieldManager &)=delete
G4ChordFinder * GetChordFinder()
G4double GetDeltaIntersection() const
G4bool DoesFieldExist() const