41 : fDetectorField(detectorField),
42 fChordFinder(pChordFinder),
43 fAllocatedChordFinder(false),
44 fEpsilonMinDefault(5.0e-5),
45 fEpsilonMaxDefault(0.001),
46 fDefault_Delta_One_Step_Value(0.01),
47 fDefault_Delta_Intersection_Val(0.001),
48 fEpsilonMin( fEpsilonMinDefault ),
49 fEpsilonMax( fEpsilonMaxDefault)
51 fDelta_One_Step_Value= fDefault_Delta_One_Step_Value;
52 fDelta_Intersection_Val= fDefault_Delta_Intersection_Val;
56 fFieldChangesEnergy= fieldChangesEnergy;
63 : fDetectorField(detectorField), fAllocatedChordFinder(true),
64 fEpsilonMinDefault(5.0e-5),
65 fEpsilonMaxDefault(0.001),
66 fFieldChangesEnergy(false),
67 fDefault_Delta_One_Step_Value(0.01),
68 fDefault_Delta_Intersection_Val(0.001),
69 fEpsilonMin( fEpsilonMinDefault ),
70 fEpsilonMax( fEpsilonMaxDefault)
73 fDelta_One_Step_Value= fDefault_Delta_One_Step_Value;
74 fDelta_Intersection_Val= fDefault_Delta_Intersection_Val;
87 if( fAllocatedChordFinder ){
96 if ( fAllocatedChordFinder )
99 fAllocatedChordFinder=
true;
104 fDetectorField= pDetectorField;
106 if ( pDetectorField )
109 fFieldChangesEnergy=
false;
static void DeRegister(G4FieldManager *pVolume)
static void Register(G4FieldManager *pVolume)
G4bool SetDetectorField(G4Field *detectorField)
virtual ~G4FieldManager()
void CreateChordFinder(G4MagneticField *detectorMagField)
virtual void ConfigureForTrack(const G4Track *)
G4FieldManager(G4Field *detectorField=0, G4ChordFinder *pChordFinder=0, G4bool b=true)
virtual G4bool DoesFieldChangeEnergy() const =0