#include <VertexDistance3D.h>
Public Member Functions | |
VertexDistance3D * | clone () const override |
Measurement1D | signedDistance (const reco::Vertex &primVtx, const reco::Vertex &secVtx, const GlobalVector &momentum) const override |
VertexDistance3D () | |
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 | |
AlgebraicSymMatrix33 | theNullMatrix |
Additional Inherited Members |
Computes the distance and chi-squared compatibility between two vertices with their 3D positions.
Definition at line 13 of file VertexDistance3D.h.
|
inline |
|
inlineoverridevirtual |
Implements VertexDistance.
Definition at line 31 of file VertexDistance3D.h.
References VertexDistance3D().
|
overrideprivatevirtual |
Implements VertexDistance.
Definition at line 38 of file VertexDistance3D.cc.
References change_name::diff, relativeConstraints::error, Exception, GlobalErrorBase< T, ErrorWeightType >::matrix(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
overrideprivatevirtual |
Implements VertexDistance.
Definition at line 17 of file VertexDistance3D.cc.
References change_name::diff, submitPVValidationJobs::err, relativeConstraints::error, PV3DBase< T, PVType, FrameType >::mag(), GlobalErrorBase< T, ErrorWeightType >::matrix(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by DiMuonVertexValidation::analyze(), AlignmentTrackFromVertexSelector::findClosestVertex(), PF_PU_AssoMapAlgos::GetCleanedKshort(), PF_PU_AssoMapAlgos::GetCleanedLambda(), PF_PU_AssoMapAlgos::GetCleanedNI(), VertexMerging::mergeVertex(), TracksClusteringFromDisplacedSeed::nearTracks(), BJetEnergyRegressionVarProducer< T >::produce(), IPProducer< Container, Base, Helper >::produce(), and btagbtvdeep::vertexD3d().
|
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 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 6 of file VertexDistance3D.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(), Basic3DVector< T >::y(), PV3DBase< T, PVType, FrameType >::z(), and Basic3DVector< T >::z().
|
private |
Definition at line 36 of file VertexDistance3D.h.