#include <PolyFit3DParametrizedMagneticField.h>
Public Member Functions | |
GlobalVector | inTesla (const GlobalPoint &gp) const |
Field value ad specified global point, in Tesla. More... | |
GlobalVector | inTeslaUnchecked (const GlobalPoint &gp) const |
bool | isDefined (const GlobalPoint &gp) const |
True if the point is within the region where the concrete field. More... | |
PolyFit3DParametrizedMagneticField (double bVal=3.8114) | |
PolyFit3DParametrizedMagneticField (const edm::ParameterSet ¶meters) | |
Constructor. Parameters taken from a PSet. More... | |
virtual | ~PolyFit3DParametrizedMagneticField () |
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... | |
MagneticField () | |
MagneticField (const MagneticField &orig) | |
int | nominalValue () const |
The nominal field value for this map in kGauss. More... | |
virtual | ~MagneticField () |
Private Attributes | |
magfieldparam::BFit3D * | theParam |
Magnetic Field engine wrapper for V. Maroussov's 3D parametrization of the MT data.
Definition at line 18 of file PolyFit3DParametrizedMagneticField.h.
PolyFit3DParametrizedMagneticField::PolyFit3DParametrizedMagneticField | ( | double | bVal = 3.8114 | ) |
Constructor. Fitted bVal for the nominal currents are: 2.0216; 3.5162; 3.8114; 4.01242188708911
Definition at line 16 of file PolyFit3DParametrizedMagneticField.cc.
References magfieldparam::BFit3D::SetField(), and theParam.
PolyFit3DParametrizedMagneticField::PolyFit3DParametrizedMagneticField | ( | const edm::ParameterSet & | parameters | ) |
Constructor. Parameters taken from a PSet.
Definition at line 23 of file PolyFit3DParametrizedMagneticField.cc.
References edm::ParameterSet::getParameter(), magfieldparam::BFit3D::SetField(), and theParam.
|
virtual |
Destructor.
Definition at line 55 of file PolyFit3DParametrizedMagneticField.cc.
References theParam.
|
virtual |
Field value ad specified global point, in Tesla.
Implements MagneticField.
Definition at line 61 of file PolyFit3DParametrizedMagneticField.cc.
References inTeslaUnchecked(), and isDefined().
|
virtual |
Optional implementation that derived classes can implement to provide faster query by skipping the check to isDefined.
Reimplemented from MagneticField.
Definition at line 72 of file PolyFit3DParametrizedMagneticField.cc.
References funct::cos(), magfieldparam::BFit3D::GetField(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), funct::sin(), theParam, and PV3DBase< T, PVType, FrameType >::z().
Referenced by inTesla().
|
virtual |
True if the point is within the region where the concrete field.
Reimplemented from MagneticField.
Definition at line 86 of file PolyFit3DParametrizedMagneticField.cc.
References PV3DBase< T, PVType, FrameType >::perp(), alignCSCRings::r, detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by inTesla().
|
private |
Definition at line 37 of file PolyFit3DParametrizedMagneticField.h.
Referenced by inTeslaUnchecked(), PolyFit3DParametrizedMagneticField(), and ~PolyFit3DParametrizedMagneticField().