#include <UniformMagneticField.h>
Public Member Functions | |
GlobalVector | inTesla (const GlobalPoint &) const override |
Field value ad specified global point, in Tesla. More... | |
GlobalVector | inTeslaUnchecked (const GlobalPoint &gp) const override |
bool | isDefined (const GlobalPoint &gp) const override |
True if the point is within the region where the concrete field. More... | |
void | set (GlobalVector value) |
void | set (float value) |
UniformMagneticField (float value) | |
Construct passing the Z field component in Tesla. More... | |
UniformMagneticField (GlobalVector value) | |
~UniformMagneticField () 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... | |
float | inverseBzAtOriginInGeV () const |
The inverse of field z component for this map in GeV. 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 |
Additional Inherited Members | |
Protected Member Functions inherited from MagneticField | |
void | setNominalValue () |
A MagneticField engine that returns a constant programmable field value.
Definition at line 13 of file UniformMagneticField.h.
|
inline |
Construct passing the Z field component in Tesla.
Definition at line 16 of file UniformMagneticField.h.
References MagneticField::setNominalValue().
|
inline |
Definition at line 18 of file UniformMagneticField.h.
References MagneticField::setNominalValue().
|
inlineoverride |
Definition at line 23 of file UniformMagneticField.h.
|
inlineoverridevirtual |
Field value ad specified global point, in Tesla.
Implements MagneticField.
Definition at line 25 of file UniformMagneticField.h.
References theField.
|
inlineoverridevirtual |
Optional implementation that derived classes can implement to provide faster query by skipping the check to isDefined.
Reimplemented from MagneticField.
Definition at line 27 of file UniformMagneticField.h.
References theField.
|
inlineoverridevirtual |
True if the point is within the region where the concrete field.
Reimplemented from MagneticField.
Definition at line 29 of file UniformMagneticField.h.
|
inline |
Definition at line 20 of file UniformMagneticField.h.
References theField, and relativeConstraints::value.
Referenced by MultiHitGeneratorFromChi2::initES().
|
inline |
|
private |
Definition at line 32 of file UniformMagneticField.h.
Referenced by inTesla(), inTeslaUnchecked(), and set().