ATLAS Offline Software
|
G4 wrapper around the main ATLAS magnetic field cache or field svc for forward field. More...
#include <StandardFieldSvc.h>
Public Member Functions | |
AtlasField (double scaleSolenoid, double scaleToroid, const MagField::AtlasFieldMap *fieldMap) | |
Construct the field object from conditions object. More... | |
AtlasField (MagField::IMagFieldSvc *m) | |
Construct the field object from the IMagFieldSvc. More... | |
MagField::AtlasFieldCache & | fieldCache () |
void | GetFieldValue (const double *point, double *field) const |
Implementation of G4 method to retrieve field value. More... | |
Private Attributes | |
MagField::AtlasFieldCache m_fieldCache | ATLAS_THREAD_SAFE |
Field cache - mutable because getField modifies the cache. More... | |
MagField::IMagFieldSvc * | m_magFieldSvc {nullptr} |
Pointer to the magnetic field service. More... | |
G4 wrapper around the main ATLAS magnetic field cache or field svc for forward field.
Definition at line 31 of file StandardFieldSvc.h.
|
inline |
Construct the field object from conditions object.
Definition at line 35 of file StandardFieldSvc.h.
|
inline |
Construct the field object from the IMagFieldSvc.
Definition at line 40 of file StandardFieldSvc.h.
|
inline |
Definition at line 45 of file StandardFieldSvc.h.
|
inline |
Implementation of G4 method to retrieve field value.
Definition at line 48 of file StandardFieldSvc.h.
|
mutableprivate |
Field cache - mutable because getField modifies the cache.
Definition at line 56 of file StandardFieldSvc.h.
|
private |
Pointer to the magnetic field service.
We use a raw pointer here to avoid ServiceHandle overhead.
Definition at line 60 of file StandardFieldSvc.h.