|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef G4ATLASTOOLS_G4FieldManagerToolBase_H
6 #define G4ATLASTOOLS_G4FieldManagerToolBase_H
9 #include "GaudiKernel/ServiceHandle.h"
10 #include "GaudiKernel/ToolHandle.h"
19 #include "G4Version.hh"
22 class G4VIntegrationDriver;
23 class G4MagIntegratorStepper;
49 #if G4VERSION_NUMBER >= 1040
52 createDriverAndStepper(
const std::string& stepperType, G4MagneticField*
field)
const;
55 #if G4VERSION_NUMBER < 1040
56 G4MagIntegratorStepper*
58 getStepper(
const std::string& stepperType, G4MagneticField*
field)
const;
68 Gaudi::Property<bool>
m_fieldOn{
this,
"FieldOn",
true,
"Toggles field on/off"};
71 Gaudi::Property<std::string>
m_integratorStepper{
this,
"IntegratorStepper",
"AtlasRK4",
"Integrator stepper name"};
79 Gaudi::Property<double>
m_minEps{
this,
"MinimumEpsilonStep", -1.0,
"Minimum epsilon (see G4 documentation)"};
80 Gaudi::Property<double>
m_maxEps{
this,
"MaximumEpsilonStep", -1.0,
"Maximum epsilon (see G4 documentation)"};
81 Gaudi::Property<double>
m_deltaChord{
this,
"DeltaChord", -1.0,
"Missing distance for the chord finder"};
82 Gaudi::Property<double>
m_deltaOneStep{
this,
"DeltaOneStep", -1.0,
"Delta(one-step)"};
83 Gaudi::Property<double>
m_deltaIntersection{
this,
"DeltaIntersection", -1.0,
"Accuracy for boundary intersection"};
84 Gaudi::Property<double>
m_maxStep{
this,
"MaximumStep", -1.0,
"Maximum step length in field (see G4 documentation)"};
85 Gaudi::Property<double>
m_minStep{
this,
"MinimumStep",1
e-2,
"Minimum step length in field (see G4 documentation)"};
90 #endif // G4ATLASTOOLS_G4FieldManagerToolBase_H
::StatusCode StatusCode
StatusCode definition for legacy code.