00001 #ifndef RECOLOCALCALO_CALOTOWERSCREATOR_CALOTOWERSRECREATOR_H 00002 #define RECOLOCALCALO_CALOTOWERSCREATOR_CALOTOWERSRECREATOR_H 1 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 "Geometry/CaloTopology/interface/HcalTopology.h" 00012 00013 #include "RecoLocalCalo/CaloTowersCreator/interface/CaloTowersCreationAlgo.h" 00014 00020 class CaloTowersReCreator : public edm::EDProducer { 00021 public: 00022 explicit CaloTowersReCreator(const edm::ParameterSet& ps); 00023 virtual ~CaloTowersReCreator() { } 00024 virtual void produce(edm::Event& e, const edm::EventSetup& c); 00025 double EBEScale, EEEScale, HBEScale, HESEScale; 00026 double HEDEScale, HOEScale, HF1EScale, HF2EScale; 00027 private: 00028 CaloTowersCreationAlgo algo_; 00029 edm::InputTag caloLabel_; 00030 bool allowMissingInputs_; 00031 }; 00032 00033 #endif