ATLAS Offline Software
G4mplEqMagElectricFieldTool.cxx
Go to the documentation of this file.
1 // class header
3 
4 // package headers
5 #include "G4mplEqMagElectricField.hh"
6 
7 // Geant4 headers
8 #include "G4Version.hh"
9 #include "G4MagneticField.hh"
10 #include "G4Mag_EqRhs.hh"
11 
12 //=============================================================================
13 // Standard constructor, initializes variables
14 //=============================================================================
16  const std::string& nam,const IInterface* parent )
17  : base_class ( type, nam , parent )
18 {
19 }
20 
21 G4Mag_EqRhs* G4mplEqMagElectricFieldTool::makeEquationOfMotion(G4MagneticField *emField) const
22 {
23  //FIXME thread-safety aspect here?
24  return static_cast<G4Mag_EqRhs*>(new G4mplEqMagElectricField(emField));
25 }
G4mplEqMagElectricFieldTool::makeEquationOfMotion
virtual G4Mag_EqRhs * makeEquationOfMotion(G4MagneticField *emField) const override final
Implements.
Definition: G4mplEqMagElectricFieldTool.cxx:21
test_pyathena.parent
parent
Definition: test_pyathena.py:15
G4mplEqMagElectricFieldTool::G4mplEqMagElectricFieldTool
G4mplEqMagElectricFieldTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: G4mplEqMagElectricFieldTool.cxx:15
G4mplEqMagElectricFieldTool.h
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78