CMS 3D CMS Logo

AdaptiveGsfVertexFitter.cc
Go to the documentation of this file.
7 
9  bool limitComponents_ = pSet.getParameter<bool>("limitComponents");
10 
12 
13  if (limitComponents_) {
14  theMerger = new GsfVertexMerger(pSet.getParameter<edm::ParameterSet>("GsfMergerParameters"));
15  }
16 
18  linP,
19  GsfVertexUpdator(limitComponents_, &*theMerger),
21  GsfVertexSmoother(limitComponents_, &*theMerger),
24 
36  theFitter->setParameters(pSet.getParameter<double>("maxshift"),
37  pSet.getParameter<double>("maxlpshift"),
38  pSet.getParameter<int>("maxstep"),
39  pSet.getParameter<double>("weightthreshold"));
40 }
41 
43  theFitter = original.theFitter->clone();
44 }
45 
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
AdaptiveVertexFitter * theFitter
AdaptiveGsfVertexFitter(const edm::ParameterSet &pSet, const LinearizationPointFinder &linP=DefaultLinearizationPointFinder())
void setParameters(double maxshift=0.0001, double maxlpshift=0.1, unsigned maxstep=30, double weightthreshold=.001)
void gsfIntermediarySmoothing(bool sm)