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
VertexTrackCompatibilityEstimator::clone
virtual VertexTrackCompatibilityEstimator< N > * clone() const =0
VertexTrackCompatibilityEstimator::estimate
virtual BDpair estimate(const CachingVertex< N > &v, const RefCountedLinearizedTrackState track, unsigned int hint=UINT_MAX) const =0
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11779
CachingVertex
Definition: CachingVertex.h:22
VertexTrackCompatibilityEstimator::~VertexTrackCompatibilityEstimator
virtual ~VertexTrackCompatibilityEstimator()
Definition: VertexTrackCompatibilityEstimator.h:22
ReferenceCountingPointer
Definition: ReferenceCounted.h:60
TransientTrack.h
findQualityFiles.v
v
Definition: findQualityFiles.py:179
VertexTrackCompatibilityEstimator::RefCountedLinearizedTrackState
VertexTrack< N >::RefCountedLinearizedTrackState RefCountedLinearizedTrackState
Definition: VertexTrackCompatibilityEstimator.h:18
CachingVertex.h
Vertex.h
VertexTrackCompatibilityEstimator::BDpair
std::pair< bool, double > BDpair
Definition: VertexTrackCompatibilityEstimator.h:19
VertexTrackCompatibilityEstimator
Definition: VertexTrackCompatibilityEstimator.h:15
reco::TransientTrack
Definition: TransientTrack.h:19
VertexTrackCompatibilityEstimator::RefCountedVertexTrack
CachingVertex< N >::RefCountedVertexTrack RefCountedVertexTrack
Definition: VertexTrackCompatibilityEstimator.h:17
VertexTrackCompatibilityEstimator::VertexTrackCompatibilityEstimator
VertexTrackCompatibilityEstimator()
Definition: VertexTrackCompatibilityEstimator.h:21
reco::Vertex
Definition: Vertex.h:35