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/ServiceRegistry/interface/Service.h
"
7
#include "
FWCore/Utilities/interface/InputTag.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
public
:
16
DQMExample_Step2
(
const
edm::ParameterSet
&ps);
17
~DQMExample_Step2
()
override
;
18
19
protected
:
20
void
beginJob
()
override
;
21
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
22
DQMStore::IGetter
&,
23
edm::LuminosityBlock
const
&,
24
edm::EventSetup
const
&)
override
;
// performed in the endLumi
25
void
dqmEndJob
(
DQMStore::IBooker
&,
26
DQMStore::IGetter
&)
override
;
// performed in the endJob
27
28
private
:
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
#endif
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DQMExample_Step2::h_ptRatio
MonitorElement * h_ptRatio
Definition:
DQMExample_Step2.h:36
edm::LuminosityBlock
Definition:
LuminosityBlock.h:47
DQMEDHarvester.h
ParameterSet.h
DQMStore::IGetter
Definition:
DQMStore.h:186
DQMExample_Step2::~DQMExample_Step2
~DQMExample_Step2() override
Definition:
DQMExample_Step2.cc:26
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:39
Service.h
edm::EventSetup
Definition:
EventSetup.h:57
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:34
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
DQMStore::IBooker
Definition:
DQMStore.h:88
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:68
Generated for CMSSW Reference Manual by
1.8.11