19 virtual ~Chi2MeasurementEstimatorESProducer();
25 std::shared_ptr<Chi2MeasurementEstimatorBase> m_estimator;
29 Chi2MeasurementEstimatorESProducer::Chi2MeasurementEstimatorESProducer(
const edm::ParameterSet &
p) :
35 Chi2MeasurementEstimatorESProducer::~Chi2MeasurementEstimatorESProducer() {}
37 std::shared_ptr<Chi2MeasurementEstimatorBase>
39 auto maxChi2 = m_pset.getParameter<
double>(
"MaxChi2");
40 auto nSigma = m_pset.getParameter<
double>(
"nSigma");
41 auto maxDis = m_pset.getParameter<
double>(
"MaxDisplacement");
42 auto maxSag = m_pset.getParameter<
double>(
"MaxSagitta");
43 auto minTol = m_pset.getParameter<
double>(
"MinimalTolerance");
44 auto minpt = m_pset.getParameter<
double>(
"MinPtForHitRecoveryInGluedDet");
46 m_estimator = std::make_shared<Chi2MeasurementEstimator>(
maxChi2,
nSigma, maxDis, maxSag, minTol,
minpt);
56 descriptions.
add(
"Chi2MeasurementEstimatorDefault", desc);
T getParameter(std::string const &) const
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
edm::ParameterSetDescription getFilledConfigurationDescription()
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)