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
};
dqm::impl::MonitorElement
Definition:
MonitorElement.h:99
ESHandle.h
edm::Run
Definition:
Run.h:45
edm::EDGetTokenT< edm::HepMCProduct >
edm
HLT enums.
Definition:
AlignableModifier.h:19
HiBasicGenTest
Definition:
HiBasicGenTest.h:21
DQMStore.h
HiBasicGenTest::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
HiBasicGenTest.cc:42
HiBasicGenTest::b
MonitorElement * b[3]
Definition:
HiBasicGenTest.h:33
HiBasicGenTest::~HiBasicGenTest
~HiBasicGenTest() override
Definition:
HiBasicGenTest.cc:21
HiBasicGenTest::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition:
HiBasicGenTest.cc:23
Service.h
Run.h
edm::ESHandle< ParticleDataTable >
HiBasicGenTest::dnchdpt
MonitorElement * dnchdpt[3]
Definition:
HiBasicGenTest.h:32
DQMEDAnalyzer.h
HiBasicGenTest::dnchdeta
MonitorElement * dnchdeta[3]
Definition:
HiBasicGenTest.h:31
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
ParticleDataTable.h
edm::EventSetup
Definition:
EventSetup.h:58
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
HiBasicGenTest::pdt
edm::ESHandle< ParticleDataTable > pdt
Definition:
HiBasicGenTest.h:37
HiBasicGenTest::rp
MonitorElement * rp
Definition:
HiBasicGenTest.h:35
HiBasicGenTest::dqmBeginRun
void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c) override
Definition:
HiBasicGenTest.cc:40
HiBasicGenTest::HiBasicGenTest
HiBasicGenTest(const edm::ParameterSet &)
Definition:
HiBasicGenTest.cc:17
HiBasicGenTest::generatorToken_
edm::EDGetTokenT< edm::HepMCProduct > generatorToken_
Definition:
HiBasicGenTest.h:30
HiBasicGenTest::dnchdphi
MonitorElement * dnchdphi[3]
Definition:
HiBasicGenTest.h:34
EventSetup.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
HepMCProduct
c
auto & c
Definition:
CAHitNtupletGeneratorKernelsImpl.h:56
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16