CMS 3D CMS Logo

KalmanTrimmedVertexFinder.h
Go to the documentation of this file.
1 #ifndef _KalmanTrimmedVertexFinder_H_
2 #define _KalmanTrimmedVertexFinder_H_
3 
5 
14 public:
17  ~KalmanTrimmedVertexFinder() override;
18 
21  KalmanTrimmedVertexFinder* clone() const override { return new KalmanTrimmedVertexFinder(*this); }
22 
23  inline std::vector<TransientVertex> vertices(const std::vector<reco::TransientTrack>& tracks) const override {
24  return theFinder->vertices(tracks);
25  }
26 
27  inline std::vector<TransientVertex> vertices(const std::vector<reco::TransientTrack>& tracks,
28  const reco::BeamSpot& s) const override {
29  return theFinder->vertices(tracks, s);
30  }
31 
32  inline std::vector<TransientVertex> vertices(const std::vector<reco::TransientTrack>& tracks,
33  std::vector<reco::TransientTrack>& unused) const {
34  return theFinder->vertices(tracks, unused, reco::BeamSpot(), false);
35  }
36 
37  inline std::vector<TransientVertex> vertices(const std::vector<reco::TransientTrack>& tracks,
38  std::vector<reco::TransientTrack>& unused,
39  const reco::BeamSpot& spot,
40  bool usespot = false) const {
41  return theFinder->vertices(tracks, unused, spot, usespot);
42  }
43 
46  inline float ptCut() const { return theFinder->ptCut(); }
47  inline float trackCompatibilityCut() const { return theFinder->trackCompatibilityCut(); }
48  inline float trackCompatibilityToSV() const { return theFinder->trackCompatibilityToSV(); }
49  inline float vertexFitProbabilityCut() const { return theFinder->vertexFitProbabilityCut(); }
50  inline int maxNbOfVertices() const { return theFinder->maxNbOfVertices(); }
51 
55  void setParameters(const edm::ParameterSet&);
56 
57  inline void setPtCut(float cut) { theFinder->setPtCut(cut); }
62 
63 private:
66 };
67 
68 #endif
ConfigurableTrimmedVertexFinder * theFinder
KalmanTrimmedVertexFinder * clone() const override
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks, std::vector< reco::TransientTrack > &unused) const
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks, std::vector< reco::TransientTrack > &unused, const reco::BeamSpot &spot, bool usespot=false) const
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &) const =0
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks) const override
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks, const reco::BeamSpot &s) const override
void setParameters(const edm::ParameterSet &)
auto const & tracks
cannot be loose
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks) const override