Belle II Software light-2406-ragdoll
|
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() | |
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. | |
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.
|
inline |
empty constructor for ROOT
Definition at line 25 of file MagneticFieldComponent3D.h.
|
inline |
Full constructor to create an object from data.
Definition at line 27 of file MagneticFieldComponent3D.h.
|
inlineoverridevirtual |
return whether we are inside the active region for this component
Implements MagneticFieldComponent.
Definition at line 37 of file MagneticFieldComponent3D.h.
|
inlineinherited |
returns whether the field is set to exclusive mode
Definition at line 39 of file MagneticFieldComponent.h.
|
inlineinherited |
set the state of the exclusive flag
Definition at line 37 of file MagneticFieldComponent.h.
|
private |
magnetic field strength
Definition at line 71 of file MagneticFieldComponent3D.h.
|
privateinherited |
whether or not the component is exclusive
Definition at line 51 of file MagneticFieldComponent.h.
|
private |
grid pitch in r, phi and z
Definition at line 67 of file MagneticFieldComponent3D.h.
|
private |
inverted grid pitch in r, phi and z
Definition at line 69 of file MagneticFieldComponent3D.h.
|
private |
number of bins in r, phi and z
Definition at line 65 of file MagneticFieldComponent3D.h.
|
private |
maximal R=sqrt(x^2+y^2) for which this field is present
Definition at line 59 of file MagneticFieldComponent3D.h.
|
private |
maximal Z for which this field is present
Definition at line 63 of file MagneticFieldComponent3D.h.
|
private |
minimal R=sqrt(x^2+y^2) for which this field is present
Definition at line 57 of file MagneticFieldComponent3D.h.
|
private |
minimal Z for which this field is present
Definition at line 61 of file MagneticFieldComponent3D.h.