![]() |
Belle II Software development
|
Helper functions to interact with the magnetic field. More...
#include <CDCBFieldUtil.h>
Static Public Member Functions | |
| static bool | isOff () |
| Indicator if the magnetic field is off in the current geometry. | |
| static ESign | getBFieldZSign () |
| Getter for the sign of the magnetic field in z direction. | |
| static double | getBFieldZ () |
| Getter for the signed magnetic field strength in z direction at the origin ( in Tesla ) | |
| static double | getBFieldZ (const ROOT::Math::XYVector &pos2D) |
| Getter for the signed magnetic field strength in z direction ( in Tesla ) | |
| static double | getBFieldZ (const ROOT::Math::XYZVector &pos3D) |
| Getter for the signed magnetic field strength in z direction ( in Tesla ) | |
| static double | getAlphaFromBField (double bField) |
| Translator from magnetic field strength in Tesla to the alpha value. | |
| static double | getAlphaZ (const ROOT::Math::XYVector &pos2D) |
| Getter for the signed alpha of the magnetic field in z direction. | |
| static double | getAlphaZ (const ROOT::Math::XYZVector &pos3D) |
| Getter for the signed alpha of the magnetic field in z direction. | |
| static ESign | ccwInfoToChargeSign (ERotation ccwInfo) |
| Conversion helper from clockwise or counterclockwise travel to the charge sign. | |
| static ERotation | chargeSignToERotation (ESign chargeSign) |
| Conversion helper from the charge sign to clockwise or counterclockwise travel. | |
| static ERotation | chargeToERotation (double charge) |
| Conversion help for charges to clockwise or counterclockwise travel. | |
| static double | absMom2DToBendRadius (double absMom2D, double bZ) |
| Conversion helper for momenta to two dimensional (absolute) bend radius. | |
| static double | absMom2DToBendRadius (double absMom2D, const ROOT::Math::XYVector &pos2D) |
| Conversion helper for momenta to two dimensional (absolute) bend radius. | |
| static double | absMom2DToBendRadius (double absMom2D, const ROOT::Math::XYZVector &pos3D) |
| Conversion helper for momenta to two dimensional (absolute) bend radius. | |
| static double | absMom2DToCurvature (double absMom2D, double charge, double bZ) |
| Conversion helper for momenta to two dimensional curvature. | |
| static double | absMom2DToCurvature (double absMom2D, double charge, const ROOT::Math::XYVector &pos2D) |
| Conversion helper for momenta to two dimensional curvature. | |
| static double | absMom2DToCurvature (double absMom2D, double charge, const ROOT::Math::XYZVector &pos3D) |
| Conversion helper for momenta to two dimensional curvature. | |
| static double | curvatureToAbsMom2D (double curvature, double bZ) |
| Conversion helper for two dimensional curvature to momenta. | |
| static double | curvatureToAbsMom2D (double curvature, const ROOT::Math::XYVector &pos2D) |
| Conversion helper for two dimensional curvature to momenta. | |
| static double | curvatureToAbsMom2D (double curvature, const ROOT::Math::XYZVector &pos3D) |
| Conversion helper for two dimensional curvature to momenta. | |
Helper functions to interact with the magnetic field.
Definition at line 24 of file CDCBFieldUtil.h.
|
static |
Conversion helper for momenta to two dimensional (absolute) bend radius.
Definition at line 98 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for momenta to two dimensional (absolute) bend radius.
Definition at line 104 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for momenta to two dimensional (absolute) bend radius.
Definition at line 91 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for momenta to two dimensional curvature.
Definition at line 117 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for momenta to two dimensional curvature.
Definition at line 124 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for momenta to two dimensional curvature.
Definition at line 110 of file CDCBFieldUtil.cc.
Conversion helper from clockwise or counterclockwise travel to the charge sign.
Return the charge sign based on the travel direction on the fitted circle. With the Lorentz force F = q * v x B. For positively charged particles we have:
Definition at line 76 of file CDCBFieldUtil.cc.
Conversion helper from the charge sign to clockwise or counterclockwise travel.
Definition at line 81 of file CDCBFieldUtil.cc.
|
static |
Conversion help for charges to clockwise or counterclockwise travel.
Definition at line 86 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for two dimensional curvature to momenta.
Definition at line 137 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for two dimensional curvature to momenta.
Definition at line 143 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for two dimensional curvature to momenta.
Definition at line 131 of file CDCBFieldUtil.cc.
|
static |
Translator from magnetic field strength in Tesla to the alpha value.
Definition at line 61 of file CDCBFieldUtil.cc.
|
static |
Getter for the signed alpha of the magnetic field in z direction.
Definition at line 66 of file CDCBFieldUtil.cc.
|
static |
Getter for the signed alpha of the magnetic field in z direction.
Definition at line 71 of file CDCBFieldUtil.cc.
|
static |
Getter for the signed magnetic field strength in z direction at the origin ( in Tesla )
Definition at line 39 of file CDCBFieldUtil.cc.
|
static |
Getter for the signed magnetic field strength in z direction ( in Tesla )
Definition at line 44 of file CDCBFieldUtil.cc.
|
static |
Getter for the signed magnetic field strength in z direction ( in Tesla )
Definition at line 49 of file CDCBFieldUtil.cc.
|
static |
Getter for the sign of the magnetic field in z direction.
Definition at line 34 of file CDCBFieldUtil.cc.
|
static |
Indicator if the magnetic field is off in the current geometry.
Definition at line 27 of file CDCBFieldUtil.cc.