13 using namespace magfieldparam;
20 theParam(parameters.getParameter<string>(
"BValue")) {}
31 edm::LogWarning(
"MagneticField|FieldOutsideValidity") <<
" Point " << gp <<
" is outside the validity region of OAEParametrizedMagneticField";
42 double x[3] = {gp.
x()*ooh, gp.
y()*ooh, gp.
z()*ooh};
51 return (gp.
perp2()<(115.*115.) && fabs(gp.
z())<280.);
virtual ~OAEParametrizedMagneticField()
Destructor.
GlobalVector inTesla(const GlobalPoint &gp) const
Field value ad specified global point, in Tesla.
void getBxyz(double const *__restrict__ x, double *__restrict__ Bxyz) const
B out in cartesian.
magfieldparam::TkBfield theParam
OAEParametrizedMagneticField(std::string T="3_8T")
Constructor.
GlobalVector inTeslaUnchecked(const GlobalPoint &gp) const
bool isDefined(const GlobalPoint &gp) const
True if the point is within the region where the concrete field.
Global3DVector GlobalVector