1 #ifndef GFIELD_MULTIPOLES_FACTORY_H
2 #define GFIELD_MULTIPOLES_FACTORY_H 1
26 void GetFieldValue(
const G4double pos[4], G4double *bfield)
const override;
34 G4double rotation_angle;
Factory class for creating and managing multipole magnetic fields.
GField_MultipolesFactory()
Default constructor for the GField_MultipolesFactory class.
void GetFieldValue(const G4double pos[4], 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.
Abstract base class representing a magnetic field.
Utility struct to load GFields from options.