#include <KalmanVertexTrackCompatibilityEstimator.h>
Public Types | |
typedef std::pair< bool, double > | BDpair |
typedef VertexTrack< N >::RefCountedLinearizedTrackState | RefCountedLinearizedTrackState |
typedef VertexTrack< N >::RefCountedRefittedTrackState | RefCountedRefittedTrackState |
typedef CachingVertex< N >::RefCountedVertexTrack | RefCountedVertexTrack |
Public Types inherited from VertexTrackCompatibilityEstimator< N > | |
typedef std::pair< bool, double > | BDpair |
typedef VertexTrack< N >::RefCountedLinearizedTrackState | RefCountedLinearizedTrackState |
typedef CachingVertex< N >::RefCountedVertexTrack | RefCountedVertexTrack |
Public Member Functions | |
KalmanVertexTrackCompatibilityEstimator< N > * | clone () const override |
BDpair | estimate (const CachingVertex< N > &vrt, const RefCountedVertexTrack track, unsigned int hint=UINT_MAX) const override |
BDpair | estimate (const CachingVertex< N > &v, const RefCountedLinearizedTrackState track, unsigned int hint=UINT_MAX) const override |
BDpair | estimate (const reco::Vertex &vertex, const reco::TransientTrack &track) const override |
KalmanVertexTrackCompatibilityEstimator () | |
~KalmanVertexTrackCompatibilityEstimator () override | |
Public Member Functions inherited from VertexTrackCompatibilityEstimator< N > | |
VertexTrackCompatibilityEstimator () | |
virtual | ~VertexTrackCompatibilityEstimator () |
Private Member Functions | |
BDpair | estimateDifference (const CachingVertex< N > &more, const CachingVertex< N > &less, const RefCountedVertexTrack track) const |
BDpair | estimateFittedTrack (const CachingVertex< N > &v, const RefCountedVertexTrack track) const |
BDpair | estimateNFittedTrack (const CachingVertex< N > &v, const RefCountedVertexTrack track) const |
Private Attributes | |
KVFHelper< N > | helper |
KalmanVertexTrackUpdator< N > | trackUpdator |
KalmanVertexUpdator< N > | updator |
VertexTrackFactory< N > | 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 KalmanVertexTrackCompatibilityEstimator.h.
typedef std::pair<bool, double> KalmanVertexTrackCompatibilityEstimator< N >::BDpair |
Definition at line 33 of file KalmanVertexTrackCompatibilityEstimator.h.
typedef VertexTrack<N>::RefCountedLinearizedTrackState KalmanVertexTrackCompatibilityEstimator< N >::RefCountedLinearizedTrackState |
Definition at line 31 of file KalmanVertexTrackCompatibilityEstimator.h.
typedef VertexTrack<N>::RefCountedRefittedTrackState KalmanVertexTrackCompatibilityEstimator< N >::RefCountedRefittedTrackState |
Definition at line 32 of file KalmanVertexTrackCompatibilityEstimator.h.
typedef CachingVertex<N>::RefCountedVertexTrack KalmanVertexTrackCompatibilityEstimator< N >::RefCountedVertexTrack |
Definition at line 30 of file KalmanVertexTrackCompatibilityEstimator.h.
|
inline |
Definition at line 35 of file KalmanVertexTrackCompatibilityEstimator.h.
Referenced by KalmanVertexTrackCompatibilityEstimator< N >::clone().
|
inlineoverride |
Definition at line 37 of file KalmanVertexTrackCompatibilityEstimator.h.
References KalmanVertexTrackCompatibilityEstimator< N >::estimate(), HiIsolationCommonParameters_cff::track, and findQualityFiles::v.
|
inlineoverridevirtual |
Clone method
Implements VertexTrackCompatibilityEstimator< N >.
Definition at line 57 of file KalmanVertexTrackCompatibilityEstimator.h.
References KalmanVertexTrackCompatibilityEstimator< N >::estimateDifference(), KalmanVertexTrackCompatibilityEstimator< N >::estimateFittedTrack(), KalmanVertexTrackCompatibilityEstimator< N >::estimateNFittedTrack(), and KalmanVertexTrackCompatibilityEstimator< N >::KalmanVertexTrackCompatibilityEstimator().
|
overridevirtual |
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. |
Implements VertexTrackCompatibilityEstimator< N >.
Definition at line 10 of file KalmanVertexTrackCompatibilityEstimator.cc.
References edmIntegrityCheck::d, l1t::tracks, and CachingVertex< N >::tracksRef().
Referenced by MultiVertexFitter::updateWeights(), and KalmanVertexTrackCompatibilityEstimator< N >::~KalmanVertexTrackCompatibilityEstimator().
|
overridevirtual |
Methods giving back the compatibility estimation
Implements VertexTrackCompatibilityEstimator< N >.
Definition at line 39 of file KalmanVertexTrackCompatibilityEstimator.cc.
References CachingVertex< N >::vertexState().
|
overridevirtual |
Implements VertexTrackCompatibilityEstimator< N >.
Definition at line 51 of file KalmanVertexTrackCompatibilityEstimator.cc.
References reco::Vertex::chi2(), reco::Vertex::covariance(), KalmanVertexTrackCompatibilityEstimator< N >::estimateFittedTrack(), spr::find(), LinearizedTrackStateFactory::linearizedTrackState(), reco::Vertex::position(), reco::TransientTrack::trackBaseRef(), reco::Vertex::tracks_begin(), and reco::Vertex::tracks_end().
|
private |
Definition at line 116 of file KalmanVertexTrackCompatibilityEstimator.cc.
Referenced by KalmanVertexTrackCompatibilityEstimator< N >::clone(), and KalmanVertexTrackCompatibilityEstimator< N >::estimateNFittedTrack().
|
private |
Definition at line 85 of file KalmanVertexTrackCompatibilityEstimator.cc.
References KalmanVertexTrackCompatibilityEstimator< N >::estimateNFittedTrack().
Referenced by KalmanVertexTrackCompatibilityEstimator< N >::clone(), and KalmanVertexTrackCompatibilityEstimator< N >::estimate().
|
private |
Definition at line 102 of file KalmanVertexTrackCompatibilityEstimator.cc.
References KalmanVertexTrackCompatibilityEstimator< N >::estimateDifference(), CachingVertex< N >::isValid(), CachingVertex< N >::totalChiSquared(), and gsfElectronCkfTrackCandidateMaker_cff::updator.
Referenced by KalmanVertexTrackCompatibilityEstimator< N >::clone(), and KalmanVertexTrackCompatibilityEstimator< N >::estimateFittedTrack().
|
private |
Definition at line 72 of file KalmanVertexTrackCompatibilityEstimator.h.
|
private |
Definition at line 70 of file KalmanVertexTrackCompatibilityEstimator.h.
|
private |
Definition at line 69 of file KalmanVertexTrackCompatibilityEstimator.h.
|
private |
Definition at line 71 of file KalmanVertexTrackCompatibilityEstimator.h.