14 #include <boost/shared_ptr.hpp>
21 virtual ~Chi2MeasurementEstimatorESProducer();
28 boost::shared_ptr<Chi2MeasurementEstimatorBase> m_estimator;
32 Chi2MeasurementEstimatorESProducer::Chi2MeasurementEstimatorESProducer(
const edm::ParameterSet &
p) :
38 Chi2MeasurementEstimatorESProducer::~Chi2MeasurementEstimatorESProducer() {}
40 boost::shared_ptr<Chi2MeasurementEstimatorBase>
42 auto maxChi2 = m_pset.getParameter<
double>(
"MaxChi2");
43 auto nSigma = m_pset.getParameter<
double>(
"nSigma");
44 auto maxDis = m_pset.getParameter<
double>(
"MaxDisplacement");
45 auto maxSag = m_pset.getParameter<
double>(
"MaxSagitta");
46 auto minTol = m_pset.getParameter<
double>(
"MinimalTolerance");
72 desc.
add<
double>(
"MaxChi2",30);
73 desc.
add<
double>(
"nSigma",3);
74 desc.
add<
double>(
"MaxDisplacement",0.5);
75 desc.add<
double>(
"MaxSagitta",2.);
76 desc.add<
double>(
"MinimalTolerance",0.5);
78 descriptions.add(
"Chi2MeasurementEstimator", desc);
T getParameter(std::string const &) const
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
ParameterDescriptionBase * add(U const &iLabel, T const &value)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)