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_;
54 
56 
57  // Basic reco::GenParticle test
58 
63 
64  // Basci GenJets analysis
65 
72 
77 
79 
83 };
84 
85 #endif
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
GenJetCollection.h
Handle.h
mps_fire.i
i
Definition: mps_fire.py:355
MessageLogger.h
ESHandle.h
reco::GenParticle
Definition: GenParticle.h:21
BasicGenParticleValidation::hepmcCollection_
edm::InputTag hepmcCollection_
Definition: BasicGenParticleValidation.h:48
edm::Run
Definition: Run.h:45
BasicGenParticleValidation::wmanager_
WeightManager wmanager_
Definition: BasicGenParticleValidation.h:47
edm::EDGetTokenT< edm::HepMCProduct >
BasicGenParticleValidation::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: BasicGenParticleValidation.cc:97
BasicGenParticleValidation::matchPr_
double matchPr_
Definition: BasicGenParticleValidation.h:51
BasicGenParticleValidation::genJetMult
MonitorElement * genJetMult
Definition: BasicGenParticleValidation.h:66
BasicGenParticleValidation::BasicGenParticleValidation
BasicGenParticleValidation(const edm::ParameterSet &)
Definition: BasicGenParticleValidation.cc:15
DQMStore.h
BasicGenParticleValidation::genJetCentral
MonitorElement * genJetCentral
Definition: BasicGenParticleValidation.h:76
BasicGenParticleValidation::bookHistograms
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
Definition: BasicGenParticleValidation.cc:29
GenParticle.h
BasicGenParticleValidation::~BasicGenParticleValidation
~BasicGenParticleValidation() override
Definition: BasicGenParticleValidation.cc:27
BasicGenParticleValidation::multipleMatching
MonitorElement * multipleMatching
Definition: BasicGenParticleValidation.h:61
BasicGenParticleValidation::genJetPto100
MonitorElement * genJetPto100
Definition: BasicGenParticleValidation.h:75
BasicGenParticleValidation::genJetDeltaEtaMin
MonitorElement * genJetDeltaEtaMin
Definition: BasicGenParticleValidation.h:71
Service.h
BasicGenParticleValidation::genJetPhi
MonitorElement * genJetPhi
Definition: BasicGenParticleValidation.h:70
Run.h
BasicGenParticleValidation::genMatched
MonitorElement * genMatched
Definition: BasicGenParticleValidation.h:60
BasicGenParticleValidation
Definition: BasicGenParticleValidation.h:36
DQMEDAnalyzer.h
BasicGenParticleValidation::genjetCollectionToken_
edm::EDGetTokenT< reco::GenJetCollection > genjetCollectionToken_
Definition: BasicGenParticleValidation.h:82
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
WeightManager.h
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
ParticleDataTable.h
BasicGenParticleValidation::genJetPto1
MonitorElement * genJetPto1
Definition: BasicGenParticleValidation.h:73
BasicGenParticleValidation::matchParticles
bool matchParticles(const HepMC::GenParticle *&, const reco::GenParticle *&)
Definition: BasicGenParticleValidation.cc:266
BasicGenParticleValidation::genparticleCollectionToken_
edm::EDGetTokenT< reco::GenParticleCollection > genparticleCollectionToken_
Definition: BasicGenParticleValidation.h:81
WeightManager
Definition: WeightManager.h:20
BasicGenParticleValidation::genJetEnergy
MonitorElement * genJetEnergy
Definition: BasicGenParticleValidation.h:67
BasicGenParticleValidation::hepmcCollectionToken_
edm::EDGetTokenT< edm::HepMCProduct > hepmcCollectionToken_
Definition: BasicGenParticleValidation.h:80
BasicGenParticleValidation::genparticleCollection_
edm::InputTag genparticleCollection_
Definition: BasicGenParticleValidation.h:49
BasicGenParticleValidation::genJetPt
MonitorElement * genJetPt
Definition: BasicGenParticleValidation.h:68
edm::EventSetup
Definition: EventSetup.h:57
BasicGenParticleValidation::matchedResolution
MonitorElement * matchedResolution
Definition: BasicGenParticleValidation.h:62
BasicGenParticleValidation::verbosity_
unsigned int verbosity_
Definition: BasicGenParticleValidation.h:53
InputTag.h
GenParticle.GenParticle
GenParticle
Definition: GenParticle.py:18
BasicGenParticleValidation::genjetCollection_
edm::InputTag genjetCollection_
Definition: BasicGenParticleValidation.h:50
BasicGenParticleValidation::genJetPto10
MonitorElement * genJetPto10
Definition: BasicGenParticleValidation.h:74
BasicGenParticleValidation::nEvt
MonitorElement * nEvt
Definition: BasicGenParticleValidation.h:55
BasicGenParticleValidation::genJetTotPt
MonitorElement * genJetTotPt
Definition: BasicGenParticleValidation.h:78
EventSetup.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
BasicGenParticleValidation::genPMultiplicity
MonitorElement * genPMultiplicity
Definition: BasicGenParticleValidation.h:59
ParameterSet.h
HepMCProduct.h
edm::Event
Definition: Event.h:73
BasicGenParticleValidation::genJetEta
MonitorElement * genJetEta
Definition: BasicGenParticleValidation.h:69
edm::InputTag
Definition: InputTag.h:15