CMS 3D CMS Logo

TwoVBGenFilter.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: TwoVBGenGenFilter
4 // Class: TwoVBGenGenFilter
5 //
13 //
14 // Original Author: Maurizio Pierini, Thiago Tomei
15 //
16 //
17 
18 
19 // system include files
20 #include <memory>
21 
22 // user include files
25 
28 
30 
32 
33 //
34 // class declaration
35 //
36 
37 class TwoVBGenFilter : public edm::EDFilter {
38  public:
39  explicit TwoVBGenFilter(const edm::ParameterSet&);
40  ~TwoVBGenFilter() override;
41 
42  private:
43  void beginJob() override ;
44  bool filter(edm::Event&, const edm::EventSetup&) override;
45  void endJob() override ;
46 
47  // ----------member data ---------------------------
50 
51  bool isNeutrino(const HepMC::GenParticle*);
52  bool isQuark(const HepMC::GenParticle*);
53  bool isElectron(const HepMC::GenParticle*);
54  bool isMuon(const HepMC::GenParticle*);
55  bool isTau(const HepMC::GenParticle*);
56 
57 };
~TwoVBGenFilter() override
bool isQuark(const HepMC::GenParticle *)
void endJob() override
bool isNeutrino(const HepMC::GenParticle *)
void beginJob() override
bool isTau(const HepMC::GenParticle *)
edm::InputTag src_
bool isElectron(const HepMC::GenParticle *)
bool isMuon(const HepMC::GenParticle *)
TwoVBGenFilter(const edm::ParameterSet &)
bool filter(edm::Event &, const edm::EventSetup &) override