CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
KalmanTrimmedVertexFinder.h
Go to the documentation of this file.
1 #ifndef _KalmanTrimmedVertexFinder_H_
2 #define _KalmanTrimmedVertexFinder_H_
3 
5 
14  : public VertexReconstructor {
15 
16 public:
17 
20  const KalmanTrimmedVertexFinder & other);
22 
25  virtual KalmanTrimmedVertexFinder * clone() const {
26  return new KalmanTrimmedVertexFinder(*this);
27  }
28 
29  virtual inline std::vector<TransientVertex>
30  vertices(const std::vector<reco::TransientTrack> & tracks) const {
31  return theFinder->vertices(tracks);
32  }
33 
34  virtual inline std::vector<TransientVertex>
35  vertices(const std::vector<reco::TransientTrack> & tracks,
36  const reco::BeamSpot & s ) const {
37  return theFinder->vertices(tracks,s);
38  }
39 
40  inline std::vector<TransientVertex>
41  vertices( const std::vector<reco::TransientTrack> & tracks,
42  std::vector<reco::TransientTrack>& unused) const {
43  return theFinder->vertices(tracks, unused, reco::BeamSpot(), false );
44  }
45 
46  inline std::vector<TransientVertex>
47  vertices( const std::vector<reco::TransientTrack> & tracks,
48  std::vector<reco::TransientTrack>& unused,
49  const reco::BeamSpot & spot, bool usespot=false ) const {
50  return theFinder->vertices(tracks, unused, spot, usespot );
51  }
52 
55  inline float ptCut() const { return theFinder->ptCut(); }
56  inline float trackCompatibilityCut() const {
58  }
59  inline float trackCompatibilityToSV() const {
61  }
62  inline float vertexFitProbabilityCut() const {
64  }
65  inline int maxNbOfVertices() const { return theFinder->maxNbOfVertices(); }
66 
70  void setParameters ( const edm::ParameterSet & );
71 
72  inline void setPtCut(float cut) { theFinder->setPtCut(cut); }
73  inline void setTrackCompatibilityCut(float cut) {
75  }
76  inline void setTrackCompatibilityToSV(float cut) {
78  }
79  inline void setVertexFitProbabilityCut(float cut) {
81  }
82  inline void setMaxNbOfVertices(int max) {
84  }
85 
86 private:
87 
90 
91 };
92 
93 #endif
ConfigurableTrimmedVertexFinder * theFinder
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks, std::vector< reco::TransientTrack > &unused, const reco::BeamSpot &spot, bool usespot=false) const
virtual KalmanTrimmedVertexFinder * clone() const
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks) const
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &) const =0
void setParameters(const edm::ParameterSet &)
tuple tracks
Definition: testEve_cfg.py:39
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks, std::vector< reco::TransientTrack > &unused) const
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks) const
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks, const reco::BeamSpot &s) const