81 G4cout <<
" F01FieldSetup: magnetic field set to Uniform( "
82 << fieldVector <<
" ) " <<
G4endl;
98 G4cout <<
" F01FieldSetup: magnetic field set to Uniform( 0.0, 0, 0 ) "
136 G4cout<<
" F01FieldSetup::CreateStepperAndChordFinder() called "
137 <<
" to reset Stepper." <<
G4endl;
219 G4cout<<
"G4ClassicalRK4 Stepper (default) is chosen"<<
G4endl;
231 G4cout <<
"Setting Field strength to "
232 << fieldStrength /
gauss <<
" Gauss.";
240 position[0] = position[1] = position[2] = position[3] = 0.0;
241 if ( fieldStrength != 0.0 ) {
243 G4ThreeVector fieldVec(fieldValue[0], fieldValue[1], fieldValue[2]);
245 G4cout <<
" Magnetic field vector is "
251 G4Exception(
"F01FieldSetup::SetFieldValue(double)",
252 "IncorrectForZeroField",
254 "fMagneticField ptr should be set to 0 for no field.");
G4FieldManager * GetGlobalFieldManager()
CLHEP::Hep3Vector G4ThreeVector
G4bool SetDetectorField(G4Field *detectorField)
Definition of the F01FieldMessenger class.
G4Mag_UsualEqRhs * fEquation
G4FieldManager * fFieldManager
G4ChordFinder * fChordFinder
virtual void GetFieldValue(const G4double Point[4], G4double *Bfield) const =0
void SetChordFinder(G4ChordFinder *aChordFinder)
G4GLOB_DLL std::ostream G4cout
Definition of the F01FieldSetup class.
G4MagIntegratorStepper * fStepper
F01FieldMessenger * fFieldMessenger
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4TransportationManager * GetTransportationManager()
G4FieldManager * GetFieldManager() const
static const double gauss
void CreateStepperAndChordFinder()
void SetFieldObj(G4Field *pField)
void SetFieldValue(G4ThreeVector fieldVector)
G4MagneticField * fMagneticField