![]() |
Belle II Software
release-08-02-05
|
Quadrupole lense data structure. More...
#include <BFieldComponentQuad.h>
Public Member Functions | |
| double | getBx (double x, double y) const |
| Calculates the X component of the magnetic field vector at the specified space point from a quadrupole lense. More... | |
| double | getBy (double x, double y) const |
| Calculates the Y component of the magnetic field vector at the specified space point from a quadrupole lense. More... | |
| ParamPoint3 & | operator+= (const ParamPoint3 &t) |
| Sum up the matrix components of quadrupole lenses. More... | |
Public Attributes | |
| double | s {0} |
| s in [cm] | |
| double | L {0} |
| element length in [cm] | |
| double | mxx {0} |
| xx coefficents to calculate Bx | |
| double | mxy {0} |
| xy coefficents to calculate Bx | |
| double | mx0 {0} |
| x0 coefficents to calculate Bx | |
| double | myx {0} |
| yx coefficents to calculate By | |
| double | myy {0} |
| yy coefficents to calculate By | |
| double | my0 {0} |
| y0 coefficents to calculate By | |
Quadrupole lense data structure.
This is a flat structure so magnetic field has only X and Y components
Definition at line 54 of file BFieldComponentQuad.h.
|
inline |
Calculates the X component of the magnetic field vector at the specified space point from a quadrupole lense.
| x | The X component of the space point in Cartesian coordinates (x,y) in [cm] |
| y | The Y component of the space point in Cartesian coordinates (x,y) in [cm] |
Definition at line 71 of file BFieldComponentQuad.h.
|
inline |
Calculates the Y component of the magnetic field vector at the specified space point from a quadrupole lense.
| x | The X component of the space point in Cartesian coordinates (x,y) in [cm] |
| y | The Y component of the space point in Cartesian coordinates (x,y) in [cm] |
Definition at line 80 of file BFieldComponentQuad.h.
|
inline |
Sum up the matrix components of quadrupole lenses.
| t | the lense structure to add |
Definition at line 88 of file BFieldComponentQuad.h.