CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/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 "FWCore/Framework/interface/Event.h"
00006 #include "DataFormats/Common/interface/Handle.h"
00007 #include "FWCore/Framework/interface/EventSetup.h"
00008 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00009 
00010 #include "RecoLocalCalo/EcalRecProducers/plugins/ESRecHitProducer.h"
00011 #include "RecoLocalCalo/EcalRecProducers/plugins/ESRecHitWorker.h"
00012 
00013 // ESRecHitProducer author : Chia-Ming, Kuo
00014 
00015 class ESRecHitProducer : public edm::EDProducer {
00016 
00017  public:
00018 
00019   explicit ESRecHitProducer(const edm::ParameterSet& ps);
00020   virtual ~ESRecHitProducer();
00021   virtual void produce(edm::Event& e, const edm::EventSetup& es);
00022 
00023  private:
00024 
00025   edm::InputTag digiCollection_; // secondary name given to collection of digis
00026   std::string rechitCollection_; // secondary name to be given to collection of hits
00027 
00028   ESRecHitWorkerBaseClass * worker_;
00029 };
00030 #endif