Belle II Software
release-08-01-10
|
Describe one component of the Geometry. More...
#include <MagneticFieldComponent3D.h>
Public Member Functions | |
MagneticFieldComponent3D () | |
empty constructor for ROOT | |
MagneticFieldComponent3D (double minR, double maxR, double minZ, double maxZ, int nR, int nPhi, int nZ, std::vector< ROOT::Math::XYZVector > &&fieldmap) | |
Full constructor to create an object from data. | |
bool | inside (const ROOT::Math::XYZVector &pos) const override |
return whether we are inside the active region for this component | |
ROOT::Math::XYZVector | getField (const ROOT::Math::XYZVector &pos) const override |
return the field assuming we are inside the active region as returned by inside() More... | |
void | setExclusive (bool exclusive) |
set the state of the exclusive flag | |
bool | isExclusive () const |
returns whether the field is set to exclusive mode | |
ClassDef (MagneticFieldComponent, 1) | |
ROOT Dictionary. | |
Private Member Functions | |
ROOT::Math::XYZVector | interpolate (unsigned int ir, unsigned int iphi, unsigned int iz, double wr, double wphi, double wz) const |
Linear interpolate the magnetic field inside a bin. More... | |
ClassDefOverride (MagneticFieldComponent3D, 2) | |
ROOT dictionary. | |
Private Attributes | |
float | m_minR {0} |
minimal R=sqrt(x^2+y^2) for which this field is present | |
float | m_maxR {0} |
maximal R=sqrt(x^2+y^2) for which this field is present | |
float | m_minZ {0} |
minimal Z for which this field is present | |
float | m_maxZ {0} |
maximal Z for which this field is present | |
int | m_mapSize [3] {0} |
number of bins in r, phi and z | |
float | m_gridPitch [3] {0} |
grid pitch in r, phi and z | |
float | m_invgridPitch [3] {0} |
inverted grid pitch in r, phi and z | |
std::vector< ROOT::Math::XYZVector > | m_bmap |
magnetic field strength | |
bool | m_exclusive {false} |
whether or not the component is exclusive | |
Describe one component of the Geometry.
Definition at line 22 of file MagneticFieldComponent3D.h.