00001 #ifndef RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitProducer_hh 00002 #define RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitProducer_hh 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00006 #include "FWCore/Framework/interface/Event.h" 00007 #include "FWCore/Framework/interface/EventSetup.h" 00008 00009 #include "DataFormats/EcalDigi/interface/EEDataFrame.h" 00010 #include "DataFormats/EcalDigi/interface/EBDataFrame.h" 00011 00012 #include "RecoLocalCalo/EcalRecProducers/interface/EcalUncalibRecHitWorkerBaseClass.h" 00013 00014 00015 class EcalUncalibRecHitProducer : public edm::EDProducer { 00016 00017 public: 00018 explicit EcalUncalibRecHitProducer(const edm::ParameterSet& ps); 00019 ~EcalUncalibRecHitProducer(); 00020 virtual void produce(edm::Event& evt, const edm::EventSetup& es); 00021 00022 private: 00023 00024 edm::InputTag ebDigiCollection_; // collection of EB digis 00025 edm::InputTag eeDigiCollection_; // collection of EE digis 00026 00027 std::string ebHitCollection_; // secondary name to be given to collection of hits 00028 std::string eeHitCollection_; // secondary name to be given to collection of hits 00029 00030 EcalUncalibRecHitWorkerBaseClass * worker_; 00031 }; 00032 #endif