DQM
TrackingMonitorClient
interface
DQMScaleToClient.h
Go to the documentation of this file.
1
#ifndef DQMSCALETOCLIENT_H
2
#define DQMSCALETOCLIENT_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
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
10
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
11
#include "
FWCore/ParameterSet/interface/Registry.h
"
12
13
//DQM
14
#include "
DQMServices/Core/interface/DQMEDHarvester.h
"
15
#include "
DQMServices/Core/interface/DQMStore.h
"
16
17
struct
MEPSet
{
18
std::string
name
;
19
std::string
folder
;
20
};
21
22
struct
OutputMEPSet
{
23
std::string
name
;
24
std::string
folder
;
25
double
factor
;
26
};
27
28
class
DQMScaleToClient
:
public
DQMEDHarvester
{
29
public
:
30
DQMScaleToClient
(
const
edm::ParameterSet
&ps);
31
~DQMScaleToClient
()
override
=
default
;
32
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
&descriptions);
33
static
void
fillMePSetDescription
(
edm::ParameterSetDescription
&
pset
);
34
static
void
fillOutputMePSetDescription
(
edm::ParameterSetDescription
&
pset
);
35
36
protected
:
37
void
beginJob
()
override
;
38
void
dqmEndLuminosityBlock
(
DQMStore::IBooker
&,
39
DQMStore::IGetter
&,
40
edm::LuminosityBlock
const
&,
41
edm::EventSetup
const
&)
override
;
//performed in the endLumi
42
void
dqmEndJob
(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
//performed in the endJob
43
44
private
:
45
static
MEPSet
getHistoPSet
(
edm::ParameterSet
pset
);
46
static
OutputMEPSet
getOutputHistoPSet
(
edm::ParameterSet
pset
);
47
48
//private variables
49
50
//variables from config file
51
// Histograms
52
MonitorElement
*
scaled_
;
53
54
MEPSet
inputmepset_
;
55
OutputMEPSet
outputmepset_
;
56
};
57
58
#endif // DQMSCALETOCLIENT_H
ConfigurationDescriptions.h
DQMEDHarvester.h
DQMScaleToClient::beginJob
void beginJob() override
Definition:
DQMScaleToClient.cc:34
MEPSet::folder
std::string folder
Definition:
DQMCorrelationClient.h:19
DQMScaleToClient
Definition:
DQMScaleToClient.h:28
DQMScaleToClient::fillOutputMePSetDescription
static void fillOutputMePSetDescription(edm::ParameterSetDescription &pset)
Definition:
DQMScaleToClient.cc:81
edm::LuminosityBlock
Definition:
LuminosityBlock.h:50
DQMScaleToClient::dqmEndJob
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
Definition:
DQMScaleToClient.cc:39
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:462
OutputMEPSet::folder
std::string folder
Definition:
DQMCorrelationClient.h:25
DQMScaleToClient::getOutputHistoPSet
static OutputMEPSet getOutputHistoPSet(edm::ParameterSet pset)
Definition:
DQMScaleToClient.cc:23
OutputMEPSet
Definition:
DQMCorrelationClient.h:23
DQMScaleToClient::getHistoPSet
static MEPSet getHistoPSet(edm::ParameterSet pset)
Definition:
DQMScaleToClient.cc:16
DQMScaleToClient::DQMScaleToClient
DQMScaleToClient(const edm::ParameterSet &ps)
Definition:
DQMScaleToClient.cc:8
OutputMEPSet::name
std::string name
Definition:
DQMCorrelationClient.h:24
Service.h
DQMScaleToClient::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
DQMScaleToClient.cc:87
ParameterSetDescription.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
OutputMEPSet::factor
double factor
Definition:
DQMScaleToClient.h:25
DQMScaleToClient::dqmEndLuminosityBlock
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
Definition:
DQMScaleToClient.cc:69
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::EventSetup
Definition:
EventSetup.h:58
MEPSet
Definition:
DQMCorrelationClient.h:17
MEPSet::name
std::string name
Definition:
DQMCorrelationClient.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
InputTag.h
Registry.h
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
DQMScaleToClient::outputmepset_
OutputMEPSet outputmepset_
Definition:
DQMScaleToClient.h:55
dqm::implementation::IGetter
Definition:
DQMStore.h:484
DQMScaleToClient::~DQMScaleToClient
~DQMScaleToClient() override=default
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ParameterSet.h
DQMScaleToClient::scaled_
MonitorElement * scaled_
Definition:
DQMScaleToClient.h:52
DQMScaleToClient::inputmepset_
MEPSet inputmepset_
Definition:
DQMScaleToClient.h:54
DQMScaleToClient::fillMePSetDescription
static void fillMePSetDescription(edm::ParameterSetDescription &pset)
Definition:
DQMScaleToClient.cc:76
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16