#include <LocalMagneticField.h>
Public Member Functions | |
GlobalVector | inTesla (const GlobalPoint &gp) const override |
Field value ad specified global point, in Tesla. More... | |
LocalMagneticField (double value) | |
Construct passing the Z field component in Tesla. More... | |
~LocalMagneticField () override | |
Public Member Functions inherited from MagneticField | |
virtual MagneticField * | clone () const |
GlobalVector | inInverseGeV (const GlobalPoint &gp) const |
Field value ad specified global point, in 1/Gev. More... | |
GlobalVector | inKGauss (const GlobalPoint &gp) const |
Field value ad specified global point, in KGauss. More... | |
virtual GlobalVector | inTeslaUnchecked (const GlobalPoint &gp) const |
virtual bool | isDefined (const GlobalPoint &) const |
True if the point is within the region where the concrete field. More... | |
MagneticField () | |
MagneticField (const MagneticField &orig) | |
int | nominalValue () const |
The nominal field value for this map in kGauss. More... | |
virtual | ~MagneticField () |
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.
|
inlineoverride |
Definition at line 22 of file LocalMagneticField.h.
References runTauDisplay::gp, and inTesla().
|
overridevirtual |
Field value ad specified global point, in Tesla.
Implements MagneticField.
Definition at line 15 of file LocalMagneticField.cc.
References theField.
Referenced by ~LocalMagneticField().
|
private |
Definition at line 27 of file LocalMagneticField.h.
Referenced by inTesla().