#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) const |
virtual BDpair | estimate (const CachingVertex< 5 > &v, const RefCountedLinearizedTrackState track) 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) const =0 |
virtual BDpair | estimate (const CachingVertex< N > &v, const RefCountedVertexTrack track) 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 52 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 pos, 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 48 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 81 of file GsfVertexTrackCompatibilityEstimator.cc.
|
private |
Definition at line 99 of file GsfVertexTrackCompatibilityEstimator.cc.
References CachingVertex< N >::isValid(), and CachingVertex< N >::totalChiSquared().
|
private |
Definition at line 65 of file GsfVertexTrackCompatibilityEstimator.h.
|
private |
Definition at line 63 of file GsfVertexTrackCompatibilityEstimator.h.
|
private |
Definition at line 66 of file GsfVertexTrackCompatibilityEstimator.h.