#include <ParabolicParametrizedMagneticField.h>
Public Member Functions | |
float | B0Z (const float a) const |
GlobalVector | inTesla (const GlobalPoint &gp) 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... | |
float | Kr (const float R2) const |
ParabolicParametrizedMagneticField () | |
Default constructor, use default values for 3.8T map. More... | |
ParabolicParametrizedMagneticField (const std::vector< double > ¶meters) | |
Constructor with explicit parameter list (b0, b1, c1, a) More... | |
~ParabolicParametrizedMagneticField () override | |
Destructor. More... | |
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 | |
float | a |
float | b0 |
float | b1 |
float | c1 |
Additional Inherited Members | |
Protected Member Functions inherited from MagneticField | |
void | setNominalValue () |
A simple parametrization of the Bz component in the tracker region using the product of two parabolas
Definition at line 19 of file ParabolicParametrizedMagneticField.h.
|
explicit |
Default constructor, use default values for 3.8T map.
Definition at line 13 of file ParabolicParametrizedMagneticField.cc.
References MagneticField::setNominalValue().
|
explicit |
Constructor with explicit parameter list (b0, b1, c1, a)
Definition at line 18 of file ParabolicParametrizedMagneticField.cc.
References MagneticField::setNominalValue().
|
override |
|
inline |
Definition at line 39 of file ParabolicParametrizedMagneticField.cc.
Referenced by inTeslaUnchecked().
|
overridevirtual |
Field value ad specified global point, in Tesla.
Implements MagneticField.
Definition at line 25 of file ParabolicParametrizedMagneticField.cc.
References runTauDisplay::gp, inTeslaUnchecked(), isDefined(), and LogDebug.
|
overridevirtual |
Optional implementation that derived classes can implement to provide faster query by skipping the check to isDefined.
Reimplemented from MagneticField.
Definition at line 35 of file ParabolicParametrizedMagneticField.cc.
References B0Z(), runTauDisplay::gp, and Kr().
Referenced by inTesla().
|
inlineoverridevirtual |
True if the point is within the region where the concrete field.
Reimplemented from MagneticField.
Definition at line 43 of file ParabolicParametrizedMagneticField.cc.
References f, and runTauDisplay::gp.
Referenced by inTesla().
|
inline |
Definition at line 41 of file ParabolicParametrizedMagneticField.cc.
References a.
Referenced by inTeslaUnchecked().
|
private |
Definition at line 44 of file ParabolicParametrizedMagneticField.h.
Referenced by Kr().
|
private |
Definition at line 42 of file ParabolicParametrizedMagneticField.h.
Referenced by B0Z().
|
private |
Definition at line 43 of file ParabolicParametrizedMagneticField.h.
Referenced by B0Z().
|
private |
Definition at line 41 of file ParabolicParametrizedMagneticField.h.
Referenced by B0Z().