21 const double maxChi2_;
25 MRHChi2MeasurementEstimatorESProducer::MRHChi2MeasurementEstimatorESProducer(
const edm::ParameterSet&
p)
26 : maxChi2_(
p.getParameter<double>(
"MaxChi2")), nSigma_(
p.getParameter<double>(
"nSigma")) {
31 std::unique_ptr<Chi2MeasurementEstimatorBase> MRHChi2MeasurementEstimatorESProducer::produce(
33 return std::make_unique<MRHChi2MeasurementEstimator>(maxChi2_, nSigma_);
38 desc.add<
double>(
"MaxChi2");
39 desc.add<
double>(
"nSigma");
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
void addDefault(ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)