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 <stdlib.h>
17
18
namespace
edm
{
class
HepMCProduct
; }
19
20
21
class
HiBasicGenTest
:
public
DQMEDAnalyzer
22
{
23
public
:
24
explicit
HiBasicGenTest
(
const
edm::ParameterSet
&);
25
virtual
~
HiBasicGenTest
();
26
virtual
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
};
HiBasicGenTest::rp
MonitorElement * rp
Definition:
HiBasicGenTest.h:39
Vispa.Share.Profiling.analyze
def analyze(function, filename, filter=None)
Definition:
Profiling.py:11
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 >
bookHistograms
void bookHistograms(fwlite::EventContainer &eventCont)
Definition:
secvtxMassTemplates.cc:293
HiBasicGenTest::pdt
edm::ESHandle< ParticleDataTable > pdt
Definition:
HiBasicGenTest.h:41
ParticleDataTable.h
DQMEDAnalyzer.h
DQMStore.h
edm::ESHandle< ParticleDataTable >
HepMCProduct
ESHandle.h
Service.h
edm::EventSetup
Definition:
EventSetup.h:45
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
DQMEDAnalyzer
Definition:
DQMEDAnalyzer.h:20
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:66
DQMStore::IBooker
Definition:
DQMStore.h:90
edm::Run
Definition:
Run.h:42
Generated for CMSSW Reference Manual by
1.8.11