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
KalmanTrimmedVertexFinder::KalmanTrimmedVertexFinder
KalmanTrimmedVertexFinder()
Definition: KalmanTrimmedVertexFinder.cc:6
PDWG_EXOHSCP_cff.tracks
tracks
Definition: PDWG_EXOHSCP_cff.py:28
ConfigurableTrimmedVertexFinder::trackCompatibilityCut
float trackCompatibilityCut() const
Definition: ConfigurableTrimmedVertexFinder.h:66
KalmanTrimmedVertexFinder::setParameters
void setParameters(const edm::ParameterSet &)
Definition: KalmanTrimmedVertexFinder.cc:14
KalmanTrimmedVertexFinder::trackCompatibilityToSV
float trackCompatibilityToSV() const
Definition: KalmanTrimmedVertexFinder.h:48
TkAlMuonSelectors_cfi.cut
cut
Definition: TkAlMuonSelectors_cfi.py:5
KalmanTrimmedVertexFinder::setTrackCompatibilityCut
void setTrackCompatibilityCut(float cut)
Definition: KalmanTrimmedVertexFinder.h:58
ConfigurableTrimmedVertexFinder::maxNbOfVertices
int maxNbOfVertices() const
Definition: ConfigurableTrimmedVertexFinder.h:69
ConfigurableTrimmedVertexFinder::setPtCut
void setPtCut(float cut)
Definition: ConfigurableTrimmedVertexFinder.h:75
KalmanTrimmedVertexFinder::setTrackCompatibilityToSV
void setTrackCompatibilityToSV(float cut)
Definition: KalmanTrimmedVertexFinder.h:59
ConfigurableTrimmedVertexFinder::vertexFitProbabilityCut
float vertexFitProbabilityCut() const
Definition: ConfigurableTrimmedVertexFinder.h:68
KalmanTrimmedVertexFinder::theFinder
ConfigurableTrimmedVertexFinder * theFinder
Definition: KalmanTrimmedVertexFinder.h:64
KalmanTrimmedVertexFinder::vertices
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks) const override
Definition: KalmanTrimmedVertexFinder.h:23
alignCSCRings.s
s
Definition: alignCSCRings.py:92
KalmanTrimmedVertexFinder::clone
KalmanTrimmedVertexFinder * clone() const override
Definition: KalmanTrimmedVertexFinder.h:21
KalmanTrimmedVertexFinder::vertexFitProbabilityCut
float vertexFitProbabilityCut() const
Definition: KalmanTrimmedVertexFinder.h:49
reco::BeamSpot
Definition: BeamSpot.h:21
ConfigurableTrimmedVertexFinder::trackCompatibilityToSV
float trackCompatibilityToSV() const
Definition: ConfigurableTrimmedVertexFinder.h:67
trackingPlots.other
other
Definition: trackingPlots.py:1465
ConfigurableTrimmedVertexFinder::setTrackCompatibilityCut
void setTrackCompatibilityCut(float cut)
Definition: ConfigurableTrimmedVertexFinder.h:76
KalmanTrimmedVertexFinder::~KalmanTrimmedVertexFinder
~KalmanTrimmedVertexFinder() override
Definition: KalmanTrimmedVertexFinder.cc:22
KalmanTrimmedVertexFinder::vertices
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks, std::vector< reco::TransientTrack > &unused, const reco::BeamSpot &spot, bool usespot=false) const
Definition: KalmanTrimmedVertexFinder.h:37
edm::ParameterSet
Definition: ParameterSet.h:36
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
VertexReconstructor::vertices
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &) const =0
KalmanTrimmedVertexFinder::maxNbOfVertices
int maxNbOfVertices() const
Definition: KalmanTrimmedVertexFinder.h:50
ConfigurableTrimmedVertexFinder
Definition: ConfigurableTrimmedVertexFinder.h:44
KalmanTrimmedVertexFinder::setVertexFitProbabilityCut
void setVertexFitProbabilityCut(float cut)
Definition: KalmanTrimmedVertexFinder.h:60
VertexReconstructor
Definition: VertexReconstructor.h:13
ConfigurableTrimmedVertexFinder::setTrackCompatibilityToSV
void setTrackCompatibilityToSV(float cut)
Definition: ConfigurableTrimmedVertexFinder.h:77
ConfigurableTrimmedVertexFinder::ptCut
float ptCut() const
Definition: ConfigurableTrimmedVertexFinder.h:64
KalmanTrimmedVertexFinder::setMaxNbOfVertices
void setMaxNbOfVertices(int max)
Definition: KalmanTrimmedVertexFinder.h:61
KalmanTrimmedVertexFinder::ptCut
float ptCut() const
Definition: KalmanTrimmedVertexFinder.h:46
KalmanTrimmedVertexFinder::vertices
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks, std::vector< reco::TransientTrack > &unused) const
Definition: KalmanTrimmedVertexFinder.h:32
KalmanTrimmedVertexFinder::trackCompatibilityCut
float trackCompatibilityCut() const
Definition: KalmanTrimmedVertexFinder.h:47
KalmanTrimmedVertexFinder::setPtCut
void setPtCut(float cut)
Definition: KalmanTrimmedVertexFinder.h:57
KalmanTrimmedVertexFinder::vertices
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks, const reco::BeamSpot &s) const override
Definition: KalmanTrimmedVertexFinder.h:27
ConfigurableTrimmedVertexFinder.h
KalmanTrimmedVertexFinder
Definition: KalmanTrimmedVertexFinder.h:13
ConfigurableTrimmedVertexFinder::setVertexFitProbabilityCut
void setVertexFitProbabilityCut(float cut)
Definition: ConfigurableTrimmedVertexFinder.h:78
ConfigurableTrimmedVertexFinder::setMaxNbOfVertices
void setMaxNbOfVertices(int max)
Definition: ConfigurableTrimmedVertexFinder.h:79
ConfigurableTrimmedVertexFinder::vertices
std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &tracks) const override
Definition: ConfigurableTrimmedVertexFinder.cc:26