src
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
13
class
DQMExample_Step2
:
public
DQMEDHarvester
{
14
public
:
15
DQMExample_Step2
(
const
edm::ParameterSet
&ps);
16
~DQMExample_Step2
()
override
;
17
18
protected
:
19
void
beginJob
()
override
;
20
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
21
DQMStore::IGetter
&,
22
edm::LuminosityBlock
const
&,
23
edm::EventSetup
const
&)
override
;
// performed in the endLumi
24
void
dqmEndJob
(
DQMStore::IBooker
&,
25
DQMStore::IGetter
&)
override
;
// performed in the endJob
26
27
private
:
28
// private variables
29
30
// variables from config file
31
std::string
numMonitorName_
;
32
std::string
denMonitorName_
;
33
34
// Histograms
35
MonitorElement
*
h_ptRatio
;
36
};
37
38
#endif
DQMExample_Step2::h_ptRatio
MonitorElement * h_ptRatio
Definition:
DQMExample_Step2.h:35
edm::LuminosityBlock
Definition:
LuminosityBlock.h:50
DQMEDHarvester.h
dqm::implementation::IGetter
Definition:
DQMStore.h:561
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
dqm::implementation::IBooker
Definition:
DQMStore.h:43
DQMExample_Step2::~DQMExample_Step2
~DQMExample_Step2() override
Definition:
DQMExample_Step2.cc:26
DQMStore.h
DQMExample_Step2
Definition:
DQMExample_Step2.h:13
DQMExample_Step2::DQMExample_Step2
DQMExample_Step2(const edm::ParameterSet &ps)
Definition:
DQMExample_Step2.cc:15
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:466
DQMExample_Step2::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
DQMExample_Step2.cc:39
Service.h
edm::EventSetup
Definition:
EventSetup.h:56
DQMExample_Step2::denMonitorName_
std::string denMonitorName_
Definition:
DQMExample_Step2.h:32
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
DQMExample_Step2::beginJob
void beginJob() override
Definition:
DQMExample_Step2.cc:34
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:47
DQMExample_Step2::numMonitorName_
std::string numMonitorName_
Definition:
DQMExample_Step2.h:31
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.14