54#ifndef G4FIELDBUILDER_HH
55#define G4FIELDBUILDER_HH
223 void ConstructGlobalField();
228 void ConstructLocalFields();
233 void UpdateFieldSetups();
238 inline std::vector<G4FieldSetup*>& GetFieldSetups();
239 inline std::vector<std::pair<G4LogicalVolume*, G4Field*>>& GetLocalFields();
250 std::vector<G4FieldParameters*> fFieldParameters;
265 G4int fVerboseLevel = 1;
270inline std::vector<G4FieldSetup*>& G4FieldBuilder::GetFieldSetups()
273 return *fFieldSetups.Get();
276inline std::vector<std::pair<G4LogicalVolume*, G4Field*>>& G4FieldBuilder::GetLocalFields()
279 return *fLocalFields.Get();
G4FieldType
G4FieldType defines the available fields in Geant4.
G4EquationOfMotion is the abstract base class for the right hand size of the equation of motion of a ...
G4FieldBuilderMessenger is messenger class that defines commands for G4FieldBuilder.
G4FieldParameters * CreateFieldParameters(const G4String &fieldVolName)
G4FieldBuilder & operator=(const G4FieldBuilder &right)=delete
void SetUserEquationOfMotion(G4EquationOfMotion *equation, const G4String &volumeName="")
void SetUserStepper(G4MagIntegratorStepper *stepper, const G4String &volumeName="")
void ConstructFieldSetup()
G4FieldParameters * GetFieldParameters(const G4String &volumeName="") const
void SetLocalField(G4Field *field, G4LogicalVolume *lv, G4bool warn=false)
static G4bool IsInstance()
static G4FieldBuilder * Instance()
G4FieldBuilder(const G4FieldBuilder &right)=delete
void SetFieldType(G4FieldType fieldType)
void SetVerboseLevel(G4int value)
void SetGlobalField(G4Field *field, G4bool warn=false)
G4FieldParameters defines the type of equation of motion of a particle in a field and the integration...
G4FieldSetup is a class for constructing magnetic, electromagnetic and gravity fields which strength ...
G4Field is the abstract class for any kind of field. It allows any kind of field (vector,...
G4LogicalVolume represents a leaf node or unpositioned subtree in the geometry hierarchy....
G4MagIntegratorStepper is an abstract base class for integrator of particle's equation of motion,...