26 void GetFieldValue(
const double pos[3], G4double *bfield)
const override;
34 G4double rotation_angle;
Factory class for creating and managing multipole magnetic fields.
void GetFieldValue(const double pos[3], G4double *bfield) const override
Calculates the magnetic field at a given position.
void load_field_definitions(GFieldDefinition gfd) override
Sets the field definition for the field.
GField_MultipolesFactory(const std::shared_ptr< GOptions > &gopt)
Default constructor for the GField_MultipolesFactory class.
Abstract base class representing a magnetic field.
Utility struct to load GFields from options.