121 delete fFieldMessenger;
133 G4cout<<
"The minimal step is equal to "<<fMinStep/
mm<<
" mm"<<
G4endl;
137 if (fChordFinder)
delete fChordFinder;
156 if (fStepper)
delete fStepper;
158 switch ( fStepperType )
186 G4cout<<
"G4RKG3_Stepper is not currently working for Electric Field"
191 G4cout<<
"G4HelixExplicitEuler is not valid for Electric Field"<<
G4endl;
195 G4cout<<
"G4HelixImplicitEuler is not valid for Electric Field"<<
G4endl;
199 G4cout<<
"G4HelixSimpleRunge is not valid for Electric Field"<<
G4endl;
201 default: fStepper = 0;
220 if (fEMfield)
delete fEMfield;
Definition of the F02ElectricFieldSetup class.
static constexpr double mm
static constexpr double kilovolt
CLHEP::Hep3Vector G4ThreeVector
G4bool SetDetectorField(G4Field *detectorField)
Definition of the F02FieldMessenger class.
G4FieldManager * GetGlobalFieldManager()
void SetFieldValue(G4ThreeVector fieldVector)
virtual ~F02ElectricFieldSetup()
void SetChordFinder(G4ChordFinder *aChordFinder)
G4int GetNumberOfVariables() const
G4GLOB_DLL std::ostream G4cout
static constexpr double cm
static G4TransportationManager * GetTransportationManager()
G4FieldManager * GetFieldManager() const
void SetFieldObj(G4Field *pField)