CMS 3D CMS Logo

KalmanTrimmedVertexFinder.cc
Go to the documentation of this file.
5 
6 
8 {
9  KalmanVertexFitter vf(false);
12 
13  theFinder = new ConfigurableTrimmedVertexFinder (&vf, &vu, &ve);
14 }
15 
17 {
18  setPtCut(s.getParameter<double>("ptCut"));
19  setTrackCompatibilityCut(s.getParameter<double>("trackCompatibilityToPVcut"));
20  setTrackCompatibilityToSV(s.getParameter<double>("trackCompatibilityToSVcut"));
21  setVertexFitProbabilityCut(s.getParameter<double>("vtxFitProbCut"));
22  setMaxNbOfVertices(s.getParameter<int>("maxNbOfVertices"));
23 }
24 
25 
27 {
28  delete theFinder;
29 }
30 
31 
34 {
35  theFinder = other.theFinder->clone();
36 }
T getParameter(std::string const &) const
ConfigurableTrimmedVertexFinder * theFinder
void setParameters(const edm::ParameterSet &)
virtual ConfigurableTrimmedVertexFinder * clone() const