11 using namespace magfieldparam;
26 return inTeslaUnchecked(gp);
28 LogDebug(
"MagneticField|FieldOutsideValidity") <<
" Point " << gp <<
" is outside the validity region of ParabolicParametrizedMagneticField";
34 float B=B0Z(gp.
z())*Kr(gp.
perp2());
39 return b0*z*z + b1*z +
c1;
47 return (gp.
perp2()<(13225.f) && fabs(gp.
z())<280.
f);
float B0Z(const float a) const
bool isDefined(const GlobalPoint &gp) const
True if the point is within the region where the concrete field.
ParabolicParametrizedMagneticField()
Constructor.
virtual ~ParabolicParametrizedMagneticField()
Constructor. Parameters taken from a PSet.
GlobalVector inTeslaUnchecked(const GlobalPoint &gp) const
float Kr(const float R2) const
GlobalVector inTesla(const GlobalPoint &gp) const
Field value ad specified global point, in Tesla.
Global3DVector GlobalVector