Main Page
Namespaces
Classes
Package Documentation
DQMServices
Examples
interface
DQMExample_Step2.h
Go to the documentation of this file.
1
#ifndef DQMExample_Step2_H
2
#define DQMExample_Step2_H
3
4
//Framework
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
FWCore/Utilities/interface/InputTag.h
"
7
#include "
FWCore/ServiceRegistry/interface/Service.h
"
8
9
//DQM
10
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
11
#include "
DQMServices/Core/interface/DQMStore.h
"
12
#include "
DQMServices/Core/interface/MonitorElement.h
"
13
14
class
DQMExample_Step2
:
public
DQMEDHarvester
{
15
16
public
:
17
18
DQMExample_Step2
(
const
edm::ParameterSet
& ps);
19
~DQMExample_Step2
()
override
;
20
21
protected
:
22
23
void
beginJob
()
override
;
24
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
DQMStore::IGetter
&,
edm::LuminosityBlock
const
&,
edm::EventSetup
const
&)
override
;
//performed in the endLumi
25
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
//performed in the endJob
26
27
private
:
28
29
//private variables
30
31
//variables from config file
32
std::string
numMonitorName_
;
33
std::string
denMonitorName_
;
34
35
// Histograms
36
MonitorElement
*
h_ptRatio
;
37
38
};
39
40
41
#endif
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
DQMExample_Step2::h_ptRatio
MonitorElement * h_ptRatio
Definition:
DQMExample_Step2.h:36
edm::LuminosityBlock
Definition:
LuminosityBlock.h:46
DQMEDHarvester.h
ParameterSet.h
DQMStore::IGetter
Definition:
DQMStore.h:190
DQMExample_Step2::~DQMExample_Step2
~DQMExample_Step2() override
Definition:
DQMExample_Step2.cc:28
DQMStore.h
DQMExample_Step2
Definition:
DQMExample_Step2.h:14
DQMExample_Step2::DQMExample_Step2
DQMExample_Step2(const edm::ParameterSet &ps)
Definition:
DQMExample_Step2.cc:15
DQMExample_Step2::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
DQMExample_Step2.cc:43
Service.h
edm::EventSetup
Definition:
EventSetup.h:44
MonitorElement
Definition:
MonitorElement.h:37
DQMExample_Step2::denMonitorName_
std::string denMonitorName_
Definition:
DQMExample_Step2.h:33
MonitorElement.h
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
DQMExample_Step2::beginJob
void beginJob() override
Definition:
DQMExample_Step2.cc:36
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
DQMStore::IBooker
Definition:
DQMStore.h:90
DQMExample_Step2::numMonitorName_
std::string numMonitorName_
Definition:
DQMExample_Step2.h:32
DQMExample_Step2::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition:
DQMExample_Step2.cc:75
Generated for CMSSW Reference Manual by
1.8.11