![]() |
Belle II Software development
|
This namespace contains a collection of function that are useful to compute distances between tracks and vertices. More...
Functions | |
ROOT::Math::XYZVector | poca (ROOT::Math::XYZVector const &trackPos, ROOT::Math::XYZVector const &trackP, ROOT::Math::XYZVector const &vtxPos) |
Returns the Point Of Closest Approach of a track to a vertex. | |
ROOT::Math::XYZVector | trackToVtxVec (ROOT::Math::XYZVector const &trackPos, ROOT::Math::XYZVector const &trackP, ROOT::Math::XYZVector const &vtxPos) |
Returns the 3D vector between a vertex and a track's point of closest approach to that vertex. | |
double | trackToVtxDist (ROOT::Math::XYZVector const &trackPos, ROOT::Math::XYZVector const &trackP, ROOT::Math::XYZVector const &vtxPos) |
Returns the distance between a vertex and a track's point of closest approach to that vertex. | |
TMatrixDSym | trackToVtxCovmat (ROOT::Math::XYZVector const &trackP, TMatrixDSym const &trackPosCovMat, TMatrixDSym const &vtxPosCovMat) |
Returns the covariance (error) matrix of the 3D vector between a vertex and a track's point of closest approach to that vertex. | |
double | trackToVtxDistErr (ROOT::Math::XYZVector const &trackPos, ROOT::Math::XYZVector const &trackP, ROOT::Math::XYZVector const &vtxPos, TMatrixDSym const &trackPosCovMat, TMatrixDSym const &vtxPosCovMat) |
Returns the estimated uncertainty between a vertex and a track's point of closest approach to that vertex. | |
ROOT::Math::XYZVector | vtxToVtxVec (ROOT::Math::XYZVector const &vtx1Pos, ROOT::Math::XYZVector const &vtx2Pos) |
Returns the 3D vector between two vertices, ie vtxPos2 - vtxPos1. | |
double | vtxToVtxDist (ROOT::Math::XYZVector const &vtx1Pos, ROOT::Math::XYZVector const &vtx2Pos) |
Returns the distance between two vertices. | |
TMatrixDSym | vtxToVtxCovMat (TMatrixDSym const &vtx1CovMat, TMatrixDSym const &vtx2CovMat) |
Returns the covariance (error) matrix related to the vector linking two vertices. | |
double | vtxToVtxDistErr (ROOT::Math::XYZVector const &vtx1Pos, ROOT::Math::XYZVector const &vtx2Pos, TMatrixDSym const &vtx1CovMat, TMatrixDSym const &vtx2CovMat) |
Returns the estimated uncertainty on the distance between two vertices. | |
This namespace contains a collection of function that are useful to compute distances between tracks and vertices.
All tracks are assumed to be straight in the current implementation.
ROOT::Math::XYZVector poca | ( | ROOT::Math::XYZVector const & | trackPos, |
ROOT::Math::XYZVector const & | trackP, | ||
ROOT::Math::XYZVector const & | vtxPos ) |
Returns the Point Of Closest Approach of a track to a vertex.
Definition at line 17 of file DistanceTools.cc.
TMatrixDSym trackToVtxCovmat | ( | ROOT::Math::XYZVector const & | trackP, |
TMatrixDSym const & | trackPosCovMat, | ||
TMatrixDSym const & | vtxPosCovMat ) |
Returns the covariance (error) matrix of the 3D vector between a vertex and a track's point of closest approach to that vertex.
Definition at line 39 of file DistanceTools.cc.
double trackToVtxDist | ( | ROOT::Math::XYZVector const & | trackPos, |
ROOT::Math::XYZVector const & | trackP, | ||
ROOT::Math::XYZVector const & | vtxPos ) |
Returns the distance between a vertex and a track's point of closest approach to that vertex.
Definition at line 33 of file DistanceTools.cc.
double trackToVtxDistErr | ( | ROOT::Math::XYZVector const & | trackPos, |
ROOT::Math::XYZVector const & | trackP, | ||
ROOT::Math::XYZVector const & | vtxPos, | ||
TMatrixDSym const & | trackPosCovMat, | ||
TMatrixDSym const & | vtxPosCovMat ) |
Returns the estimated uncertainty between a vertex and a track's point of closest approach to that vertex.
Definition at line 69 of file DistanceTools.cc.
ROOT::Math::XYZVector trackToVtxVec | ( | ROOT::Math::XYZVector const & | trackPos, |
ROOT::Math::XYZVector const & | trackP, | ||
ROOT::Math::XYZVector const & | vtxPos ) |
Returns the 3D vector between a vertex and a track's point of closest approach to that vertex.
Definition at line 25 of file DistanceTools.cc.
TMatrixDSym vtxToVtxCovMat | ( | TMatrixDSym const & | vtx1CovMat, |
TMatrixDSym const & | vtx2CovMat ) |
Returns the covariance (error) matrix related to the vector linking two vertices.
Definition at line 103 of file DistanceTools.cc.
double vtxToVtxDist | ( | ROOT::Math::XYZVector const & | vtx1Pos, |
ROOT::Math::XYZVector const & | vtx2Pos ) |
Returns the distance between two vertices.
Definition at line 98 of file DistanceTools.cc.
double vtxToVtxDistErr | ( | ROOT::Math::XYZVector const & | vtx1Pos, |
ROOT::Math::XYZVector const & | vtx2Pos, | ||
TMatrixDSym const & | vtx1CovMat, | ||
TMatrixDSym const & | vtx2CovMat ) |
Returns the estimated uncertainty on the distance between two vertices.
Definition at line 113 of file DistanceTools.cc.
ROOT::Math::XYZVector vtxToVtxVec | ( | ROOT::Math::XYZVector const & | vtx1Pos, |
ROOT::Math::XYZVector const & | vtx2Pos ) |
Returns the 3D vector between two vertices, ie vtxPos2 - vtxPos1.
Definition at line 93 of file DistanceTools.cc.