CMS 3D CMS Logo

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 public:
23 
24  virtual ~VertexFitter() {}
25 
28  virtual CachingVertex<N> vertex(const std::vector<reco::TransientTrack>& tracks) const = 0;
29 
33  virtual CachingVertex<N> vertex(const std::vector<typename CachingVertex<N>::RefCountedVertexTrack>& tracks) const = 0;
34 
38  virtual CachingVertex<N> vertex(const std::vector<typename CachingVertex<N>::RefCountedVertexTrack>& tracks,
39  const reco::BeamSpot& spot) const = 0;
40 
44  virtual CachingVertex<N> vertex(const std::vector<reco::TransientTrack>& tracks,
45  const GlobalPoint& linPoint) const = 0;
46 
52  virtual CachingVertex<N> vertex(const std::vector<reco::TransientTrack>& tracks,
53  const GlobalPoint& priorPos,
54  const GlobalError& priorError) const = 0;
55 
60  virtual CachingVertex<N> vertex(const std::vector<reco::TransientTrack>& tracks,
61  const reco::BeamSpot& beamSpot) const = 0;
62 
67  virtual CachingVertex<N> vertex(const std::vector<typename CachingVertex<N>::RefCountedVertexTrack>& tracks,
68  const GlobalPoint& priorPos,
69  const GlobalError& priorError) const = 0;
70 
73  // virtual CachingVertex<N>
74  // vertex(const RefCountedVertexSeed vtxSeed) const = 0;
75 
76  virtual VertexFitter* clone() const = 0;
77 };
78 
79 #endif
PDWG_EXOHSCP_cff.tracks
tracks
Definition: PDWG_EXOHSCP_cff.py:28
pwdgSkimBPark_cfi.beamSpot
beamSpot
Definition: pwdgSkimBPark_cfi.py:5
CachingVertex
Definition: CachingVertex.h:22
ReferenceCountingPointer
Definition: ReferenceCounted.h:60
TransientTrack.h
VertexFitter
Definition: VertexFitter.h:20
CachingVertex.h
BeamSpot.h
reco::BeamSpot
Definition: BeamSpot.h:21
Point3DBase< float, GlobalTag >
VertexFitter::vertex
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
VertexFitter::VertexFitter
VertexFitter()
Definition: VertexFitter.h:22
GlobalErrorBase< double, ErrorMatrixTag >
VertexFitter::~VertexFitter
virtual ~VertexFitter()
Definition: VertexFitter.h:24
VertexFitter::clone
virtual VertexFitter * clone() const =0