00001 #ifndef L1RCTInputProducer_h 00002 #define L1RCTInputProducer_h 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "DataFormats/Common/interface/EDProduct.h" 00006 00007 #include "DataFormats/Common/interface/Handle.h" 00008 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00009 #include "FWCore/Framework/interface/EventSetup.h" 00010 #include "FWCore/Framework/interface/Event.h" 00011 #include "FWCore/Framework/interface/ESHandle.h" 00012 00013 #include "FWCore/MessageLogger/interface/MessageLogger.h" 00014 00015 #include <string> 00016 00017 class L1RCT; 00018 class L1RCTLookupTables; 00019 00020 class L1RCTInputProducer : public edm::EDProducer 00021 { 00022 public: 00023 explicit L1RCTInputProducer(const edm::ParameterSet& ps); 00024 virtual ~L1RCTInputProducer(); 00025 virtual void produce(edm::Event& e, const edm::EventSetup& c); 00026 private: 00027 L1RCTLookupTables* rctLookupTables; 00028 L1RCT* rct; 00029 bool useEcal; 00030 bool useHcal; 00031 edm::InputTag ecalDigisLabel; 00032 edm::InputTag hcalDigisLabel; 00033 }; 00034 #endif