00001 #ifndef HcalDigiProducer_h 00002 #define HcalDigiProducer_h 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "FWCore/Framework/interface/Event.h" 00006 #include "FWCore/Framework/interface/EventSetup.h" 00007 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00008 #include "SimCalorimetry/HcalSimProducers/interface/HcalDigitizer.h" 00009 00010 00011 class HcalDigiProducer : public edm::EDProducer 00012 { 00013 public: 00014 00015 explicit HcalDigiProducer(const edm::ParameterSet& ps); 00016 virtual ~HcalDigiProducer(); 00017 00019 virtual void produce(edm::Event& e, const edm::EventSetup& c); 00020 virtual void beginRun(edm::Run&, edm::EventSetup const&); 00021 virtual void endRun(edm::Run&, edm::EventSetup const&); 00022 00023 00024 private: 00025 HcalDigitizer theDigitizer; 00026 }; 00027 00028 #endif 00029