#include <VertexDistance3D.h>
Public Member Functions | |
virtual VertexDistance3D * | clone () const |
virtual Measurement1D | signedDistance (const reco::Vertex &primVtx, const reco::Vertex &secVtx, const GlobalVector &momentum) const |
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 | |
virtual float | compatibility (const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const |
virtual Measurement1D | distance (const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const |
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 |
|
inlinevirtual |
Implements VertexDistance.
Definition at line 32 of file VertexDistance3D.h.
References VertexDistance3D().
|
privatevirtual |
Implements VertexDistance.
Definition at line 47 of file VertexDistance3D.cc.
References diffTreeTool::diff, relativeConstraints::error, edm::hlt::Exception, GlobalErrorBase< T, ErrorWeightType >::matrix(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
privatevirtual |
Implements VertexDistance.
Definition at line 22 of file VertexDistance3D.cc.
References diffTreeTool::diff, 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 PF_PU_AssoMapAlgos::GetCleanedKshort(), PF_PU_AssoMapAlgos::GetCleanedLambda(), PF_PU_AssoMapAlgos::GetCleanedNI(), VertexMerging::mergeVertex(), TracksClusteringFromDisplacedSeed::nearTracks(), and IPProducer< Container, Base, Helper >::produce().
|
virtual |
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 8 of file VertexDistance3D.cc.
References diffTreeTool::diff, HLT_25ns14e33_v1_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 41 of file VertexDistance3D.h.