00001 #ifndef MCDijetResonance_h 00002 #define MCDijetResonance_h 00003 // -*- C++ -*- 00004 // 00005 // Package: MCDijetResonance 00006 // Class: MCDijetResonance 00007 // 00008 /* 00009 00010 Description: filter to select Dijet Resonance events. 00011 00012 Implementation: inherits from generic EDFilter 00013 00014 */ 00015 // 00016 // Author: Robert Harris 00017 // 00018 // 00019 00020 00021 // system include files 00022 #include <memory> 00023 00024 // user include files 00025 #include "FWCore/Framework/interface/Frameworkfwd.h" 00026 #include "FWCore/Framework/interface/EDFilter.h" 00027 00028 #include "FWCore/Framework/interface/Event.h" 00029 #include "FWCore/Framework/interface/MakerMacros.h" 00030 00031 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00032 00033 00034 using namespace edm; 00035 using namespace std; 00036 00037 // 00038 // class decleration 00039 // 00040 00041 class MCDijetResonance : public edm::EDFilter { 00042 public: 00043 explicit MCDijetResonance(const edm::ParameterSet&); 00044 ~MCDijetResonance(); 00045 virtual void endJob() ; 00046 00047 virtual bool filter(Event&, const EventSetup&); 00048 private: 00049 // ----------member data --------------------------- 00050 std::string label_; 00051 std::string dijetProcess; 00052 unsigned int nEvents; 00053 unsigned int nAccepted; 00054 int maxQuarkID; 00055 int bosonID; 00056 }; 00057 #endif