CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoLocalCalo/EcalRecProducers/plugins/ESRecHitProducer.h

Go to the documentation of this file.
00001 #ifndef RecoLocalCalo_EcalRecProducers_ESRecHitProducer_HH
00002 #define RecoLocalCalo_EcalRecProducers_ESRecHitProducer_HH
00003 
00004 #include "FWCore/Framework/interface/EDProducer.h"
00005 #include "DataFormats/Common/interface/EDProduct.h"
00006 #include "FWCore/Framework/interface/Event.h"
00007 #include "DataFormats/Common/interface/Handle.h"
00008 #include "FWCore/Framework/interface/EventSetup.h"
00009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00010 
00011 #include "RecoLocalCalo/EcalRecProducers/plugins/ESRecHitProducer.h"
00012 #include "RecoLocalCalo/EcalRecProducers/plugins/ESRecHitWorker.h"
00013 
00014 // ESRecHitProducer author : Chia-Ming, Kuo
00015 
00016 class ESRecHitProducer : public edm::EDProducer {
00017 
00018  public:
00019 
00020   explicit ESRecHitProducer(const edm::ParameterSet& ps);
00021   virtual ~ESRecHitProducer();
00022   virtual void produce(edm::Event& e, const edm::EventSetup& es);
00023 
00024  private:
00025 
00026   edm::InputTag digiCollection_; // secondary name given to collection of digis
00027   std::string rechitCollection_; // secondary name to be given to collection of hits
00028 
00029   ESRecHitWorkerBaseClass * worker_;
00030 };
00031 #endif