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