![]() |
ATLAS Offline Software
|
Tool base class for implementation/retrieval of a G4FieldManager. More...
#include "G4AtlasTools/G4FieldManagerToolBase.h"
Public Member Functions | |
| G4FieldManagerToolBase (const std::string &type, const std::string &name, const IInterface *parent) | |
| Standard constructor. | |
| virtual | ~G4FieldManagerToolBase () |
| Destructor. | |
| virtual StatusCode | initialize () override |
| Initialize method. | |
Protected Member Functions | |
| G4MagIntegratorStepper * | getStepper (const std::string &stepperType, G4MagneticField *field) const |
| Common method to construct a stepper of requested type. | |
| StatusCode | setFieldParameters (G4FieldManager *fieldMgr) const |
| Common method to apply configuredfield parameters. | |
Protected Attributes | |
| ServiceHandle< IG4FieldSvc > | m_fieldSvc {this, "FieldSvc", "G4FieldSvc", "Service providing a G4MagneticField"} |
| Handle to the G4 field service. | |
| Gaudi::Property< bool > | m_fieldOn {this, "FieldOn", true, "Toggles field on/off"} |
| Gaudi::Property< std::string > | m_integratorStepper {this, "IntegratorStepper", "AtlasRK4", "Integrator stepper name"} |
| The type of stepper to use. | |
| ToolHandle< IEquationOfMotionTool > | m_equationOfMotion {this, "EquationOfMotion", "", ""} |
| The type of equation of motion to use. | |
Field parameters | |
| Gaudi::Property< double > | m_minEps {this, "MinimumEpsilonStep", -1.0, "Minimum epsilon (see G4 documentation)"} |
| Gaudi::Property< double > | m_maxEps {this, "MaximumEpsilonStep", -1.0, "Maximum epsilon (see G4 documentation)"} |
| Gaudi::Property< double > | m_deltaChord {this, "DeltaChord", -1.0, "Missing distance for the chord finder"} |
| Gaudi::Property< double > | m_deltaOneStep {this, "DeltaOneStep", -1.0, "Delta(one-step)"} |
| Gaudi::Property< double > | m_deltaIntersection {this, "DeltaIntersection", -1.0, "Accuracy for boundary intersection"} |
| Gaudi::Property< double > | m_maxStep {this, "MaximumStep", -1.0, "Maximum step length in field (see G4 documentation)"} |
| Gaudi::Property< double > | m_minStep {this, "MinimumStep",1e-2, "Minimum step length in field (see G4 documentation)"} |
Tool base class for implementation/retrieval of a G4FieldManager.
Definition at line 33 of file G4FieldManagerToolBase.h.
| G4FieldManagerToolBase::G4FieldManagerToolBase | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Standard constructor.
Definition at line 52 of file G4FieldManagerToolBase.cxx.
|
inlinevirtual |
|
protected |
Common method to construct a stepper of requested type.
Definition at line 190 of file G4FieldManagerToolBase.cxx.
|
overridevirtual |
Initialize method.
Definition at line 62 of file G4FieldManagerToolBase.cxx.
|
protected |
Common method to apply configuredfield parameters.
Definition at line 238 of file G4FieldManagerToolBase.cxx.
|
protected |
Definition at line 81 of file G4FieldManagerToolBase.h.
|
protected |
Definition at line 83 of file G4FieldManagerToolBase.h.
|
protected |
Definition at line 82 of file G4FieldManagerToolBase.h.
|
protected |
The type of equation of motion to use.
Definition at line 74 of file G4FieldManagerToolBase.h.
|
protected |
Definition at line 68 of file G4FieldManagerToolBase.h.
|
protected |
Handle to the G4 field service.
Definition at line 65 of file G4FieldManagerToolBase.h.
|
protected |
The type of stepper to use.
Definition at line 71 of file G4FieldManagerToolBase.h.
|
protected |
Definition at line 80 of file G4FieldManagerToolBase.h.
|
protected |
Definition at line 84 of file G4FieldManagerToolBase.h.
|
protected |
Definition at line 79 of file G4FieldManagerToolBase.h.
|
protected |
Definition at line 85 of file G4FieldManagerToolBase.h.