CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
JetFlavourFilter.h
Go to the documentation of this file.
1 #ifndef _JetFlavourFilter_h_
2 #define _JetFlavourFilter_h_
3 
4 
5 // system include files
6 #include <memory>
7 #include <iostream>
8 #include <vector>
9 
10 // user include files
13 
16 
18 
20 
21 
22 //
23 
24 
26 {
27 
28 public:
29 
30  explicit JetFlavourFilter(const edm::ParameterSet&);
32 
33  virtual bool filter(edm::Event&, const edm::EventSetup&);
34 
35 private:
36 
37  typedef std::vector< HepMC::GenParticle * > GenPartVect;
38  typedef std::vector< HepMC::GenParticle * >::const_iterator GenPartVectIt;
39 
40  HepMC::GenParticle * findParticle(const GenPartVect& genPartVect, const int requested_id) ;
41 
42  void printHisto(const HepMC::GenEvent::particle_iterator start,
43  const HepMC::GenEvent::particle_iterator end);
44 
45 
46  int jetType;
47 
50 };
51 
52 
53 #endif
tuple start
Check for commandline option errors.
Definition: dqm_diff.py:58
void printHisto(const HepMC::GenEvent::particle_iterator start, const HepMC::GenEvent::particle_iterator end)
std::vector< HepMC::GenParticle * > GenPartVect
virtual bool filter(edm::Event &, const edm::EventSetup &)
HepMC::GenParticle * findParticle(const GenPartVect &genPartVect, const int requested_id)
edm::EDGetTokenT< edm::HepMCProduct > token_
#define end
Definition: vmac.h:37
JetFlavourFilter(const edm::ParameterSet &)
std::vector< HepMC::GenParticle * >::const_iterator GenPartVectIt