00001 #ifndef HiggsAnalysis_HiggsTo2GammaSkim 00002 #define HiggsAnalysis_HiggsTo2GammaSkim 00003 00004 /* \class HiggsTo2GammaSkim 00005 * 00006 * 00007 * Filter to select 2 photon events based on the 00008 * 1 or 2 photon HLT trigger, 00009 * 00010 * \author Kati Lassila-Perini - Helsinki Institute of Physics 00011 * 00012 */ 00013 00014 // system include files 00015 #include <memory> 00016 00017 // user include files 00018 #include "FWCore/Framework/interface/Frameworkfwd.h" 00019 #include "FWCore/Framework/interface/EDFilter.h" 00020 00021 #include "FWCore/Framework/interface/Event.h" 00022 #include "FWCore/Framework/interface/MakerMacros.h" 00023 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00024 #include "FWCore/Utilities/interface/InputTag.h" 00025 00026 class HiggsTo2GammaSkim : public edm::EDFilter { 00027 00028 public: 00029 // Constructor 00030 explicit HiggsTo2GammaSkim(const edm::ParameterSet&); 00031 00032 // Destructor 00033 ~HiggsTo2GammaSkim(); 00034 00036 virtual bool filter(edm::Event&, const edm::EventSetup& ); 00037 00038 00039 private: 00040 int nEvents, nSelectedEvents; 00041 00042 00043 bool debug; 00044 float photon1MinPt; 00045 float photon2MinPt; 00046 int nPhotonMin; 00047 00048 // Reco samples 00049 edm::InputTag thePhotonLabel; 00050 // std::string thePhotonLabel; 00051 }; 00052 00053 #endif