CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/RecoEgamma/EgammaIsolationAlgos/plugins/EgammaEcalRecHitIsolationProducer.h

Go to the documentation of this file.
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 egIsoPtMinBarrel_; //minimum Et noise cut
00051   double egIsoEMinBarrel_;  //minimum E noise cut
00052   double egIsoPtMinEndcap_; //minimum Et noise cut
00053   double egIsoEMinEndcap_;  //minimum E noise cut
00054   double egIsoConeSizeOut_; //outer cone size
00055   double egIsoConeSizeInBarrel_; //inner cone size
00056   double egIsoConeSizeInEndcap_; //inner cone size
00057   double egIsoJurassicWidth_ ; // exclusion strip width for jurassic veto
00058 
00059   bool useIsolEt_; //switch for isolEt rather than isolE
00060   bool tryBoth_ ; // use rechits from barrel + endcap 
00061   bool subtract_ ; // subtract SC energy (allows veto cone of zero size)
00062 
00063   bool useNumCrystals_ ; // veto on number of crystals
00064   bool vetoClustered_ ;  // veto all clusterd rechits
00065 
00066   edm::ParameterSet conf_;
00067 
00068 };
00069 
00070 #endif