00001 #ifndef SUSYControlHighPtPhotonSkim_h 00002 #define SUSYControlHighPtPhotonSkim_h 00003 00016 #include "FWCore/Framework/interface/Frameworkfwd.h" 00017 #include "FWCore/Framework/interface/EDFilter.h" 00018 #include "FWCore/Framework/interface/Event.h" 00019 00020 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00021 #include "FWCore/ParameterSet/interface/InputTag.h" 00022 00023 class SUSYControlHighPtPhotonSkim : public edm::EDFilter 00024 { 00025 public: 00026 explicit SUSYControlHighPtPhotonSkim( const edm::ParameterSet& ); 00027 ~SUSYControlHighPtPhotonSkim(); 00028 virtual bool filter( edm::Event&, const edm::EventSetup& ); 00029 virtual void endJob(); 00030 00031 private: 00032 edm::InputTag Photonsrc_; 00033 edm::InputTag Electronsrc_; 00034 double PhotonPtmin_; 00035 double ElectronPtmin_; 00036 bool IsIsolated_; 00037 double IsolationCut_; 00038 unsigned int nEvents_; 00039 unsigned int nAccepted_; 00040 }; 00041 00042 #endif