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 float x[3] = {gp.
x()*ooh, gp.
y()*ooh, gp.
z()*ooh};
51 return (gp.
perp2()<(115.f*115.f) && fabs(gp.
z())<280.
f);
virtual ~OAEParametrizedMagneticField()
Destructor.
void getBxyz(float const *__restrict__ x, float *__restrict__ Bxyz) const
B out in cartesian.
GlobalVector inTesla(const GlobalPoint &gp) const
Field value ad specified global point, in Tesla.
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