|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4FieldParameters defines the type of equation of motion of a particle in a field and the integration method, as well as other accuracy parameters. The default values correspond to the defaults set in Geant4. More...
#include <G4FieldParameters.hh>
Static Public Member Functions | |
| static G4String | FieldTypeName (G4FieldType field) |
| static G4String | EquationTypeName (G4EquationType equation) |
| static G4String | StepperTypeName (G4StepperType stepper) |
| static G4FieldType | GetFieldType (const G4String &name) |
| static G4EquationType | GetEquationType (const G4String &name) |
| static G4StepperType | GetStepperType (const G4String &name) |
G4FieldParameters defines the type of equation of motion of a particle in a field and the integration method, as well as other accuracy parameters. The default values correspond to the defaults set in Geant4.
Definition at line 167 of file G4FieldParameters.hh.
| G4FieldParameters::G4FieldParameters | ( | const G4String & | volumeName = "" | ) |
Constructor for G4FieldParameters.
| [in] | volumeName | The volume name where field is applied. |
Definition at line 255 of file G4FieldParameters.cc.
Referenced by G4FieldParameters(), and operator=().
| G4FieldParameters::~G4FieldParameters | ( | ) |
Destructor.
Definition at line 264 of file G4FieldParameters.cc.
|
delete |
Copy constructor and assignment operator not allowed.
|
static |
Returns the equation type as a string.
Definition at line 65 of file G4FieldParameters.cc.
Referenced by G4FieldParametersMessenger::G4FieldParametersMessenger(), GetEquationType(), PrintParameters(), and G4FieldParametersMessenger::SetNewValue().
|
static |
Returns the field type as a string.
Definition at line 42 of file G4FieldParameters.cc.
Referenced by G4FieldParametersMessenger::G4FieldParametersMessenger(), GetFieldType(), G4FieldSetup::PrintInfo(), PrintParameters(), and G4FieldParametersMessenger::SetNewValue().
| G4double G4FieldParameters::GetConstDistance | ( | ) | const |
Gets the distance within which the field is considered constant.
| G4double G4FieldParameters::GetDeltaChord | ( | ) | const |
Gets the delta chord in G4ChordFinder.
| G4double G4FieldParameters::GetDeltaIntersection | ( | ) | const |
Gets the delta intersection in global field manager.
| G4double G4FieldParameters::GetDeltaOneStep | ( | ) | const |
Gets the delta one step in global field manager.
| const G4EquationType & G4FieldParameters::GetEquationType | ( | ) | const |
Gets the type of equation of motion of a particle in a field.
|
static |
Returns the equation type for given equation type name.
Definition at line 189 of file G4FieldParameters.cc.
| const G4FieldType & G4FieldParameters::GetFieldType | ( | ) | const |
Gets the type of field.
|
static |
Returns the field type for given field type name.
Definition at line 173 of file G4FieldParameters.cc.
| G4double G4FieldParameters::GetMaximumEpsilonStep | ( | ) | const |
Gets the maximum epsilon step in global field manager.
| G4double G4FieldParameters::GetMinimumEpsilonStep | ( | ) | const |
Gets the minimum epsilon step in global field manager.
| G4double G4FieldParameters::GetMinimumStep | ( | ) | const |
Gets the minimum step in G4ChordFinder.
| const G4StepperType & G4FieldParameters::GetStepperType | ( | ) | const |
Gets the type of integrator of particle's equation of motion.
|
static |
Returns the stepper type for given stepper type name.
Definition at line 210 of file G4FieldParameters.cc.
| G4EquationOfMotion * G4FieldParameters::GetUserEquationOfMotion | ( | ) | const |
Gets the user defined equation of motion.
| G4MagIntegratorStepper * G4FieldParameters::GetUserStepper | ( | ) | const |
Gets the user defined integrator of particle's equation of motion.
| const G4String & G4FieldParameters::GetVolumeName | ( | ) | const |
Gets the name of associated volume, if local field.
Referenced by G4FieldParametersMessenger::G4FieldParametersMessenger(), and G4FieldBuilder::GetFieldParameters().
|
delete |
| void G4FieldParameters::PrintParameters | ( | ) | const |
Prints all customisable accuracy parameters.
Definition at line 276 of file G4FieldParameters.cc.
| void G4FieldParameters::SetConstDistance | ( | G4double | value | ) |
Sets the distance within which the field is considered constant.
| void G4FieldParameters::SetDeltaChord | ( | G4double | value | ) |
Sets the delta chord in G4ChordFinder.
| void G4FieldParameters::SetDeltaIntersection | ( | G4double | value | ) |
Sets the delta intersection in global field manager.
| void G4FieldParameters::SetDeltaOneStep | ( | G4double | value | ) |
Sets the delta one step in global field manager.
| void G4FieldParameters::SetEquationType | ( | G4EquationType | equation | ) |
Sets the type of equation of motion of a particle in a field.
| void G4FieldParameters::SetFieldType | ( | G4FieldType | field | ) |
Sets the type of field.
| void G4FieldParameters::SetMaximumEpsilonStep | ( | G4double | value | ) |
Sets the maximum epsilon step in global field manager.
| void G4FieldParameters::SetMinimumEpsilonStep | ( | G4double | value | ) |
Sets the minimum epsilon step in global field manager.
| void G4FieldParameters::SetMinimumStep | ( | G4double | value | ) |
Sets the minimum step in G4ChordFinder.
| void G4FieldParameters::SetStepperType | ( | G4StepperType | stepper | ) |
Sets the type of integrator of particle's equation of motion.
| void G4FieldParameters::SetUserEquationOfMotion | ( | G4EquationOfMotion * | equation | ) |
Sets the user defined equation of motion.
Definition at line 298 of file G4FieldParameters.cc.
Referenced by G4FieldBuilder::SetUserEquationOfMotion().
| void G4FieldParameters::SetUserStepper | ( | G4MagIntegratorStepper * | stepper | ) |
Sets the user defined integrator of particle's equation of motion.
Definition at line 307 of file G4FieldParameters.cc.
Referenced by G4FieldBuilder::SetUserStepper().
|
static |
Returns the stepper type as a string.
Definition at line 98 of file G4FieldParameters.cc.
Referenced by G4FieldParametersMessenger::G4FieldParametersMessenger(), GetStepperType(), G4FieldSetup::PrintInfo(), PrintParameters(), and G4FieldParametersMessenger::SetNewValue().