19 setWhatProduced(
this,myname);
24 boost::shared_ptr<Chi2MeasurementEstimatorBase>
27 double maxChi2 = pset_.getParameter<
double>(
"MaxChi2");
28 double nSigma = pset_.getParameter<
double>(
"nSigma");
29 bool cutOnPixelCharge_ = pset_.exists(
"minGoodPixelCharge");
30 bool cutOnStripCharge_ = pset_.exists(
"minGoodStripCharge");
31 double minGoodPixelCharge_= (cutOnPixelCharge_ ? pset_.getParameter<
double>(
"minGoodPixelCharge") : 0);
32 double minGoodStripCharge_= (cutOnStripCharge_ ? pset_.getParameter<
double>(
"minGoodStripCharge") : 0);
33 double pTChargeCutThreshold_= (pset_.exists(
"pTChargeCutThreshold") ? pset_.getParameter<
double>(
"pTChargeCutThreshold") : -1.);
35 _estimator = boost::shared_ptr<Chi2MeasurementEstimatorBase>(
37 minGoodPixelCharge_, minGoodStripCharge_, pTChargeCutThreshold_));
T getParameter(std::string const &) const
virtual ~Chi2ChargeMeasurementEstimatorESProducer()
boost::shared_ptr< Chi2MeasurementEstimatorBase > produce(const TrackingComponentsRecord &)
Chi2ChargeMeasurementEstimatorESProducer(const edm::ParameterSet &p)
tuple Chi2ChargeMeasurementEstimator