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