#include <MRHChi2MeasurementEstimatorESProducer.h>
Public Member Functions | |
MRHChi2MeasurementEstimatorESProducer (const edm::ParameterSet &p) | |
boost::shared_ptr < Chi2MeasurementEstimatorBase > | produce (const TrackingComponentsRecord &) |
virtual | ~MRHChi2MeasurementEstimatorESProducer () |
Private Attributes | |
boost::shared_ptr < Chi2MeasurementEstimatorBase > | _estimator |
edm::ParameterSet | pset_ |
Definition at line 11 of file MRHChi2MeasurementEstimatorESProducer.h.
MRHChi2MeasurementEstimatorESProducer::MRHChi2MeasurementEstimatorESProducer | ( | const edm::ParameterSet & | p | ) |
Definition at line 14 of file MRHChi2MeasurementEstimatorESProducer.cc.
References edm::ParameterSet::getParameter(), and AlCaHLTBitMon_ParallelJobs::p.
{ std::string myname = p.getParameter<std::string>("ComponentName"); pset_ = p; setWhatProduced(this,myname); }
MRHChi2MeasurementEstimatorESProducer::~MRHChi2MeasurementEstimatorESProducer | ( | ) | [virtual] |
Definition at line 21 of file MRHChi2MeasurementEstimatorESProducer.cc.
{}
boost::shared_ptr< Chi2MeasurementEstimatorBase > MRHChi2MeasurementEstimatorESProducer::produce | ( | const TrackingComponentsRecord & | iRecord | ) |
Definition at line 24 of file MRHChi2MeasurementEstimatorESProducer.cc.
References MRHChi2MeasurementEstimatorESProducer_cfi::MRHChi2MeasurementEstimator.
{ double maxChi2 = pset_.getParameter<double>("MaxChi2"); double nSigma = pset_.getParameter<double>("nSigma"); _estimator = boost::shared_ptr<Chi2MeasurementEstimatorBase>(new MRHChi2MeasurementEstimator(maxChi2,nSigma)); return _estimator; }
boost::shared_ptr<Chi2MeasurementEstimatorBase> MRHChi2MeasurementEstimatorESProducer::_estimator [private] |
Definition at line 17 of file MRHChi2MeasurementEstimatorESProducer.h.
Definition at line 18 of file MRHChi2MeasurementEstimatorESProducer.h.