![]() |
ATLAS Offline Software
|
@ class IMagFieldSvc More...
#include <IMagFieldSvc.h>
Public Member Functions | |
| DeclareInterfaceID (IMagFieldSvc, 1, 0) | |
| Creates the InterfaceID and interfaceID() method. | |
| IMagFieldSvc () | |
| constructor | |
| virtual void | getField (const double *xyz, double *bxyz, double *deriv=nullptr) const =0 |
| get B field value at given position | |
| virtual void | getFieldZR (const double *xyz, double *bxyz, double *deriv=nullptr) const =0 |
| get B field value on the z-r plane at given position | |
| bool | solenoidOn () const |
| status of the magnets | |
| bool | toroidOn () const |
| float | solenoidCurrent () const |
| float | toroidCurrent () const |
Protected Member Functions | |
| void | setSolenoidCurrent (float current) |
| void | setToroidCurrent (float current) |
Private Attributes | |
| float | m_solenoidCurrent |
| float | m_toroidCurrent |
@ class IMagFieldSvc
@ author Elmar.Ritsch -at- cern.ch
Definition at line 20 of file IMagFieldSvc.h.
|
inline |
| MagField::IMagFieldSvc::DeclareInterfaceID | ( | IMagFieldSvc | , |
| 1 | , | ||
| 0 | ) |
Creates the InterfaceID and interfaceID() method.
|
pure virtual |
get B field value at given position
xyz[3] is in mm, bxyz[3] is in kT if deriv[9] is given, field derivatives are returned in kT/mm
|
pure virtual |
get B field value on the z-r plane at given position
works only inside the solenoid; otherwise calls getField() above xyz[3] is in mm, bxyz[3] is in kT if deriv[9] is given, field derivatives are returned in kT/mm
|
inlineprotected |
Definition at line 51 of file IMagFieldSvc.h.
|
inlineprotected |
Definition at line 52 of file IMagFieldSvc.h.
|
inline |
Definition at line 47 of file IMagFieldSvc.h.
|
inline |
|
inline |
Definition at line 48 of file IMagFieldSvc.h.
|
inline |
Definition at line 46 of file IMagFieldSvc.h.
|
private |
Definition at line 55 of file IMagFieldSvc.h.
|
private |
Definition at line 56 of file IMagFieldSvc.h.