00001 #ifndef RecoTBCalo_EcalTBTDCReconstructor_EcalTBTDCRecInfoProducer_HH 00002 #define RecoTBCalo_EcalTBTDCReconstructor_EcalTBTDCRecInfoProducer_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/EcalTBTDCRecInfoAlgo.h" 00012 00013 #include <vector> 00014 00015 class EcalTBTDCRecInfoProducer : public edm::EDProducer { 00016 00017 public: 00018 00019 explicit EcalTBTDCRecInfoProducer(const edm::ParameterSet& ps); 00020 virtual ~EcalTBTDCRecInfoProducer() ; 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 eventHeaderProducer_; // name of module/plugin/producer making TBeventheader 00028 std::string eventHeaderCollection_; // secondary name given to collection of TBeventheader 00029 std::string recInfoCollection_; // secondary name to be given to collection of hits 00030 bool use2004OffsetConvention_; 00031 00032 EcalTBTDCRecInfoAlgo *algo_; 00033 00034 }; 00035 #endif