CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/RecoEgamma/EgammaHLTProducers/interface/EgammaHLTEcalRecIsolationProducer.h

Go to the documentation of this file.
00001 #ifndef EgammaHLTProducers_EgammaHLTEcalRecIsolationProducer_h
00002 #define EgammaHLTProducers_EgammaHLTEcalRecIsolationProducer_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 #include "RecoEgamma/EgammaIsolationAlgos/interface/EgammaRecHitIsolation.h"
00028 
00029 //
00030 // class declaration
00031 //
00032 
00033 class EgammaHLTEcalRecIsolationProducer : public edm::EDProducer {
00034    public:
00035       explicit EgammaHLTEcalRecIsolationProducer(const edm::ParameterSet&);
00036       ~EgammaHLTEcalRecIsolationProducer();
00037 
00038 
00039       virtual void produce(edm::Event&, const edm::EventSetup&);
00040    private:
00041   // ----------member data ---------------------------
00042 
00043   edm::InputTag recoEcalCandidateProducer_;
00044   edm::InputTag ecalBarrelRecHitProducer_;
00045   edm::InputTag ecalBarrelRecHitCollection_;
00046   edm::InputTag ecalEndcapRecHitProducer_;
00047   edm::InputTag ecalEndcapRecHitCollection_;
00048 
00049   double egIsoPtMinBarrel_; //minimum Et noise cut
00050   double egIsoEMinBarrel_;  //minimum E noise cut
00051   double egIsoPtMinEndcap_; //minimum Et noise cut
00052   double egIsoEMinEndcap_;  //minimum E noise cut
00053   double egIsoConeSizeOut_; //outer cone size
00054   double egIsoConeSizeInBarrel_; //inner cone size
00055   double egIsoConeSizeInEndcap_; //inner cone size
00056   double egIsoJurassicWidth_ ; // exclusion strip width for jurassic veto
00057 
00058   bool useIsolEt_; //switch for isolEt rather than isolE
00059   bool tryBoth_ ; // use rechits from barrel + endcap
00060   bool subtract_ ; // subtract SC energy (allows veto cone of zero size)
00061   bool useNumCrystals_;// veto cones are specified in number of crystals not eta
00062 
00063   edm::ParameterSet conf_;
00064 
00065 
00066 };
00067 
00068 #endif