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