19 ~Chi2MeasurementEstimatorESProducer()
override;
28 Chi2MeasurementEstimatorESProducer::Chi2MeasurementEstimatorESProducer(
const edm::ParameterSet &
p) :
34 Chi2MeasurementEstimatorESProducer::~Chi2MeasurementEstimatorESProducer() {}
36 std::unique_ptr<Chi2MeasurementEstimatorBase>
38 auto maxChi2 = m_pset.getParameter<
double>(
"MaxChi2");
39 auto nSigma = m_pset.getParameter<
double>(
"nSigma");
40 auto maxDis = m_pset.getParameter<
double>(
"MaxDisplacement");
41 auto maxSag = m_pset.getParameter<
double>(
"MaxSagitta");
42 auto minTol = m_pset.getParameter<
double>(
"MinimalTolerance");
43 auto minpt = m_pset.getParameter<
double>(
"MinPtForHitRecoveryInGluedDet");
45 return std::make_unique<Chi2MeasurementEstimator>(
maxChi2,
nSigma, maxDis, maxSag, minTol,
minpt);
54 descriptions.
add(
"Chi2MeasurementEstimatorDefault", desc);
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
edm::ParameterSetDescription getFilledConfigurationDescription()
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void add(std::string const &label, ParameterSetDescription const &psetDescription)