00001 #ifndef TrackingTools_ESProducers_MRHChi2MeasurementEstimatorESProducer_h 00002 #define TrackingTools_ESProducers_MRHChi2MeasurementEstimatorESProducer_h 00003 00004 00005 #include "FWCore/Framework/interface/ESProducer.h" 00006 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00007 #include "TrackingTools/Records/interface/TrackingComponentsRecord.h" 00008 #include "TrackingTools/KalmanUpdators/interface/MRHChi2MeasurementEstimator.h" 00009 #include <boost/shared_ptr.hpp> 00010 00011 class MRHChi2MeasurementEstimatorESProducer: public edm::ESProducer{ 00012 public: 00013 MRHChi2MeasurementEstimatorESProducer(const edm::ParameterSet & p); 00014 virtual ~MRHChi2MeasurementEstimatorESProducer(); 00015 boost::shared_ptr<Chi2MeasurementEstimatorBase> produce(const TrackingComponentsRecord&); 00016 private: 00017 boost::shared_ptr<Chi2MeasurementEstimatorBase> _estimator; 00018 edm::ParameterSet pset_; 00019 }; 00020 00021 00022 #endif 00023 00024 00025 00026