![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef MAGFIELDINTERFACES_IMAGFIELDSVC_H
9 #define MAGFIELDINTERFACES_IMAGFIELDSVC_H
15 #include "GaudiKernel/IInterface.h"
42 virtual void getField(
const double *
xyz,
double *bxyz,
double *deriv =
nullptr)
const = 0;
50 getField(
xyz->data(), bxyz->data(), deriv->data() );
57 virtual void getFieldZR(
const double *
xyz,
double *bxyz,
double *deriv =
nullptr)
const = 0;
75 #endif //> !MAGFIELDINTERFACES_IMAGFIELDSVC_H
void getField(const Amg::Vector3D *xyz, Amg::Vector3D *bxyz, Amg::RotationMatrix3D *deriv) const
void getField(const Amg::Vector3D *xyz, Amg::Vector3D *bxyz) const
a getField() wrapper for Amg classes
bool solenoidOn() const
status of the magnets
void setToroidCurrent(float current)
float toroidCurrent() const
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
IMagFieldSvc()
constructor
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
Eigen::Matrix< double, 3, 1 > Vector3D
DeclareInterfaceID(IMagFieldSvc, 1, 0)
Creates the InterfaceID and interfaceID() method.
void setSolenoidCurrent(float current)
virtual void getField(const double *xyz, double *bxyz, double *deriv=nullptr) const =0
get B field value at given position
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
float solenoidCurrent() const