CMS 3D CMS Logo

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
15 
20 
22 
23 //DQM services
28 
32 
34 
36 
38  public:
41 
42  virtual void analyze(const edm::Event&, const edm::EventSetup&) override;
43  virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override;
44 
45  bool matchParticles(const HepMC::GenParticle*&, const reco::GenParticle*&);
46 
47  private:
52  double matchPr_;
53 
54  unsigned int verbosity_;
55 
56 
58 
59  // Basic reco::GenParticle test
60 
65 
66  // Basci GenJets analysis
67 
74 
79 
81 
85 
86 };
87 
88 #endif
bool matchParticles(const HepMC::GenParticle *&, const reco::GenParticle *&)
edm::EDGetTokenT< reco::GenJetCollection > genjetCollectionToken_
edm::EDGetTokenT< edm::HepMCProduct > hepmcCollectionToken_
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
BasicGenParticleValidation(const edm::ParameterSet &)
edm::EDGetTokenT< reco::GenParticleCollection > genparticleCollectionToken_
Definition: Run.h:42