9 #include <geometry/bfieldmap/BFieldComponentConstant.h>
16 if ((maxRadius4BField > 0.0 && maxRadius4BField < point.
Perp()) ||
17 (point.
z() < minZ4BField || point.
z() > maxZ4BField))
return B2Vector3D(0, 0, 0);
22 void BFieldComponentConstant::setMagneticFieldValues(
double x,
double y,
double z,
double rmax,
double zmin,
double zmax)
24 m_magneticField[0] = x;
25 m_magneticField[1] = y;
26 m_magneticField[2] = z;
27 maxRadius4BField = rmax;
DataType z() const
access variable Z (= .at(2) without boundary check)
DataType Perp() const
The transverse component (R in cylindrical coordinate system).
B2Vector3< double > B2Vector3D
typedef for common usage with double
Abstract base class for different kinds of events.