#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 |
|
inlineoverridevirtual |
Implements VertexDistance.
Definition at line 27 of file VertexDistanceXY.h.
References VertexDistanceXY().
|
overrideprivatevirtual |
Implements VertexDistance.
Definition at line 40 of file VertexDistanceXY.cc.
References change_name::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 19 of file VertexDistanceXY.cc.
References change_name::diff, submitPVValidationJobs::err, relativeConstraints::error, GlobalErrorBase< T, ErrorWeightType >::matrix(), funct::pow(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by DiMuonVertexValidation::analyze(), VertexAnalysis::dist2D(), 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 9 of file VertexDistanceXY.cc.
References change_name::diff, HLT_FULL_cff::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().
|
private |
Definition at line 33 of file VertexDistanceXY.h.