#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 | |
GsfVertexTrackCompatibilityEstimator * | clone () const override |
BDpair | estimate (const CachingVertex< 5 > &vrt, const RefCountedVertexTrack track, unsigned int hint=UINT_MAX) const override |
BDpair | estimate (const CachingVertex< 5 > &v, const RefCountedLinearizedTrackState track, unsigned int hint=UINT_MAX) const override |
BDpair | estimate (const reco::Vertex &vertex, const reco::TransientTrack &track) const override |
GsfVertexTrackCompatibilityEstimator () | |
~GsfVertexTrackCompatibilityEstimator () override | |
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 |
|
inlineoverride |
Definition at line 34 of file GsfVertexTrackCompatibilityEstimator.h.
References estimate(), HiIsolationCommonParameters_cff::track, and findQualityFiles::v.
|
inlineoverridevirtual |
Clone method
Implements VertexTrackCompatibilityEstimator< 5 >.
Definition at line 54 of file GsfVertexTrackCompatibilityEstimator.h.
References estimateFittedTrack(), estimateNFittedTrack(), and GsfVertexTrackCompatibilityEstimator().
|
override |
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 l1t::tracks, and CachingVertex< N >::tracks().
Referenced by ~GsfVertexTrackCompatibilityEstimator().
|
override |
Definition at line 38 of file GsfVertexTrackCompatibilityEstimator.cc.
References CachingVertex< N >::vertexState().
|
overridevirtual |
Implements VertexTrackCompatibilityEstimator< 5 >.
Definition at line 49 of file GsfVertexTrackCompatibilityEstimator.cc.
References reco::Vertex::chi2(), reco::Vertex::covariance(), estimateFittedTrack(), 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.
References estimateNFittedTrack().
Referenced by clone(), and estimate().
|
private |
Definition at line 100 of file GsfVertexTrackCompatibilityEstimator.cc.
References CachingVertex< N >::isValid(), CachingVertex< N >::totalChiSquared(), and gsfElectronCkfTrackCandidateMaker_cff::updator.
Referenced by clone(), and estimateFittedTrack().
|
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.