Belle II Software light-2406-ragdoll
|
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. | |
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. | |
ParamPoint3 & | operator+= (const ParamPoint3 &t) |
Sum up the matrix components of quadrupole lenses. | |
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.
double L {0} |
element length in [cm]
Definition at line 56 of file BFieldComponentQuad.h.
double mx0 {0} |
x0 coefficents to calculate Bx
Definition at line 59 of file BFieldComponentQuad.h.
double mxx {0} |
xx coefficents to calculate Bx
Definition at line 57 of file BFieldComponentQuad.h.
double mxy {0} |
xy coefficents to calculate Bx
Definition at line 58 of file BFieldComponentQuad.h.
double my0 {0} |
y0 coefficents to calculate By
Definition at line 62 of file BFieldComponentQuad.h.
double myx {0} |
yx coefficents to calculate By
Definition at line 60 of file BFieldComponentQuad.h.
double myy {0} |
yy coefficents to calculate By
Definition at line 61 of file BFieldComponentQuad.h.
double s {0} |
s in [cm]
Definition at line 55 of file BFieldComponentQuad.h.