Belle II Software light-2406-ragdoll
|
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. | |
B2Vector3D | trackToVtxVec (B2Vector3D const &trackPos, B2Vector3D const &trackP, B2Vector3D const &vtxPos) |
Returns the 3D vector between a vertex and a track's point of closest approach to that vertex. | |
double | trackToVtxDist (B2Vector3D const &trackPos, B2Vector3D const &trackP, B2Vector3D const &vtxPos) |
Returns the distance between a vertex and a track's point of closest approach to that vertex. | |
TMatrixDSym | trackToVtxCovmat (B2Vector3D 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 (B2Vector3D const &trackPos, B2Vector3D const &trackP, B2Vector3D 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. | |
B2Vector3D | vtxToVtxVec (B2Vector3D const &vtx1Pos, B2Vector3D const &vtx2Pos) |
Returns the 3D vector between two vertices, ie vtxPos2 - vtxPos1. | |
double | vtxToVtxDist (B2Vector3D const &vtx1Pos, B2Vector3D 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 (B2Vector3D const &vtx1Pos, B2Vector3D 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 | ( | B2Vector3D 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 37 of file DistanceTools.cc.
double trackToVtxDist | ( | B2Vector3D const & | trackPos, |
B2Vector3D const & | trackP, | ||
B2Vector3D const & | vtxPos | ||
) |
Returns the distance between a vertex and a track's point of closest approach to that vertex.
Definition at line 32 of file DistanceTools.cc.
double trackToVtxDistErr | ( | B2Vector3D const & | trackPos, |
B2Vector3D const & | trackP, | ||
B2Vector3D 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 63 of file DistanceTools.cc.
B2Vector3D trackToVtxVec | ( | B2Vector3D const & | trackPos, |
B2Vector3D const & | trackP, | ||
B2Vector3D 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 92 of file DistanceTools.cc.
double vtxToVtxDist | ( | B2Vector3D const & | vtx1Pos, |
B2Vector3D const & | vtx2Pos | ||
) |
Returns the distance between two vertices.
Definition at line 87 of file DistanceTools.cc.
double vtxToVtxDistErr | ( | B2Vector3D const & | vtx1Pos, |
B2Vector3D const & | vtx2Pos, | ||
TMatrixDSym const & | vtx1CovMat, | ||
TMatrixDSym const & | vtx2CovMat | ||
) |
Returns the estimated uncertainty on the distance between two vertices.
Definition at line 102 of file DistanceTools.cc.
B2Vector3D vtxToVtxVec | ( | B2Vector3D const & | vtx1Pos, |
B2Vector3D const & | vtx2Pos | ||
) |
Returns the 3D vector between two vertices, ie vtxPos2 - vtxPos1.
Definition at line 82 of file DistanceTools.cc.