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
27 
31 
33 
35 
37 public:
39  ~BasicGenParticleValidation() override;
40 
41  void analyze(const edm::Event &, const edm::EventSetup &) override;
42  void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override;
43 
44  bool matchParticles(const HepMC::GenParticle *&, const reco::GenParticle *&);
45 
46 private:
51  double matchPr_;
52 
53  unsigned int verbosity_;
55 
57 
58  // Basic reco::GenParticle test
59 
64 
65  // Basci GenJets analysis
66 
73 
78 
80 
84 };
85 
86 #endif
bool matchParticles(const HepMC::GenParticle *&, const reco::GenParticle *&)
edm::EDGetTokenT< reco::GenJetCollection > genjetCollectionToken_
edm::EDGetTokenT< edm::HepMCProduct > hepmcCollectionToken_
void analyze(const edm::Event &, const edm::EventSetup &) override
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
BasicGenParticleValidation(const edm::ParameterSet &)
edm::EDGetTokenT< reco::GenParticleCollection > genparticleCollectionToken_
Definition: Run.h:45