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 Vector2D &pos2D) |
Getter for the signed magnetic field strength in z direction ( in Tesla ) | |
static double | getBFieldZ (const Vector3D &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 Vector2D &pos2D) |
Getter for the signed alpha of the magnetic field in z direction. | |
static double | getAlphaZ (const Vector3D &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 Vector2D &pos2D) |
Conversion helper for momenta to two dimensional (absolute) bend radius. | |
static double | absMom2DToBendRadius (double absMom2D, const Vector3D &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 Vector2D &pos2D) |
Conversion helper for momenta to two dimensional curvature. | |
static double | absMom2DToCurvature (double absMom2D, double charge, const Vector3D &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 Vector2D &pos2D) |
Conversion helper for two dimensional curvature to momenta. | |
static double | curvatureToAbsMom2D (double curvature, const Vector3D &pos3D) |
Conversion helper for two dimensional curvature to momenta. | |
Helper functions to interact with the magnetic field.
Definition at line 23 of file CDCBFieldUtil.h.
|
static |
Conversion helper for momenta to two dimensional (absolute) bend radius.
Definition at line 96 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for momenta to two dimensional (absolute) bend radius.
Definition at line 102 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for momenta to two dimensional (absolute) bend radius.
Definition at line 89 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for momenta to two dimensional curvature.
Definition at line 115 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for momenta to two dimensional curvature.
Definition at line 122 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for momenta to two dimensional curvature.
Definition at line 108 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 74 of file CDCBFieldUtil.cc.
Conversion helper from the charge sign to clockwise or counterclockwise travel.
Definition at line 79 of file CDCBFieldUtil.cc.
|
static |
Conversion help for charges to clockwise or counterclockwise travel.
Definition at line 84 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for two dimensional curvature to momenta.
Definition at line 135 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for two dimensional curvature to momenta.
Definition at line 141 of file CDCBFieldUtil.cc.
|
static |
Conversion helper for two dimensional curvature to momenta.
Definition at line 129 of file CDCBFieldUtil.cc.
|
static |
Translator from magnetic field strength in Tesla to the alpha value.
Definition at line 59 of file CDCBFieldUtil.cc.
|
static |
Getter for the signed alpha of the magnetic field in z direction.
Definition at line 64 of file CDCBFieldUtil.cc.
|
static |
Getter for the signed alpha of the magnetic field in z direction.
Definition at line 69 of file CDCBFieldUtil.cc.
|
static |
Getter for the signed magnetic field strength in z direction at the origin ( in Tesla )
Definition at line 37 of file CDCBFieldUtil.cc.
|
static |
Getter for the signed magnetic field strength in z direction ( in Tesla )
Definition at line 42 of file CDCBFieldUtil.cc.
|
static |
Getter for the signed magnetic field strength in z direction ( in Tesla )
Definition at line 47 of file CDCBFieldUtil.cc.
|
static |
Getter for the sign of the magnetic field in z direction.
Definition at line 32 of file CDCBFieldUtil.cc.
|
static |
Indicator if the magnetic field is off in the current geometry.
Definition at line 25 of file CDCBFieldUtil.cc.