CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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&);
41 
42  private:
43  virtual void beginJob() ;
44  virtual bool filter(edm::Event&, const edm::EventSetup&);
45  virtual void endJob() ;
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 };
bool isQuark(const HepMC::GenParticle *)
bool isNeutrino(const HepMC::GenParticle *)
virtual void beginJob()
bool isTau(const HepMC::GenParticle *)
virtual bool filter(edm::Event &, const edm::EventSetup &)
edm::InputTag src_
bool isElectron(const HepMC::GenParticle *)
virtual void endJob()
bool isMuon(const HepMC::GenParticle *)
TwoVBGenFilter(const edm::ParameterSet &)