31 <<
" is outside the validity region of OAEParametrizedMagneticField";
41 float x[3] = {
gp.x() * ooh,
gp.y() * ooh,
gp.z() * ooh};
48 return (
gp.perp2() < (115.f * 115.f) && fabs(
gp.z()) < 280.
f);
~OAEParametrizedMagneticField() override
Destructor.
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
GlobalVector inTesla(const GlobalPoint &gp) const override
Field value ad specified global point, in Tesla.
OAEParametrizedMagneticField(float B)
Constructor, pass value for nominal field.
magfieldparam::TkBfield theParam
void getBxyz(float const *__restrict__ x, float *__restrict__ Bxyz) const
B out in cartesian.
Log< level::Warning, false > LogWarning
Global3DVector GlobalVector