#include <Chi2MeasurementEstimatorESProducer.h>
Public Member Functions | |
Chi2MeasurementEstimatorESProducer (const edm::ParameterSet &p) | |
boost::shared_ptr < Chi2MeasurementEstimatorBase > | produce (const TrackingComponentsRecord &) |
virtual | ~Chi2MeasurementEstimatorESProducer () |
Private Attributes | |
boost::shared_ptr < Chi2MeasurementEstimatorBase > | _estimator |
edm::ParameterSet | pset_ |
ESProducer for Chi2MeasurementEstimator.
Definition at line 18 of file Chi2MeasurementEstimatorESProducer.h.
Chi2MeasurementEstimatorESProducer::Chi2MeasurementEstimatorESProducer | ( | const edm::ParameterSet & | p | ) |
Definition at line 15 of file Chi2MeasurementEstimatorESProducer.cc.
References edm::ParameterSet::getParameter(), and L1TEmulatorMonitor_cff::p.
{ std::string myname = p.getParameter<std::string>("ComponentName"); pset_ = p; setWhatProduced(this,myname); }
Chi2MeasurementEstimatorESProducer::~Chi2MeasurementEstimatorESProducer | ( | ) | [virtual] |
Definition at line 22 of file Chi2MeasurementEstimatorESProducer.cc.
{}
boost::shared_ptr< Chi2MeasurementEstimatorBase > Chi2MeasurementEstimatorESProducer::produce | ( | const TrackingComponentsRecord & | iRecord | ) |
Definition at line 25 of file Chi2MeasurementEstimatorESProducer.cc.
References Chi2MeasurementEstimatorESProducer_cfi::Chi2MeasurementEstimator.
{ // if (_updator){ // delete _updator; // _updator = 0; // } double maxChi2 = pset_.getParameter<double>("MaxChi2"); double nSigma = pset_.getParameter<double>("nSigma"); _estimator = boost::shared_ptr<Chi2MeasurementEstimatorBase>(new Chi2MeasurementEstimator(maxChi2,nSigma)); return _estimator; }
boost::shared_ptr<Chi2MeasurementEstimatorBase> Chi2MeasurementEstimatorESProducer::_estimator [private] |
Definition at line 24 of file Chi2MeasurementEstimatorESProducer.h.
Definition at line 25 of file Chi2MeasurementEstimatorESProducer.h.