CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/EgammaAnalysis/CSA07Skims/interface/EgammaProbeSelector.h

Go to the documentation of this file.
00001 #ifndef EgammaProbeSelector_h
00002 #define EgammaProbeSelector_h
00003 
00013 // system include files
00014 #include <memory>
00015 
00016 // user include files
00017 #include "FWCore/Framework/interface/Frameworkfwd.h"
00018 #include "FWCore/Framework/interface/EDFilter.h"
00019 
00020 #include "FWCore/Framework/interface/Event.h"
00021 #include "FWCore/Framework/interface/MakerMacros.h"
00022 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00023 #include "FWCore/Utilities/interface/InputTag.h"
00024 
00025 
00026 
00027 
00028 #include <math.h>
00029 
00030 class EgammaProbeSelector : public edm::EDFilter {
00031 
00032     public:
00033         explicit EgammaProbeSelector(const edm::ParameterSet&);
00034         ~EgammaProbeSelector();
00035 
00036         virtual bool filter(edm::Event&, const edm::EventSetup& );
00037 
00038    private:
00039         bool            debug;
00040 
00041         edm::InputTag   jetLabel;
00042         int             minNumberOfjets;
00043         double          jetEtMin;
00044         double          jetEtaMin;
00045         double          jetEtaMax;
00046 
00047         edm::InputTag   scLabel;
00048         edm::InputTag        scEELabel;
00049         int             minNumberOfSuperClusters;
00050         double          scEtMin;
00051         double          scEtaMin;
00052         double          scEtaMax;
00053 
00054         int nEvents, nSelectedEvents;
00055 };
00056 #endif
00057 
00058 
00059