20#include <G4MagneticField.hh>
27class G4MagIntegratorStepper;
29class G4VIntegrationDriver;
31class TVirtualMagField;
51 G4LogicalVolume* lv = 0);
Definition of the TG4FieldParameters class.
The magnetic field parameters.
The class for constructing magnetic, electromagnetic and gravity fields which strength is defined via...
G4EquationOfMotion * fEquation
The equation of motion.
G4ChordFinder * fChordFinder
Chord finder.
G4VIntegrationDriver * GetIntegrationDriver() const
G4VIntegrationDriver * CreateFSALStepperAndDriver(G4EquationOfMotion *equation, StepperType stepper, G4double minStep)
G4Field * CreateG4Field(const TG4FieldParameters ¶meters, TVirtualMagField *magField)
G4LogicalVolume * fLogicalVolume
The associated volume (if local field)
TVirtualMagField * fVirtualMagField
The associated TGeo magnetic field.
TG4Field(const TG4FieldParameters ¶meters, TVirtualMagField *magField, G4LogicalVolume *lv=0)
G4MagIntegratorStepper * fStepper
The magnetic integrator stepper.
G4EquationOfMotion * CreateEquation(EquationType equation)
G4MagIntegratorStepper * GetStepper() const
G4MagIntegratorStepper * CreateStepper(G4EquationOfMotion *equation, StepperType stepper)
G4VIntegrationDriver * fDriver
The magnetic integrator driver.
G4Field * GetG4Field() const
void Update(const TG4FieldParameters ¶meters)
G4Field * fG4Field
Geant4 field.
G4EquationOfMotion * GetEquation() const