11#include <geometry/bfieldmap/BFieldComponentAbs.h>
62 virtual ROOT::Math::XYZVector
calculate(
const ROOT::Math::XYZVector& point)
const override;
BFieldComponentAbs()=default
The BFieldComponentAbs constructor.
double m_iLayer
reciprocal of height of the layer (gap + iron plate) in endyoke
double m_slotRMin
minimum radius for the gap in endyoke
virtual void initialize() override
Initializes the magnetic field component.
double m_gridPitchZ
The grid pitch in z.
void setKlmParameters(double srmin, double zyoke, double gaph, double iront)
Sets parameter for EKLM.
std::string m_mapFilename
The filename of the magnetic field map.
double m_Layer
height of the layer (gap + iron plate) in endyoke
double m_mapRegionZ[2]
The min and max boundaries of the map region in z.
double m_mapOffset
Offset required because the accelerator group defines the Belle center as zero.
virtual ROOT::Math::XYZVector calculate(const ROOT::Math::XYZVector &point) const override
Calculates the magnetic field vector at the specified space point.
double m_ironPlateThickness
thickness of iron plate in endyoke
void setMapRegionR(double minR, double maxR)
Sets the size of the magnetic field map.
virtual ~BFieldComponentRadial() override=default
The BFieldComponentRadial destructor.
void setGridPitch(double pitchR, double pitchZ)
Sets the grid pitch of the magnetic field map.
void setMapFilename(const std::string &filename)
Sets the filename of the magnetic field map.
double m_gridPitchR
The grid pitch in r.
double m_mapRegionR[2]
The min and max boundaries of the map region in r.
void setMapSize(int sizeR, int sizeZ)
Sets the size of the magnetic field map.
double m_endyokeZMin
minimum Z of endyoke
std::vector< BFieldPoint > m_mapBuffer
The memory buffer for the magnetic field map.
BFieldComponentRadial()=default
The BFieldComponentRadial constructor.
void setMapRegionZ(double minZ, double maxZ, double offset)
Sets the size of the magnetic field map.
double m_gapHeight
height of the gap in endyoke
double m_igridPitchZ
The reciprocal of grid pitch in z.
int m_mapSize[2]
The size of the map in r and z.
double m_igridPitchR
The reciprocal of grid pitch in r.
Abstract base class for different kinds of events.
Magnetic field data structure.
double r
Magnetic field in r direction.
double z
Magnetic field in z direction.