Main Page
Namespaces
Classes
Package Documentation
Validation
RecoHI
plugins
HiBasicGenTest.h
Go to the documentation of this file.
1
// framework & common header files
2
#include "
FWCore/Framework/interface/Event.h
"
3
#include "
FWCore/Framework/interface/EventSetup.h
"
4
#include "
FWCore/Framework/interface/Run.h
"
5
6
// particle data table
7
#include "
SimGeneral/HepPDTRecord/interface/ParticleDataTable.h
"
8
#include "
FWCore/Framework/interface/ESHandle.h
"
9
10
//DQM services
11
#include "
DQMServices/Core/interface/DQMEDAnalyzer.h
"
12
#include "
DQMServices/Core/interface/DQMStore.h
"
13
#include "
FWCore/ServiceRegistry/interface/Service.h
"
14
#include <iostream>
15
#include <cstdlib>
16
17
namespace
edm
{
18
class
HepMCProduct
;
19
}
20
21
class
HiBasicGenTest
:
public
DQMEDAnalyzer
{
22
public
:
23
explicit
HiBasicGenTest
(
const
edm::ParameterSet
&);
24
~
HiBasicGenTest
()
override
;
25
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
26
void
dqmBeginRun(
const
edm::Run
&
r
,
const
edm::EventSetup
&
c
)
override
;
27
void
bookHistograms
(
DQMStore::IBooker
&,
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
28
29
private
:
30
edm::EDGetTokenT<edm::HepMCProduct>
generatorToken_
;
31
MonitorElement
*dnchdeta[3];
32
MonitorElement
*dnchdpt[3];
33
MonitorElement
*
b
[3];
34
MonitorElement
*dnchdphi[3];
35
MonitorElement
*
rp
;
36
37
edm::ESHandle<ParticleDataTable>
pdt
;
38
};
HiBasicGenTest::rp
MonitorElement * rp
Definition:
HiBasicGenTest.h:35
HiBasicGenTest::generatorToken_
edm::EDGetTokenT< edm::HepMCProduct > generatorToken_
Definition:
HiBasicGenTest.h:30
Event.h
EventSetup.h
edm::EDGetTokenT< edm::HepMCProduct >
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
analyze
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
ParticleDataTable.h
dqm::dqmstoreimpl::DQMStore::IBooker
Definition:
DQMStore.h:106
DQMEDAnalyzer.h
DQMStore.h
edm::ESHandle< ParticleDataTable >
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
HepMCProduct
ESHandle.h
dqm::impl::MonitorElement
Definition:
MonitorElement.h:72
Service.h
edm::EventSetup
Definition:
EventSetup.h:57
Run.h
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
bookHistograms
example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
b
double b
Definition:
hdecay.h:118
HiBasicGenTest
Definition:
HiBasicGenTest.h:21
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSet
Definition:
ParameterSet.h:36
HiBasicGenTest::pdt
edm::ESHandle< ParticleDataTable > pdt
Definition:
HiBasicGenTest.h:37
edm::Event
Definition:
Event.h:72
edm::Run
Definition:
Run.h:45
Generated for CMSSW Reference Manual by
1.8.11