31#ifndef F04GlobalField_h
32#define F04GlobalField_h 1
36#include "G4FieldManager.hh"
37#include "G4PropagatorInField.hh"
38#include "G4MagIntegratorStepper.hh"
39#include "G4ChordFinder.hh"
41#include "G4MagneticField.hh"
42#include "G4ElectroMagneticField.hh"
44#include "G4Mag_EqRhs.hh"
45#include "G4Mag_SpinEqRhs.hh"
47#include "G4EqMagElectricField.hh"
48#include "G4EqEMFieldWithSpin.hh"
91 void GetFieldValue(
const G4double* point, G4double* field)
const override;
Definition of the F04DetectorConstruction class.
Definition of the F04ElementField class.
Definition of the F04FieldMessenger class.
std::vector< F04ElementField * > FieldList
static G4ThreadLocal F04GlobalField * fObject
void SetMinStep(G4double stp)
Set the minimum step length.
void SetEpsMin(G4double eps)
Set the minimum eps length.
void ConstructField()
constructs all field tracking objects
F04GlobalField & operator=(const F04GlobalField &)
~F04GlobalField() override
F04DetectorConstruction * fDetectorConstruction
G4FieldManager * fFieldManager
F04GlobalField(const F04GlobalField &)
void SetDeltaChord(G4double dcr)
Set the delta chord length.
void SetDeltaIntersection(G4double its)
Set the delta intersection length.
const F04ElementField ** fFp
G4ChordFinder * fChordFinder
void SetDeltaOneStep(G4double stp)
Set the delta one step length.
G4PropagatorInField * fFieldPropagator
G4bool DoesFieldChangeEnergy() const override
DoesFieldChangeEnergy() returns true.
F04FieldMessenger * fFieldMessenger
void Clear()
Clear() removes all ElementField-s from the global object, and destroys them.
void GetFieldValue(const G4double *point, G4double *field) const override
GetFieldValue() returns the field value at a given point[].
G4EqEMFieldWithSpin * fEquation
void SetEpsMax(G4double eps)
Set the maximum eps length.
void SetStepperType(G4int i)
Set the Stepper types.
void SetStepper()
Set the Stepper.
FieldList * GetFields()
Return the list of Element Fields.
static F04GlobalField * GetObject()
G4double fDeltaIntersection
void AddElementField(F04ElementField *f)
AddElementField() adds the ElementField object for a single element to the global field.
G4FieldManager * GetGlobalFieldManager()
Get the global field manager.
G4MagIntegratorStepper * fStepper