CMS 3D CMS Logo

VertexReconstructor.h
Go to the documentation of this file.
1 #ifndef _VertexReconstructor_H_
2 #define _VertexReconstructor_H_
3 
7 #include <vector>
8 
14 public:
16  virtual ~VertexReconstructor() {}
17 
20  virtual std::vector<TransientVertex> vertices(const std::vector<reco::TransientTrack> &) const = 0;
21 
25  virtual std::vector<TransientVertex> vertices(const std::vector<reco::TransientTrack> &t,
26  const reco::BeamSpot &) const {
27  return vertices(t);
28  }
29 
39  virtual std::vector<TransientVertex> vertices(const std::vector<reco::TransientTrack> &primaries,
40  const std::vector<reco::TransientTrack> &tracks,
41  const reco::BeamSpot &spot) const {
42  return vertices(tracks, spot);
43  }
44 
45  virtual VertexReconstructor *clone() const = 0;
46 };
47 
48 #endif
VertexReconstructor::VertexReconstructor
VertexReconstructor()
Definition: VertexReconstructor.h:15
TransientTrack.h
BeamSpot.h
reco::BeamSpot
Definition: BeamSpot.h:21
tracks
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
Definition: CAHitNtupletGeneratorKernelsImpl.h:176
VertexReconstructor::vertices
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &) const =0
VertexReconstructor
Definition: VertexReconstructor.h:13
VertexReconstructor::vertices
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &primaries, const std::vector< reco::TransientTrack > &tracks, const reco::BeamSpot &spot) const
Definition: VertexReconstructor.h:39
VertexReconstructor::vertices
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &t, const reco::BeamSpot &) const
Definition: VertexReconstructor.h:25
TransientVertex.h
VertexReconstructor::clone
virtual VertexReconstructor * clone() const =0
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
VertexReconstructor::~VertexReconstructor
virtual ~VertexReconstructor()
Definition: VertexReconstructor.h:16