74 G4MonopoleFieldSetup::G4MonopoleFieldSetup()
83 fMonopoleFieldMessenger(0)
92 if (0 == fMonopoleFieldSetup)
95 fMonopoleFieldSetup = &theInstance;
98 return fMonopoleFieldSetup;
105 delete fMonopoleFieldMessenger;
106 if(fMagneticField)
delete fMagneticField;
107 if(fChordFinder)
delete fChordFinder;
108 if(fStepper)
delete fStepper;
109 if(fMonopoleStepper)
delete fMonopoleStepper;
117 if (fMagneticField) {
delete fMagneticField; }
119 if (fieldValue != 0.)
158 if(fChordFinder)
delete fChordFinder;
163 fChordFinder =
new G4ChordFinder( fMagneticField, fMinStep, fStepper);
166 fChordFinder =
new G4ChordFinder( fMagneticField, fMinStep, fMonopoleStepper);
G4MonopoleFieldMessenger(G4MonopoleFieldSetup *)
Definition of the G4MonopoleEquation class.
static constexpr double mm
void SetMagField(G4double fieldValue)
CLHEP::Hep3Vector G4ThreeVector
G4bool SetDetectorField(G4Field *detectorField)
void SetChordFinder(G4ChordFinder *aChordFinder)
Definition of the G4MonopoleFieldSetup class.
static G4MonopoleFieldSetup * GetMonopoleFieldSetup()
static G4TransportationManager * GetTransportationManager()
G4FieldManager * GetFieldManager() const
void SetStepperAndChordFinder(G4int val)
Definition of the G4MonopoleFieldMessenger class.