Belle II Software development
|
utility for helix<->x,p conversions More...
#include <HelixUtils.h>
Public Types | |
enum | VertexCoor { iX = 0 , iY , iZ , iPx , iPy , iPz } |
Parameters of the vertex More... | |
enum | HelixCoor { iD0 = 0 , iPhi0 , iOmega , iZ0 , iTanLambda , iArcLength2D } |
Parameters of the helix. More... | |
Static Public Member Functions | |
static void | helixFromVertexNumerical (const Eigen::Matrix< double, 3, 1 > &position, const Eigen::Matrix< double, 3, 1 > &momentum, int charge, double Bz, Belle2::Helix &helix, double &flt, Eigen::Matrix< double, 5, 6 > &jacobian) |
get helix from a vertex | |
static void | getJacobianToCartesianFrameworkHelix (Eigen::Matrix< double, 5, 6 > &jacobian, const double x, const double y, const double z, const double px, const double py, const double pz, const double bfield, const double charge) |
get the jacobian dh={helix pars}/dx={x,y,z,px,py,pz} for the implementation of the framework helix. | |
static void | getHelixAndJacobianFromVertexNumerical (const Eigen::Matrix< double, 1, 6 > &positionAndMom, int charge, double Bz, Belle2::Helix &helix, Eigen::Matrix< double, 5, 6 > &jacobian) |
get helix and jacobian from a vertex | |
static void | getJacobianFromVertexNumerical (const Eigen::Matrix< double, 1, 6 > &positionAndMom, int charge, double Bz, const Belle2::Helix &helix, Eigen::Matrix< double, 5, 6 > &jacobian, double delta=1e-5) |
get jacobian from a vertex | |
static void | helixFromVertex (const Eigen::Matrix< double, 1, 6 > &positionAndMomentum, int charge, double Bz, Belle2::Helix &helix, double &L, Eigen::Matrix< double, 5, 6 > &jacobian) |
vertex --> helix | |
static void | vertexFromHelix (const Belle2::Helix &helix, double L, double Bz, ROOT::Math::XYZVector &position, ROOT::Math::XYZVector &momentum, int &charge) |
helix --> vertex | |
static std::string | helixParName (int i) |
map of the helix parameters by list index | |
static std::string | vertexParName (int i) |
map of the vertex parameters by list index | |
static void | printVertexPar (const Belle2::B2Vector3D &position, const Belle2::B2Vector3D &momentum, int charge) |
Print the vertex parameters. | |
static double | helixPoca (const Belle2::Helix &helix1, const Belle2::Helix &helix2, double &flt1, double &flt2, Belle2::B2Vector3D &vertex, bool parallel=false) |
POCA between two tracks. | |
static double | helixPoca (const Belle2::Helix &helix, const Belle2::B2Vector3D &point, double &flt) |
POCA between a track and a point. | |
static double | phidomain (const double phi) |
the domain of phi | |
utility for helix<->x,p conversions
Definition at line 20 of file HelixUtils.h.
enum HelixCoor |
Parameters of the helix.
Definition at line 28 of file HelixUtils.h.
enum VertexCoor |
Parameters of the vertex
Definition at line 25 of file HelixUtils.h.
|
static |
get helix and jacobian from a vertex
Definition at line 130 of file HelixUtils.cc.
|
static |
get jacobian from a vertex
Definition at line 169 of file HelixUtils.cc.
|
static |
get the jacobian dh={helix pars}/dx={x,y,z,px,py,pz} for the implementation of the framework helix.
WARNING only valid right after initialisation!
Definition at line 407 of file HelixUtils.cc.
|
static |
vertex --> helix
Definition at line 33 of file HelixUtils.cc.
|
static |
map of the helix parameters by list index
Definition at line 92 of file HelixUtils.cc.
|
static |
POCA between a track and a point.
Definition at line 365 of file HelixUtils.cc.
|
static |
POCA between two tracks.
Definition at line 214 of file HelixUtils.cc.
|
static |
the domain of phi
Definition at line 205 of file HelixUtils.cc.
|
static |
Print the vertex parameters.
Definition at line 120 of file HelixUtils.cc.
|
static |
helix --> vertex
Definition at line 23 of file HelixUtils.cc.
|
static |
map of the vertex parameters by list index
Definition at line 106 of file HelixUtils.cc.