58 fDeltaOneStep(0.01*
mm), fDeltaIntersection(0.1*
mm),
59 fEpsMin(2.5e-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; }
void SetMaxStep(G4double stp)
SetMaxStep(G4double) sets the max. step size.
G4LogicalVolume * GetTransferMgnt()
G4PropagatorInField * fFieldPropagator
virtual ~F04GlobalField()
CLHEP::Hep3Vector G4ThreeVector
G4bool SetDetectorField(G4Field *detectorField)
F04DetectorConstruction * fDetectorConstruction
Definition of the F04GlobalField class.
virtual void AddFieldValue(const G4double point[4], G4double field[6]) const =0
AddFieldValue() will add the field value for this element to field[]. Implementations must be sure to...
G4double GetCaptureMgntB2()
double B(double temperature)
virtual void GetFieldValue(const G4double *point, G4double *field) const
GetFieldValue() returns the field value at a given point[]. field is really field[6]: Bx...
void SetChordFinder(G4ChordFinder *aChordFinder)
static G4ThreadLocal F04GlobalField * fObject
G4MagIntegratorStepper * fStepper
void SetColor(G4String c)
SetColor(G4String) sets the color.
void SetAccuraciesWithDeltaOneStep(G4double valDeltaOneStep)
static F04GlobalField * GetObject()
G4GLOB_DLL std::ostream G4cout
std::vector< F04ElementField * > FieldList
G4ThreeVector GetCaptureMgntCenter()
G4FieldManager * GetGlobalFieldManager()
Get the global field manager.
Definition of the F04FocusSolenoid class.
G4ChordFinder * fChordFinder
G4double GetTransferMgntB()
static G4TransportationManager * GetTransportationManager()
F04FieldMessenger * fFieldMessenger
G4FieldManager * GetFieldManager() const
G4LogicalVolume * GetCaptureMgnt()
G4EqEMFieldWithSpin * fEquation
bool IsInBoundingBox(const G4double point[4]) const
IsInBoundingBox() returns true if the point is within the global bounding box - global coordinates...
void ConstructField()
constructs all field tracking objects
void SetDeltaIntersection(G4double valueDintersection)
void SetMinimumEpsilonStep(G4double newEpsMin)
void SetFieldChangesEnergy(G4bool value)
Definition of the F04SimpleSolenoid class.
F04GlobalField(F04DetectorConstruction *const)
const F04ElementField ** fFp
G4double GetCaptureMgntB1()
void SetMaximumEpsilonStep(G4double newEpsMax)
G4PropagatorInField * GetPropagatorInField() const
void SetStepper()
Set the Stepper.
G4double fDeltaIntersection
void SetDeltaChord(G4double newval)
void Clear()
Clear() removes all ElementField-s from the global object, and destroys them. Used before the geometr...
G4ThreeVector GetTransferMgntCenter()
G4FieldManager * fFieldManager