00001 #ifndef RecoTBCalo_EcalTBHodoscopeReconstructor_EcalTBHodoscopeRecInfoProducer_HH 00002 #define RecoTBCalo_EcalTBHodoscopeReconstructor_EcalTBHodoscopeRecInfoProducer_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/EcalTBHodoscopeReconstructor/interface/EcalTBHodoscopeRecInfoAlgo.h" 00013 00014 #include <vector> 00015 00016 class EcalTBHodoscopeRecInfoProducer : public edm::EDProducer { 00017 00018 public: 00019 00020 explicit EcalTBHodoscopeRecInfoProducer(const edm::ParameterSet& ps); 00021 virtual ~EcalTBHodoscopeRecInfoProducer() ; 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 recInfoCollection_; // secondary name to be given to collection of hits 00029 00030 int fitMethod_; 00031 EcalTBHodoscopeRecInfoAlgo *algo_; 00032 00033 }; 00034 #endif