CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
17 public:
18 
20  typedef typename VertexTrack<N>::RefCountedLinearizedTrackState RefCountedLinearizedTrackState;
21  typedef typename std::pair <bool, double> BDpair;
22 
25 
29  virtual BDpair estimate(const CachingVertex<N> & v,
31  unsigned int hint=UINT_MAX) const = 0;
32 
33  virtual BDpair estimate(const reco::Vertex & v,
34  const reco::TransientTrack & track) const = 0;
35 
36  // obsolete ?
37  virtual BDpair estimate(const CachingVertex<N> & v,
38  const RefCountedVertexTrack track, unsigned int hint=UINT_MAX) const = 0;
42  virtual VertexTrackCompatibilityEstimator<N> * clone() const = 0;
43 
44 };
45 
46 #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