00001 #ifndef RecoLocaltracker_SiStriprecHitConverter_SiStripRecHitMatcherESProducer_h 00002 #define RecoLocaltracker_SiStriprecHitConverter_SiStripRecHitMatcherESProducer_h 00003 00004 #include "FWCore/Framework/interface/ESProducer.h" 00005 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00006 #include "RecoLocalTracker/Records/interface/TkStripCPERecord.h" 00007 #include "RecoLocalTracker/SiStripRecHitConverter/interface/SiStripRecHitMatcher.h" 00008 #include <boost/shared_ptr.hpp> 00009 00010 class SiStripRecHitMatcherESProducer: public edm::ESProducer{ 00011 public: 00012 SiStripRecHitMatcherESProducer(const edm::ParameterSet & p); 00013 virtual ~SiStripRecHitMatcherESProducer(); 00014 boost::shared_ptr<SiStripRecHitMatcher> produce(const TkStripCPERecord &); 00015 private: 00016 boost::shared_ptr<SiStripRecHitMatcher> _matcher; 00017 edm::ParameterSet pset_; 00018 }; 00019 00020 00021 #endif 00022 00023 00024 00025