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 "
DQMServices/Core/interface/MonitorElement.h
"
15
#include <iostream>
16
#include <cstdlib>
17
18
namespace
edm
{
class
HepMCProduct
; }
19
20
21
class
HiBasicGenTest
:
public
DQMEDAnalyzer
22
{
23
public
:
24
explicit
HiBasicGenTest
(
const
edm::ParameterSet
&);
25
~
HiBasicGenTest
()
override
;
26
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
27
void
dqmBeginRun(
const
edm::Run
&
r
,
const
edm::EventSetup
&
c
)
override
;
28
void
bookHistograms
(
DQMStore::IBooker
&,
29
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
30
31
private
:
32
33
34
edm::EDGetTokenT<edm::HepMCProduct>
generatorToken_
;
35
MonitorElement
*dnchdeta[3];
36
MonitorElement
*dnchdpt[3];
37
MonitorElement
*
b
[3];
38
MonitorElement
*dnchdphi[3];
39
MonitorElement
*
rp
;
40
41
edm::ESHandle < ParticleDataTable >
pdt
;
42
43
};
analyze
virtual example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
HiBasicGenTest::rp
MonitorElement * rp
Definition:
HiBasicGenTest.h:39
HiBasicGenTest::generatorToken_
edm::EDGetTokenT< edm::HepMCProduct > generatorToken_
Definition:
HiBasicGenTest.h:34
Event.h
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:43
EventSetup.h
edm::EDGetTokenT< edm::HepMCProduct >
HiBasicGenTest::pdt
edm::ESHandle< ParticleDataTable > pdt
Definition:
HiBasicGenTest.h:41
ParticleDataTable.h
DQMEDAnalyzer.h
DQMStore.h
edm::ESHandle< ParticleDataTable >
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.py:1
bookHistograms
virtual example_stream void bookHistograms(DQMStore::IBooker &,@example_stream edm::Run const &,@example_stream edm::EventSetup const &) override
HepMCProduct
ESHandle.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:48
Run.h
alignCSCRings.r
r
Definition:
alignCSCRings.py:92
MonitorElement
Definition:
MonitorElement.h:37
b
double b
Definition:
hdecay.h:120
HiBasicGenTest
Definition:
HiBasicGenTest.h:21
MonitorElement.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:69
DQMStore::IBooker
Definition:
DQMStore.h:93
edm::Run
Definition:
Run.h:43
Generated for CMSSW Reference Manual by
1.8.11