00001 #ifndef EgammaIsolationProducers_EgammaEcalRecHitIsolationProducer_h 00002 #define EgammaIsolationProducers_EgammaEcalRecHitIsolationProducer_h 00003 00004 //***************************************************************************** 00005 // File: EgammaRecHitIsolationProducer.h 00006 // ---------------------------------------------------------------------------- 00007 // OrigAuth: Matthias Mozer, adapted from EgammaHcalIsolationProducer by S. Harper 00008 // Institute: IIHE-VUB, RAL 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/EgammaRecHitIsolation.h" 00029 00030 // 00031 // class declaration 00032 // 00033 00034 class EgammaEcalRecHitIsolationProducer : public edm::EDProducer { 00035 public: 00036 explicit EgammaEcalRecHitIsolationProducer(const edm::ParameterSet&); 00037 ~EgammaEcalRecHitIsolationProducer(); 00038 00039 00040 virtual void produce(edm::Event&, const edm::EventSetup&); 00041 private: 00042 // ----------member data --------------------------- 00043 00044 edm::InputTag emObjectProducer_; 00045 edm::InputTag ecalBarrelRecHitProducer_; 00046 edm::InputTag ecalBarrelRecHitCollection_; 00047 edm::InputTag ecalEndcapRecHitProducer_; 00048 edm::InputTag ecalEndcapRecHitCollection_; 00049 00050 double egIsoPtMin_; //minimum Et noise cut 00051 double egIsoConeSizeOut_; //outer cone size 00052 double egIsoConeSizeIn_; //inner cone size 00053 00054 bool absolut_; //switch for Ecal isol E vs Ecal isol E/ E 00055 bool useIsolEt_; //switch for isolEt rather than isolE 00056 00057 edm::ParameterSet conf_; 00058 00059 }; 00060 00061 #endif