CMS 3D CMS Logo

VertexTrackCompatibilityEstimator.h
Go to the documentation of this file.
1 #ifndef _VertexTrackCompatibilityEstimator_H
2 #define _VertexTrackCompatibilityEstimator_H
3 
7 #include <climits>
8 
14 template <unsigned int N>
16 public:
19  typedef typename std::pair<bool, double> BDpair;
20 
23 
27  virtual BDpair estimate(const CachingVertex<N>& v,
29  unsigned int hint = UINT_MAX) const = 0;
30 
31  virtual BDpair estimate(const reco::Vertex& v, const reco::TransientTrack& track) const = 0;
32 
33  // obsolete ?
34  virtual BDpair estimate(const CachingVertex<N>& v,
36  unsigned int hint = UINT_MAX) const = 0;
40  virtual VertexTrackCompatibilityEstimator<N>* clone() const = 0;
41 };
42 
43 #endif
VertexTrack< N >::RefCountedLinearizedTrackState RefCountedLinearizedTrackState
CachingVertex< N >::RefCountedVertexTrack RefCountedVertexTrack
virtual VertexTrackCompatibilityEstimator< N > * clone() const =0
virtual BDpair estimate(const CachingVertex< N > &v, const RefCountedLinearizedTrackState track, unsigned int hint=UINT_MAX) const =0