#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 24 of file KalmanVertexTrackCompatibilityEstimator.h.
typedef std::pair<bool, double> KalmanVertexTrackCompatibilityEstimator< N >::BDpair |
Definition at line 29 of file KalmanVertexTrackCompatibilityEstimator.h.
typedef VertexTrack<N>::RefCountedLinearizedTrackState KalmanVertexTrackCompatibilityEstimator< N >::RefCountedLinearizedTrackState |
Definition at line 27 of file KalmanVertexTrackCompatibilityEstimator.h.
typedef VertexTrack<N>::RefCountedRefittedTrackState KalmanVertexTrackCompatibilityEstimator< N >::RefCountedRefittedTrackState |
Definition at line 28 of file KalmanVertexTrackCompatibilityEstimator.h.
typedef CachingVertex<N>::RefCountedVertexTrack KalmanVertexTrackCompatibilityEstimator< N >::RefCountedVertexTrack |
Definition at line 26 of file KalmanVertexTrackCompatibilityEstimator.h.
|
inline |
Definition at line 31 of file KalmanVertexTrackCompatibilityEstimator.h.
Referenced by KalmanVertexTrackCompatibilityEstimator< N >::clone().
|
inlineoverride |
Definition at line 33 of file KalmanVertexTrackCompatibilityEstimator.h.
|
inlineoverridevirtual |
Clone method
Implements VertexTrackCompatibilityEstimator< N >.
Definition at line 53 of file KalmanVertexTrackCompatibilityEstimator.h.
References 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 8 of file KalmanVertexTrackCompatibilityEstimator.cc.
References ztail::d, tracks, and CachingVertex< N >::tracksRef().
Referenced by MultiVertexFitter::updateWeights().
|
overridevirtual |
Methods giving back the compatibility estimation
Implements VertexTrackCompatibilityEstimator< N >.
Definition at line 33 of file KalmanVertexTrackCompatibilityEstimator.cc.
References CachingVertex< N >::vertexState().
|
overridevirtual |
Implements VertexTrackCompatibilityEstimator< N >.
Definition at line 40 of file KalmanVertexTrackCompatibilityEstimator.cc.
References reco::Vertex::chi2(), reco::Vertex::covariance(), submitPVValidationJobs::err, spr::find(), LinearizedTrackStateFactory::linearizedTrackState(), reco::Vertex::position(), reco::TransientTrack::trackBaseRef(), reco::Vertex::tracks_begin(), and reco::Vertex::tracks_end().
|
private |
Definition at line 95 of file KalmanVertexTrackCompatibilityEstimator.cc.
|
private |
Definition at line 67 of file KalmanVertexTrackCompatibilityEstimator.cc.
|
private |
Definition at line 83 of file KalmanVertexTrackCompatibilityEstimator.cc.
References CachingVertex< N >::isValid(), CachingVertex< N >::totalChiSquared(), and HLT_FULL_cff::updator.
|
private |
Definition at line 66 of file KalmanVertexTrackCompatibilityEstimator.h.
|
private |
Definition at line 64 of file KalmanVertexTrackCompatibilityEstimator.h.
|
private |
Definition at line 63 of file KalmanVertexTrackCompatibilityEstimator.h.
|
private |
Definition at line 65 of file KalmanVertexTrackCompatibilityEstimator.h.