86 G4cout <<
" F01FieldSetup: magnetic field set to Uniform( "
87 << fieldVector <<
" ) " <<
G4endl;
103 G4cout <<
" F01FieldSetup: magnetic field set to Uniform( 0.0, 0, 0 ) "
143 G4cout <<
" F01FieldSetup::CreateStepperAndChordFinder() called. " <<
G4endl
144 <<
" 1. Creating Stepper." <<
G4endl;
226 G4cout<<
"G4BogackiShampine23 Stepper is chosen"<<
G4endl;
231 G4cout<<
"G4BogackiShampine45 Stepper is chosen"<<
G4endl;
240 G4cout<<
"G4ClassicalRK4 Stepper (default) is chosen"<<
G4endl;
254 G4cout <<
"Setting Field strength to "
255 << fieldStrength /
gauss <<
" Gauss.";
263 position[0] = position[1] = position[2] = position[3] = 0.0;
264 if ( fieldStrength != 0.0 ) {
266 G4ThreeVector fieldVec(fieldValue[0], fieldValue[1], fieldValue[2]);
268 G4cout <<
" Magnetic field vector is "
274 G4Exception(
"F01FieldSetup::SetFieldValue(double)",
275 "IncorrectForZeroField",
277 "fMagneticField ptr should be set to 0 for no field.");
CLHEP::Hep3Vector G4ThreeVector
F01FieldMessenger * fFieldMessenger
static constexpr double mm
virtual void GetFieldValue(const G4double Point[4], G4double *Bfield) const =0
G4ChordFinder * fChordFinder
G4MagIntegratorStepper * fStepper
void SetFieldObj(G4Field *pField)
G4bool SetDetectorField(G4Field *detectorField, int failMode=0)
void SetFieldValue(G4ThreeVector fieldVector)
static constexpr double gauss
G4FieldManager * GetFieldManager() const
G4FieldManager * fFieldManager
void CreateStepperAndChordFinder()
static G4TransportationManager * GetTransportationManager()
Definition of the F01FieldMessenger class.
G4FieldManager * GetGlobalFieldManager()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4Mag_UsualEqRhs * fEquation
void SetChordFinder(G4ChordFinder *aChordFinder)
Definition of the F01FieldSetup class.
G4MagneticField * fMagneticField
G4GLOB_DLL std::ostream G4cout