Go to the documentation of this file.
29 <<
" is outside the validity region of OAEParametrizedMagneticField";
35 constexpr
float ooh = 1. / 100;
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);
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.
Global3DVector GlobalVector
Log< level::Warning, false > LogWarning
~OAEParametrizedMagneticField() override
Destructor.
magfieldparam::TkBfield theParam
static const std::string B
void getBxyz(float const *__restrict__ x, float *__restrict__ Bxyz) const
B out in cartesian.
GlobalVector inTesla(const GlobalPoint &gp) const override
Field value ad specified global point, in Tesla.