ATLAS Offline Software
Loading...
Searching...
No Matches
G4mplEqMagElectricFieldTool Class Reference

#include "Monopole/G4mplEqMagElectricFieldTool.h"

Inheritance diagram for G4mplEqMagElectricFieldTool:
Collaboration diagram for G4mplEqMagElectricFieldTool:

Public Member Functions

 G4mplEqMagElectricFieldTool (const std::string &type, const std::string &name, const IInterface *parent)
 Standard constructor.
virtual G4Mag_EqRhs * makeEquationOfMotion (G4MagneticField *emField) const override final
 Implements.

Detailed Description

Definition at line 13 of file G4mplEqMagElectricFieldTool.h.

Constructor & Destructor Documentation

◆ G4mplEqMagElectricFieldTool()

G4mplEqMagElectricFieldTool::G4mplEqMagElectricFieldTool ( const std::string & type,
const std::string & name,
const IInterface * parent )

Standard constructor.

Definition at line 15 of file G4mplEqMagElectricFieldTool.cxx.

17 : base_class ( type, nam , parent )
18{
19}

Member Function Documentation

◆ makeEquationOfMotion()

G4Mag_EqRhs * G4mplEqMagElectricFieldTool::makeEquationOfMotion ( G4MagneticField * emField) const
finaloverridevirtual

Implements.

Definition at line 21 of file G4mplEqMagElectricFieldTool.cxx.

22{
23 //FIXME thread-safety aspect here?
24 return static_cast<G4Mag_EqRhs*>(new G4mplEqMagElectricField(emField));
25}

The documentation for this class was generated from the following files: