#include <LocalMagneticField.h>
Public Member Functions | |
GlobalVector | inTesla (const GlobalPoint &gp) const |
Field value ad specified global point, in Tesla. | |
LocalMagneticField (double value) | |
Construct passing the Z field component in Tesla. | |
virtual | ~LocalMagneticField () |
Private Attributes | |
GlobalVector | theField |
A MagneticField engine that returns a constant programmable field value.
Definition at line 16 of file LocalMagneticField.h.
LocalMagneticField::LocalMagneticField | ( | double | value | ) |
Construct passing the Z field component in Tesla.
Definition at line 11 of file LocalMagneticField.cc.
virtual LocalMagneticField::~LocalMagneticField | ( | ) | [inline, virtual] |
Definition at line 22 of file LocalMagneticField.h.
{}
GlobalVector LocalMagneticField::inTesla | ( | const GlobalPoint & | gp | ) | const [virtual] |
Field value ad specified global point, in Tesla.
Implements MagneticField.
Definition at line 15 of file LocalMagneticField.cc.
References theField.
{ return theField; }
GlobalVector LocalMagneticField::theField [private] |
Definition at line 27 of file LocalMagneticField.h.
Referenced by inTesla().