00001 #ifndef HcalDigiToRaw_h 00002 #define HcalDigiToRaw_h 00003 00017 #include "FWCore/Framework/interface/EDProducer.h" 00018 #include "FWCore/Framework/interface/Event.h" 00019 #include "DataFormats/Common/interface/Handle.h" 00020 00021 #include "FWCore/Framework/interface/EventSetup.h" 00022 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00023 00024 #include "EventFilter/HcalRawToDigi/interface/HcalPacker.h" 00025 00026 class HcalDigiToRaw : public edm::EDProducer 00027 { 00028 public: 00029 explicit HcalDigiToRaw(const edm::ParameterSet& ps); 00030 virtual ~HcalDigiToRaw(); 00031 virtual void produce(edm::Event& e, const edm::EventSetup& c); 00032 private: 00033 HcalPacker packer_; 00034 edm::InputTag hbheTag_, hoTag_, hfTag_, zdcTag_, calibTag_, trigTag_; 00035 }; 00036 00037 #endif