34 edm::LogWarning(
"MagneticField|FieldOutsideValidity") <<
" Point " << gp <<
" is outside the validity region of OAEParametrizedMagneticField";
45 float x[3] = {gp.
x()*ooh, gp.
y()*ooh, gp.
z()*ooh};
54 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.
static const std::string B
OAEParametrizedMagneticField(float B)
Constructor, pass value for nominal field.
magfieldparam::TkBfield theParam
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