58 fDeltaOneStep(0.01*
mm), fDeltaIntersection(0.1*
mm),
59 fEpsMin(2.5
e-7*
mm), fEpsMax(0.05*
mm),
60 fEquation(0), fFieldManager(0),
61 fFieldPropagator(0), fStepper(0), fChordFinder(0),
62 fDetectorConstruction(det)
151 G4cout <<
"Accuracy Parameters:" <<
172 focusSolenoid -> SetHalf(
true);
191 FieldList::iterator i;
246 G4cout <<
"G4ClassicalRK4 (default) is called" <<
G4endl;
273 field[0] = field[1] = field[2] = field[3] = field[4] = field[5] = 0.0;
276 if(point[0] != point[0])
return;
281 for (
int i=0; i<
fNfp; ++i) {
296 FieldList::iterator i;
302 if (
fFp) {
delete []
fFp; }
G4PropagatorInField * fFieldPropagator
G4double GetCaptureMgntB1()
G4double GetTransferMgntB()
void SetDeltaChord(G4double newval)
void SetMaximumEpsilonStep(G4double newEpsMax)
virtual void GetFieldValue(const G4double *point, G4double *field) const
static constexpr double mm
Definition of the F04SimpleSolenoid class.
void ConstructField()
constructs all field tracking objects
static G4ThreadLocal F04GlobalField * fObject
Definition of the F04FocusSolenoid class.
G4FieldManager * GetGlobalFieldManager()
Get the global field manager.
void SetMaxStep(G4double stp)
SetMaxStep(G4double) sets the max. step size.
G4ThreeVector GetTransferMgntCenter()
void SetAccuraciesWithDeltaOneStep(G4double valDeltaOneStep)
G4bool SetDetectorField(G4Field *detectorField, int failMode=0)
void SetFieldChangesEnergy(G4bool value)
G4double GetCaptureMgntB2()
G4FieldManager * GetFieldManager() const
const F04ElementField ** fFp
G4EqEMFieldWithSpin * fEquation
static F04GlobalField * GetObject()
G4LogicalVolume * GetTransferMgnt()
static G4TransportationManager * GetTransportationManager()
F04GlobalField(F04DetectorConstruction *const)
F04DetectorConstruction * fDetectorConstruction
void SetMinimumEpsilonStep(G4double newEpsMin)
G4MagIntegratorStepper * fStepper
virtual void AddFieldValue(const G4double point[4], G4double field[6]) const =0
void SetChordFinder(G4ChordFinder *aChordFinder)
void SetDeltaIntersection(G4double valueDintersection)
G4double fDeltaIntersection
std::vector< F04ElementField * > FieldList
Definition of the F04GlobalField class.
G4GLOB_DLL std::ostream G4cout
G4LogicalVolume * GetCaptureMgnt()
G4FieldManager * fFieldManager
G4PropagatorInField * GetPropagatorInField() const
G4ChordFinder * fChordFinder
G4ThreeVector GetCaptureMgntCenter()
F04FieldMessenger * fFieldMessenger
double B(double temperature)
void SetStepper()
Set the Stepper.
virtual ~F04GlobalField()
bool IsInBoundingBox(const G4double point[4]) const
void SetColor(G4String c)
SetColor(G4String) sets the color.