|  | ATLAS Offline Software
    | 
#include "G4AtlasServices/G4MagFieldSvcBase.h"
| Public Member Functions | |
| G4MagFieldSvcBase (const std::string &name, ISvcLocator *pSvcLocator) | |
| Standard constructor.  More... | |
| virtual | ~G4MagFieldSvcBase () | 
| Empty destructor.  More... | |
| G4MagneticField * | getField () override final | 
| Retrieve a G4 magnetic field object.  More... | |
| Protected Member Functions | |
| virtual G4MagneticField * | makeField ()=0 | 
| This method must be overridden by concrete tools to create a new field.  More... | |
| Protected Attributes | |
| thread_utils::ThreadLocalOwner< G4MagneticField > | m_fieldHolder | 
| Thread-local field object.  More... | |
Base class for services that create/manage G4 magnetic fields.
Definition at line 29 of file G4MagFieldSvcBase.h.
| G4MagFieldSvcBase::G4MagFieldSvcBase | ( | const std::string & | name, | 
| ISvcLocator * | pSvcLocator | ||
| ) | 
Standard constructor.
Definition at line 20 of file G4MagFieldSvcBase.cxx.
| 
 | inlinevirtual | 
| 
 | finaloverride | 
Retrieve a G4 magnetic field object.
If one doesn't yet exist in the current thread, it will be created.
Definition at line 29 of file G4MagFieldSvcBase.cxx.
| 
 | protectedpure virtual | 
This method must be overridden by concrete tools to create a new field.
Implemented in StandardFieldSvc, and ConstantFieldSvc.
| 
 | protected | 
Thread-local field object.
Definition at line 48 of file G4MagFieldSvcBase.h.
 1.8.18
 1.8.18