#include <GsfVertexTrackCompatibilityEstimator.h>
Public Types | |
typedef CachingVertex < 5 >::RefCountedVertexTrack | RefCountedVertexTrack |
Public Types inherited from VertexTrackCompatibilityEstimator< 5 > | |
typedef std::pair< bool, double > | BDpair |
typedef VertexTrack< N > ::RefCountedLinearizedTrackState | RefCountedLinearizedTrackState |
typedef CachingVertex< N > ::RefCountedVertexTrack | RefCountedVertexTrack |
Public Member Functions | |
virtual GsfVertexTrackCompatibilityEstimator * | clone () const |
virtual BDpair | estimate (const CachingVertex< 5 > &vrt, const RefCountedVertexTrack track, unsigned int hint=UINT_MAX) const |
virtual BDpair | estimate (const CachingVertex< 5 > &v, const RefCountedLinearizedTrackState track, unsigned int hint=UINT_MAX) const |
virtual BDpair | estimate (const reco::Vertex &vertex, const reco::TransientTrack &track) const |
GsfVertexTrackCompatibilityEstimator () | |
virtual | ~GsfVertexTrackCompatibilityEstimator () |
Public Member Functions inherited from VertexTrackCompatibilityEstimator< 5 > | |
virtual BDpair | estimate (const CachingVertex< N > &v, const RefCountedLinearizedTrackState track, unsigned int hint=UINT_MAX) const =0 |
virtual BDpair | estimate (const CachingVertex< N > &v, const RefCountedVertexTrack track, unsigned int hint=UINT_MAX) const =0 |
VertexTrackCompatibilityEstimator () | |
virtual | ~VertexTrackCompatibilityEstimator () |
Private Member Functions | |
BDpair | estimateFittedTrack (const CachingVertex< 5 > &v, const RefCountedVertexTrack track) const |
BDpair | estimateNFittedTrack (const CachingVertex< 5 > &v, const RefCountedVertexTrack track) const |
Private Attributes | |
MultiPerigeeLTSFactory | lTrackFactory |
GsfVertexUpdator | updator |
VertexTrackFactory< 5 > | vTrackFactory |
Calculates the compatiblity of a track with respect to a vertex using the Kalman filter algorithms. The compatibility is computed from the squared standardized residuals between the track and the vertex. If track and vertex errors are Gaussian and correct, this quantity is distributed as chi**2(ndf=2)). Can be used to identify outlying tracks.
Definition at line 25 of file GsfVertexTrackCompatibilityEstimator.h.
typedef CachingVertex<5>::RefCountedVertexTrack GsfVertexTrackCompatibilityEstimator::RefCountedVertexTrack |
Definition at line 30 of file GsfVertexTrackCompatibilityEstimator.h.
|
inline |
|
inlinevirtual |
Definition at line 34 of file GsfVertexTrackCompatibilityEstimator.h.
|
inlinevirtual |
Clone method
Implements VertexTrackCompatibilityEstimator< 5 >.
Definition at line 54 of file GsfVertexTrackCompatibilityEstimator.h.
References GsfVertexTrackCompatibilityEstimator().
|
virtual |
Track-to-vertex compatibility. The track weight is taken into account.
track | The track for which the chi**2 has to be estimated. |
v | The vertex against which the chi**2 has to be estimated. |
Definition at line 22 of file GsfVertexTrackCompatibilityEstimator.cc.
References testEve_cfg::tracks, and CachingVertex< N >::tracks().
|
virtual |
Definition at line 38 of file GsfVertexTrackCompatibilityEstimator.cc.
References CachingVertex< N >::vertexState().
|
virtual |
Implements VertexTrackCompatibilityEstimator< 5 >.
Definition at line 49 of file GsfVertexTrackCompatibilityEstimator.cc.
References reco::Vertex::chi2(), reco::Vertex::covariance(), spr::find(), reco::Vertex::position(), reco::TransientTrack::trackBaseRef(), reco::Vertex::tracks_begin(), and reco::Vertex::tracks_end().
|
private |
Definition at line 82 of file GsfVertexTrackCompatibilityEstimator.cc.
|
private |
Definition at line 100 of file GsfVertexTrackCompatibilityEstimator.cc.
References CachingVertex< N >::isValid(), CachingVertex< N >::totalChiSquared(), and HLT_25ns10e33_v2_cff::updator.
|
private |
Definition at line 67 of file GsfVertexTrackCompatibilityEstimator.h.
|
private |
Definition at line 65 of file GsfVertexTrackCompatibilityEstimator.h.
|
private |
Definition at line 68 of file GsfVertexTrackCompatibilityEstimator.h.