#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 |
Definition at line 18 of file VertexDistance3D.h.
References signedDistance().
Referenced by clone().
|
inlineoverridevirtual |
Implements VertexDistance.
Definition at line 32 of file VertexDistance3D.h.
References VertexDistance::distance(), and VertexDistance3D().
|
overrideprivatevirtual |
Implements VertexDistance.
Definition at line 47 of file VertexDistance3D.cc.
References diffTreeTool::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 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 BJetEnergyRegressionMVA::fillAdditionalVariables(), PF_PU_AssoMapAlgos::GetCleanedKshort(), PF_PU_AssoMapAlgos::GetCleanedLambda(), PF_PU_AssoMapAlgos::GetCleanedNI(), VertexMerging::mergeVertex(), TracksClusteringFromDisplacedSeed::nearTracks(), TemplatedVertexMerger< VTX >::produce(), VertexTableProducer::produce(), TemplatedInclusiveVertexFinder< InputContainer, VTX >::produce(), IPProducer< Container, Base, Helper >::produce(), and TrackVertexArbitration< VTX >::trackVertexArbitrator().
|
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 8 of file VertexDistance3D.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(), Basic3DVector< T >::y(), PV3DBase< T, PVType, FrameType >::z(), and Basic3DVector< T >::z().
Referenced by VertexDistance3D().
|
private |
Definition at line 41 of file VertexDistance3D.h.