test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
VertexFitter.h
Go to the documentation of this file.
1 #ifndef _VertexFitter_H_
2 #define _VertexFitter_H_
3 
7 
8 #include <vector>
9 
19 template <unsigned int N>
20 class VertexFitter {
21 
22 public:
23 
25 
26  virtual ~VertexFitter() {}
27 
30  virtual CachingVertex<N>
31  vertex(const std::vector<reco::TransientTrack> & tracks) const = 0;
32 
36  virtual CachingVertex<N>
37  vertex(const std::vector<typename CachingVertex<N>::RefCountedVertexTrack > & tracks) const = 0;
38 
42  virtual CachingVertex<N>
43  vertex(const std::vector<typename CachingVertex<N>::RefCountedVertexTrack > & tracks, const reco::BeamSpot & spot ) const = 0;
44 
45 
49  virtual CachingVertex<N>
50  vertex(const std::vector<reco::TransientTrack> & tracks, const GlobalPoint& linPoint) const = 0;
51 
57  virtual CachingVertex<N>
58  vertex(const std::vector<reco::TransientTrack> & tracks, const GlobalPoint& priorPos,
59  const GlobalError& priorError) const = 0;
60 
65  virtual CachingVertex<N>
66  vertex(const std::vector<reco::TransientTrack> & tracks, const reco::BeamSpot& beamSpot) const = 0;
67 
72  virtual CachingVertex<N>
73  vertex(const std::vector<typename CachingVertex<N>::RefCountedVertexTrack > & tracks,
74  const GlobalPoint& priorPos,
75  const GlobalError& priorError) const = 0;
76 
79 // virtual CachingVertex<N>
80 // vertex(const RefCountedVertexSeed vtxSeed) const = 0;
81 
82  virtual VertexFitter * clone() const = 0;
83 
84 };
85 
86 #endif
virtual VertexFitter * clone() const =0
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
virtual ~VertexFitter()
Definition: VertexFitter.h:26
tuple tracks
Definition: testEve_cfg.py:39