CMS 3D CMS Logo

KalmanVertexTrackCompatibilityEstimator.h
Go to the documentation of this file.
1 #ifndef KalmanVertexTrackCompatibilityEstimator_H
2 #define KalmanVertexTrackCompatibilityEstimator_H
3 
4 
6 //#include "TrackingTools/PatternTools/interface/TSCPBuilderNoMaterial.h"
13 
24 template <unsigned int N>
26 {
27 
28 public:
29 
33  typedef typename std::pair<bool, double> BDpair;
34 
36 
38 
47  virtual BDpair estimate(const CachingVertex<N> & vrt, const RefCountedVertexTrack track,
48  unsigned int hint=UINT_MAX) const;
49 
50  virtual BDpair estimate(const CachingVertex<N> & v,
51  const RefCountedLinearizedTrackState track,
52  unsigned int hint=UINT_MAX) const;
53 
54  virtual BDpair estimate(const reco::Vertex & vertex,
55  const reco::TransientTrack & track) const;
56 
58  {
59  return new KalmanVertexTrackCompatibilityEstimator(* this);
60  }
61 
62 
63 private:
64 
65  BDpair estimateFittedTrack(const CachingVertex<N> & v, const RefCountedVertexTrack track) const;
66  BDpair estimateNFittedTrack(const CachingVertex<N> & v, const RefCountedVertexTrack track) const;
67  BDpair estimateDifference(const CachingVertex<N> & more, const CachingVertex<N> & less,
68  const RefCountedVertexTrack track) const;
73 
74 };
75 
76 #endif
VertexTrack< N >::RefCountedRefittedTrackState RefCountedRefittedTrackState
virtual KalmanVertexTrackCompatibilityEstimator< N > * clone() const
virtual BDpair estimate(const CachingVertex< N > &vrt, const RefCountedVertexTrack track, unsigned int hint=UINT_MAX) const
VertexTrack< N >::RefCountedLinearizedTrackState RefCountedLinearizedTrackState
BDpair estimateDifference(const CachingVertex< N > &more, const CachingVertex< N > &less, const RefCountedVertexTrack track) const
CachingVertex< N >::RefCountedVertexTrack RefCountedVertexTrack
BDpair estimateFittedTrack(const CachingVertex< N > &v, const RefCountedVertexTrack track) const
BDpair estimateNFittedTrack(const CachingVertex< N > &v, const RefCountedVertexTrack track) const