CMS 3D CMS Logo

PATLeptonCountFilter.h
Go to the documentation of this file.
1 //
2 //
3 
4 #ifndef PhysicsTools_PatAlgos_PATLeptonCountFilter_h
5 #define PhysicsTools_PatAlgos_PATLeptonCountFilter_h
6 
11 
13 
17 
18 
19 namespace pat {
20 
21 
23 
24  public:
25 
26  explicit PATLeptonCountFilter(const edm::ParameterSet & iConfig);
27  ~PATLeptonCountFilter() override;
28 
29  private:
30 
31  bool filter(edm::StreamID, edm::Event & iEvent, const edm::EventSetup& iSetup) const override;
32 
33  private:
34 
38  const bool countElectrons_;
39  const bool countMuons_;
40  const bool countTaus_;
41  const unsigned int minNumber_;
42  const unsigned int maxNumber_;
43 
44  };
45 
46 
47 }
48 
49 #endif
Definition: HeavyIon.h:7
int iEvent
Definition: GenABIO.cc:224
const edm::EDGetTokenT< edm::View< Muon > > muonToken_
bool filter(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
const edm::EDGetTokenT< edm::View< Tau > > tauToken_
const edm::EDGetTokenT< edm::View< Electron > > electronToken_
PATLeptonCountFilter(const edm::ParameterSet &iConfig)