29 <<
" Point " << gp <<
" is outside the validity region of OAEParametrizedMagneticField";
39 float x[3] = {gp.
x() * ooh, gp.
y() * ooh, gp.
z() * ooh};
46 return (gp.
perp2() < (115.f * 115.f) && fabs(gp.
z()) < 280.
f);
void getBxyz(float const *__restrict__ x, float *__restrict__ Bxyz) const
B out in cartesian.
~OAEParametrizedMagneticField() override
Destructor.
GlobalVector inTesla(const GlobalPoint &gp) const override
Field value ad specified global point, in Tesla.
static const std::string B
bool isDefined(const GlobalPoint &gp) const override
True if the point is within the region where the concrete field.
GlobalVector inTeslaUnchecked(const GlobalPoint &gp) const override
OAEParametrizedMagneticField(float B)
Constructor, pass value for nominal field.
magfieldparam::TkBfield theParam
Global3DVector GlobalVector