#include <VertexDistanceXY.h>
Public Member Functions | |
VertexDistanceXY * | clone () const override |
Measurement1D | signedDistance (const reco::Vertex &primVtx, const reco::Vertex &secVtx, const GlobalVector &momentum) const override |
VertexDistanceXY () | |
Public Member Functions inherited from VertexDistance | |
virtual float | compatibility (const reco::Vertex &, const reco::Vertex &) const |
virtual float | compatibility (const VertexState &, const VertexState &) const |
virtual float | compatibility (const reco::Vertex &, const VertexState &) const |
virtual float | compatibility (const VertexState &, const reco::Vertex &) const |
Measurement1D | distance (const reco::Vertex &, const reco::Vertex &) const |
Measurement1D | distance (const VertexState &, const VertexState &) const |
Measurement1D | distance (const reco::Vertex &, const VertexState &) const |
Measurement1D | distance (const VertexState &, const reco::Vertex &) const |
virtual | ~VertexDistance () |
Private Member Functions | |
float | compatibility (const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override |
Measurement1D | distance (const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override |
Private Attributes | |
AlgebraicSymMatrix22 | theNullMatrix |
Additional Inherited Members |
Computes the distance between two vertices as the chi-squared formed with their positions in the transverse plane.
Definition at line 11 of file VertexDistanceXY.h.
|
inline |
Definition at line 15 of file VertexDistanceXY.h.
References signedDistance().
Referenced by clone().
|
inlineoverridevirtual |
Implements VertexDistance.
Definition at line 29 of file VertexDistanceXY.h.
References VertexDistance::compatibility(), VertexDistance::distance(), and VertexDistanceXY().
|
overrideprivatevirtual |
Implements VertexDistance.
Definition at line 49 of file VertexDistanceXY.cc.
References diffTreeTool::diff, relativeConstraints::error, Exception, GlobalErrorBase< T, ErrorWeightType >::matrix(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
overrideprivatevirtual |
Implements VertexDistance.
Definition at line 25 of file VertexDistanceXY.cc.
References diffTreeTool::diff, relativeConstraints::error, GlobalErrorBase< T, ErrorWeightType >::matrix(), funct::pow(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by TemplatedInclusiveVertexFinder< InputContainer, VTX >::produce(), Onia2MuMuPAT::produce(), and btagbtvdeep::vertexDxy().
|
overridevirtual |
The signed distance is computed using a vector from the primary to the secondary vertex and a given reference vector. The sign is determined by the scalar product of the x,y component of the vector connecting the vertices and the reference vector: if the scalar product is greater than zero, the sign is +1, else -1
Implements VertexDistance.
Definition at line 11 of file VertexDistanceXY.cc.
References diffTreeTool::diff, SoftLeptonByDistance_cfi::distance, Measurement1D::error(), reco::Vertex::position(), Measurement1D::value(), PV3DBase< T, PVType, FrameType >::x(), Basic3DVector< T >::x(), PV3DBase< T, PVType, FrameType >::y(), and Basic3DVector< T >::y().
Referenced by VertexDistanceXY().
|
private |
Definition at line 40 of file VertexDistanceXY.h.