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