00001 #ifndef RecoTBCalo_EcalTBTDCReconstructor_EcalTBH2TDCRecInfoProducer_HH 00002 #define RecoTBCalo_EcalTBTDCReconstructor_EcalTBH2TDCRecInfoProducer_HH 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "DataFormats/Common/interface/EDProduct.h" 00006 #include "FWCore/Framework/interface/Event.h" 00007 #include "DataFormats/Common/interface/Handle.h" 00008 00009 #include "FWCore/Framework/interface/EventSetup.h" 00010 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00011 00012 #include "RecoTBCalo/EcalTBTDCReconstructor/interface/EcalTBH2TDCRecInfoAlgo.h" 00013 00014 #include <vector> 00015 00016 class EcalTBH2TDCRecInfoProducer : public edm::EDProducer { 00017 00018 public: 00019 00020 explicit EcalTBH2TDCRecInfoProducer(const edm::ParameterSet& ps); 00021 virtual ~EcalTBH2TDCRecInfoProducer() ; 00022 virtual void produce(edm::Event& e, const edm::EventSetup& es); 00023 00024 private: 00025 00026 std::string rawInfoProducer_; // name of module/plugin/producer making digis 00027 std::string rawInfoCollection_; // secondary name given to collection of digis 00028 std::string triggerDataProducer_; // name of module/plugin/producer making TBeventheader 00029 std::string triggerDataCollection_; // secondary name given to collection of TBeventheader 00030 std::string recInfoCollection_; // secondary name to be given to collection of hits 00031 00032 EcalTBH2TDCRecInfoAlgo *algo_; 00033 00034 }; 00035 #endif