CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/PhysicsTools/PatAlgos/plugins/PATLeptonCountFilter.h

Go to the documentation of this file.
00001 //
00002 // $Id: PATLeptonCountFilter.h,v 1.1 2008/03/06 09:23:10 llista Exp $
00003 //
00004 
00005 #ifndef PhysicsTools_PatAlgos_PATLeptonCountFilter_h
00006 #define PhysicsTools_PatAlgos_PATLeptonCountFilter_h
00007 
00008 #include "FWCore/Framework/interface/EDFilter.h"
00009 #include "FWCore/Framework/interface/Event.h"
00010 #include "FWCore/Framework/interface/EventSetup.h"
00011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00012 
00013 
00014 namespace pat {
00015 
00016 
00017   class PATLeptonCountFilter : public edm::EDFilter {
00018 
00019     public:
00020 
00021       explicit PATLeptonCountFilter(const edm::ParameterSet & iConfig);
00022       virtual ~PATLeptonCountFilter();
00023 
00024     private:
00025 
00026       virtual bool filter(edm::Event & iEvent, const edm::EventSetup & iSetup);
00027 
00028     private:
00029 
00030       edm::InputTag electronSource_;
00031       edm::InputTag muonSource_;
00032       edm::InputTag tauSource_;
00033       bool          countElectrons_;
00034       bool          countMuons_;
00035       bool          countTaus_;
00036       unsigned int  minNumber_;
00037       unsigned int  maxNumber_;
00038 
00039   };
00040 
00041 
00042 }
00043 
00044 #endif