CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BasicGenParticleValidation.h
Go to the documentation of this file.
1 #ifndef BASICGENPARICLEVALIDATION_H
2 #define BASICGENPARICLEVALIDATION_H
3 
4 /*class BasicGenParticleValidation
5  *
6  * Class to fill Event Generator dqm monitor elements; works on HepMCProduct
7  *
8  *
9  */
10 
11 // framework & common header files
16 
21 
23 
24 //DQM services
28 
32 
34 
36 
38 {
39  public:
42  virtual void beginJob();
43  virtual void endJob();
44  virtual void analyze(const edm::Event&, const edm::EventSetup&);
45  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
46  virtual void endRun(const edm::Run&, const edm::EventSetup&);
47 
48  bool matchParticles(const HepMC::GenParticle*&, const reco::GenParticle*&);
49 
50  private:
55  double matchPr_;
56 
57  unsigned int verbosity_;
58 
61 
64 
66 
67  // Basic reco::GenParticle test
68 
73 
74  // Basci GenJets analysis
75 
82 
87 
89 
93 
94 };
95 
96 #endif
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
edm::ESHandle< HepPDT::ParticleDataTable > fPDGTable
PDT table.
DQMStore * dbe
ME&#39;s &quot;container&quot;.
virtual void analyze(const edm::Event &, const edm::EventSetup &)
bool matchParticles(const HepMC::GenParticle *&, const reco::GenParticle *&)
edm::EDGetTokenT< reco::GenJetCollection > genjetCollectionToken_
edm::EDGetTokenT< edm::HepMCProduct > hepmcCollectionToken_
BasicGenParticleValidation(const edm::ParameterSet &)
virtual void endRun(const edm::Run &, const edm::EventSetup &)
edm::EDGetTokenT< reco::GenParticleCollection > genparticleCollectionToken_
Definition: Run.h:41