@ class IMagFieldSvc
More...
#include <IMagFieldSvc.h>
@ class IMagFieldSvc
@ author Elmar.Ritsch -at- cern.ch
Definition at line 20 of file IMagFieldSvc.h.
◆ IMagFieldSvc()
MagField::IMagFieldSvc::IMagFieldSvc |
( |
| ) |
|
|
inline |
◆ DeclareInterfaceID()
MagField::IMagFieldSvc::DeclareInterfaceID |
( |
IMagFieldSvc |
, |
|
|
1 |
, |
|
|
0 |
|
|
) |
| |
Creates the InterfaceID and interfaceID() method.
◆ getField()
virtual void MagField::IMagFieldSvc::getField |
( |
const double * |
xyz, |
|
|
double * |
bxyz, |
|
|
double * |
deriv = nullptr |
|
) |
| const |
|
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
◆ getFieldZR()
virtual void MagField::IMagFieldSvc::getFieldZR |
( |
const double * |
xyz, |
|
|
double * |
bxyz, |
|
|
double * |
deriv = nullptr |
|
) |
| const |
|
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
◆ setSolenoidCurrent()
void MagField::IMagFieldSvc::setSolenoidCurrent |
( |
float |
current | ) |
|
|
inlineprotected |
◆ setToroidCurrent()
void MagField::IMagFieldSvc::setToroidCurrent |
( |
float |
current | ) |
|
|
inlineprotected |
◆ solenoidCurrent()
float MagField::IMagFieldSvc::solenoidCurrent |
( |
| ) |
const |
|
inline |
◆ solenoidOn()
bool MagField::IMagFieldSvc::solenoidOn |
( |
| ) |
const |
|
inline |
◆ toroidCurrent()
float MagField::IMagFieldSvc::toroidCurrent |
( |
| ) |
const |
|
inline |
◆ toroidOn()
bool MagField::IMagFieldSvc::toroidOn |
( |
| ) |
const |
|
inline |
◆ m_solenoidCurrent
float MagField::IMagFieldSvc::m_solenoidCurrent |
|
private |
◆ m_toroidCurrent
float MagField::IMagFieldSvc::m_toroidCurrent |
|
private |
The documentation for this class was generated from the following file: