00001 #ifndef HcalHistogramRawToDigi_h 00002 #define HcalHistogramRawToDigi_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/HcalUnpacker.h" 00025 00026 class HcalHistogramRawToDigi : public edm::EDProducer 00027 { 00028 public: 00029 explicit HcalHistogramRawToDigi(const edm::ParameterSet& ps); 00030 virtual ~HcalHistogramRawToDigi(); 00031 virtual void produce(edm::Event& e, const edm::EventSetup& c); 00032 private: 00033 edm::InputTag dataTag_; 00034 HcalUnpacker unpacker_; 00035 std::vector<int> fedUnpackList_; 00036 int firstFED_; 00037 }; 00038 00039 #endif