Plugin-driven magnetic-field framework.
More...
The module provides:
- A common abstract interface for magnetic fields (GField),
- A lightweight configuration carrier (GFieldDefinition),
- A manager that loads plugins and builds
G4FieldManager instances (GMagneto),
- Option definitions for fields implemented in this module (namespace gfields).
The actual magnetic-field behavior is implemented in plugins (shared libraries) that expose a C factory symbol (see instantiate()).
◆ ERR_MAP_FILE_NOT_FOUND
| int gfields::ERR_MAP_FILE_NOT_FOUND = 1207 |
|
inlineconstexpr |
◆ ERR_STEPPER_NOT_FOUND
| int gfields::ERR_STEPPER_NOT_FOUND = 1203 |
|
inlineconstexpr |
◆ ERR_WRONG_COORDINATE_DEF
| int gfields::ERR_WRONG_COORDINATE_DEF = 1206 |
|
inlineconstexpr |
◆ ERR_WRONG_FIELD_NOT_FOUND
| int gfields::ERR_WRONG_FIELD_NOT_FOUND = 1202 |
|
inlineconstexpr |
◆ ERR_WRONG_FIELD_ROTATION
| int gfields::ERR_WRONG_FIELD_ROTATION = 1201 |
|
inlineconstexpr |
◆ ERR_WRONG_FIELD_SYMMETRY
| int gfields::ERR_WRONG_FIELD_SYMMETRY = 1205 |
|
inlineconstexpr |
◆ ERR_WRONG_POLE_NUMBER
| int gfields::ERR_WRONG_POLE_NUMBER = 1204 |
|
inlineconstexpr |
◆ GFIELD_DEFAULT_INTEGRATION_STEPPER
| char gfields::GFIELD_DEFAULT_INTEGRATION_STEPPER[] = "G4DormandPrince745" |
|
inlineconstexpr |
This is a Geant4 stepper class name expressed as a string.
Definition at line 15 of file gfieldConventions.h.
◆ GFIELD_DEFAULT_MAXIMUM_STEP
| char gfields::GFIELD_DEFAULT_MAXIMUM_STEP[] = "0*mm" |
|
inlineconstexpr |
A value less than or equal to zero leaves the Geant4 propagator default unchanged.
Definition at line 29 of file gfieldConventions.h.
◆ GFIELD_DEFAULT_MINIMUM_STEP
| char gfields::GFIELD_DEFAULT_MINIMUM_STEP[] = "1.0*mm" |
|
inlineconstexpr |
This value is stored as a string to preserve unit expressions and is parsed later.
Definition at line 22 of file gfieldConventions.h.
◆ GFIELD_DEFAULT_ROTANGLE
| char gfields::GFIELD_DEFAULT_ROTANGLE[] = "0*deg" |
|
inlineconstexpr |
◆ GFIELD_DEFAULT_VERBOSITY
| char gfields::GFIELD_DEFAULT_VERBOSITY[] = "0" |
|
inlineconstexpr |
◆ GFIELD_DEFAULT_VERTEX
| char gfields::GFIELD_DEFAULT_VERTEX[] = "0*mm" |
|
inlineconstexpr |
◆ GLOBAL_FIELD_OPTION
| char gfields::GLOBAL_FIELD_OPTION[] = "global_field" |
|
inlineconstexpr |
The value is the name of a configured field (see gmultipoles / gfields). The corresponding G4FieldManager is installed on the ROOT world volume and propagated to all daughters, acting as a global field wherever a more specific per-volume field is not set.
Definition at line 55 of file gfieldConventions.h.
◆ MAX_FIELD_STEP_OPTION
| char gfields::MAX_FIELD_STEP_OPTION[] = "max_field_step" |
|
inlineconstexpr |
The value is parsed as a Geant4 length and passed to G4PropagatorInField::SetLargestAcceptableStep() when positive. This controls the largest field propagation step accepted by Geant4 transportation.
Definition at line 74 of file gfieldConventions.h.
◆ NO_FIELD_ALL
| char gfields::NO_FIELD_ALL[] = "all" |
|
inlineconstexpr |
◆ NO_FIELD_OPTION
| char gfields::NO_FIELD_OPTION[] = "no_field" |
|
inlineconstexpr |
The value is either a single gvolume name, a whitespace/comma-separated list of gvolume names, or the special value gfields::NO_FIELD_ALL. A listed volume that was associated with a field has that association removed; gfields::NO_FIELD_ALL removes every per-volume field as well as the gfields::GLOBAL_FIELD_OPTION. Fields that end up unused as a result are never loaded (their plugins and maps are skipped).
Definition at line 66 of file gfieldConventions.h.