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