CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/GeneratorInterface/GenFilters/interface/MCDijetResonance.h

Go to the documentation of this file.
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 //
00035 // class decleration
00036 //
00037 
00038 class MCDijetResonance : public edm::EDFilter {
00039    public:
00040       explicit MCDijetResonance(const edm::ParameterSet&);
00041       ~MCDijetResonance();
00042       virtual void endJob() ;
00043 
00044       virtual bool filter(edm::Event&, const edm::EventSetup&);
00045    private:
00046       // ----------member data ---------------------------
00047       std::string label_;
00048       std::string dijetProcess;
00049       unsigned int  nEvents;
00050       unsigned int nAccepted; 
00051       int maxQuarkID;
00052       int bosonID;
00053 };
00054 #endif