Main Page
Namespaces
Classes
Package Documentation
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
Registry.h
dqm::dqmstoreimpl::DQMStore::IGetter
Definition:
DQMStore.h:240
OutputMEPSet::factor
double factor
Definition:
DQMScaleToClient.h:25
DQMScaleToClient::outputmepset_
OutputMEPSet outputmepset_
Definition:
DQMScaleToClient.h:55
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
MEPSet::folder
std::string folder
Definition:
DQMCorrelationClient.h:19
edm::LuminosityBlock
Definition:
LuminosityBlock.h:49
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
DQMEDHarvester.h
MEPSet
Definition:
DQMCorrelationClient.h:17
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
bk::beginJob
void beginJob()
Definition:
Breakpoints.cc:14
ParameterSet.h
OutputMEPSet
Definition:
DQMCorrelationClient.h:23
ParameterSetDescription.h
dqm::dqmstoreimpl::DQMStore::IBooker
Definition:
DQMStore.h:106
DQMStore.h
DQMScaleToClient::scaled_
MonitorElement * scaled_
Definition:
DQMScaleToClient.h:52
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:451
DQMScaleToClient::inputmepset_
MEPSet inputmepset_
Definition:
DQMScaleToClient.h:54
Service.h
edm::EventSetup
Definition:
EventSetup.h:57
MEPSet::name
std::string name
Definition:
DQMCorrelationClient.h:18
DQMScaleToClient
Definition:
DQMScaleToClient.h:28
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
DQMEDHarvester
Definition:
DQMEDHarvester.py:1
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ConfigurationDescriptions.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
Generated for CMSSW Reference Manual by
1.8.11