00001 #ifndef EgammaIsolationProducers_EgammaTowerIsolationProducer_h 00002 #define EgammaIsolationProducers_EgammaTowerIsolationProducer_h 00003 00004 //***************************************************************************** 00005 // File: EgammaTowerIsolationProducer.h 00006 // ---------------------------------------------------------------------------- 00007 // OrigAuth: Matthias Mozer 00008 // Institute: IIHE-VUB 00009 //============================================================================= 00010 //***************************************************************************** 00011 00012 // -*- C++ -*- 00013 // 00014 00015 00016 // system include files 00017 #include <memory> 00018 00019 // user include files 00020 #include "FWCore/Framework/interface/Frameworkfwd.h" 00021 #include "FWCore/Framework/interface/EDProducer.h" 00022 00023 #include "FWCore/Framework/interface/Event.h" 00024 #include "FWCore/Framework/interface/MakerMacros.h" 00025 00026 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00027 00028 #include "RecoEgamma/EgammaIsolationAlgos/interface/EgammaTowerIsolation.h" 00029 00030 // 00031 // class declaration 00032 // 00033 00034 class EgammaTowerIsolationProducer : public edm::EDProducer { 00035 public: 00036 explicit EgammaTowerIsolationProducer(const edm::ParameterSet&); 00037 ~EgammaTowerIsolationProducer(); 00038 00039 00040 virtual void produce(edm::Event&, const edm::EventSetup&); 00041 private: 00042 // ----------member data --------------------------- 00043 00044 edm::InputTag emObjectProducer_; 00045 edm::InputTag towerProducer_; 00046 00047 double egHcalIsoPtMin_; 00048 double egHcalIsoConeSizeOut_; 00049 double egHcalIsoConeSizeIn_; 00050 signed int egHcalDepth_; 00051 00052 edm::ParameterSet conf_; 00053 00054 }; 00055 00056 #endif