00001 // -*- C++ -*- 00002 // 00003 // Package: EgammaHLTProducers 00004 // Class: EgammaHLTHcalIsolationProducersRegional 00005 // 00008 // 00009 // Original Author: Monica Vazquez Acosta (CERN) 00010 // Created: Tue Jun 13 14:48:33 CEST 2006 00011 // $Id: EgammaHLTHcalIsolationProducersRegional.h,v 1.2 2010/08/12 15:17:28 sharper Exp $ 00012 // 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 00029 00030 class EgammaHLTHcalIsolation; 00031 00032 // 00033 // class declaration 00034 // 00035 00036 class EgammaHLTHcalIsolationProducersRegional : public edm::EDProducer { 00037 public: 00038 explicit EgammaHLTHcalIsolationProducersRegional(const edm::ParameterSet&); 00039 ~EgammaHLTHcalIsolationProducersRegional(); 00040 00041 //now we need to disable (or even define) copy, assignment operators as we own a pointer 00042 private: 00043 EgammaHLTHcalIsolationProducersRegional(const EgammaHLTHcalIsolationProducersRegional& rhs){} 00044 EgammaHLTHcalIsolationProducersRegional& operator=(const EgammaHLTHcalIsolationProducersRegional& rhs){return *this;} 00045 00046 public: 00047 virtual void produce(edm::Event&, const edm::EventSetup&); 00048 00049 private: 00050 // ----------member data --------------------------- 00051 00052 edm::InputTag recoEcalCandidateProducer_; 00053 edm::InputTag hbheRecHitProducer_; 00054 // edm::InputTag hfRecHitProducer_; 00055 00056 00057 bool doEtSum_; 00058 EgammaHLTHcalIsolation* isolAlgo_; //we own this 00059 00060 }; 00061