CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MRHChi2MeasurementEstimatorESProducer.cc
Go to the documentation of this file.
2 
7 
8 
9 #include <string>
10 #include <memory>
11 
12 using namespace edm;
13 
15 {
16  std::string myname = p.getParameter<std::string>("ComponentName");
17  pset_ = p;
18  setWhatProduced(this,myname);
19 }
20 
22 
23 boost::shared_ptr<Chi2MeasurementEstimatorBase>
25 
26  double maxChi2 = pset_.getParameter<double>("MaxChi2");
27  double nSigma = pset_.getParameter<double>("nSigma");
28  _estimator = boost::shared_ptr<Chi2MeasurementEstimatorBase>(new MRHChi2MeasurementEstimator(maxChi2,nSigma));
29  return _estimator;
30 }
31 
32 
T getParameter(std::string const &) const
boost::shared_ptr< Chi2MeasurementEstimatorBase > produce(const TrackingComponentsRecord &)