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
#include "
DQMServices/Core/interface/MonitorElement.h
"
17
18
struct
MEPSet
{
19
std::string
name
;
20
std::string
folder
;
21
};
22
23
struct
OutputMEPSet
{
24
std::string
name
;
25
std::string
folder
;
26
double
factor
;
27
};
28
29
class
DQMScaleToClient
:
public
DQMEDHarvester
{
30
31
public
:
32
33
DQMScaleToClient
(
const
edm::ParameterSet
& ps);
34
virtual
~
DQMScaleToClient
() =
default
;
35
static
void
fillDescriptions(
edm::ConfigurationDescriptions
& descriptions);
36
static
void
fillMePSetDescription(
edm::ParameterSetDescription
&
pset
);
37
static
void
fillOutputMePSetDescription(
edm::ParameterSetDescription
& pset);
38
39
protected
:
40
41
void
beginJob
()
override
;
42
void
dqmEndLuminosityBlock(
DQMStore::IBooker
&,
DQMStore::IGetter
&,
edm::LuminosityBlock
const
&,
edm::EventSetup
const
&)
override
;
//performed in the endLumi
43
void
dqmEndJob(
DQMStore::IBooker
&,
DQMStore::IGetter
&)
override
;
//performed in the endJob
44
45
private
:
46
47
static
MEPSet
getHistoPSet (
edm::ParameterSet
pset);
48
static
OutputMEPSet
getOutputHistoPSet(
edm::ParameterSet
pset);
49
50
//private variables
51
52
//variables from config file
53
// Histograms
54
MonitorElement
*
scaled_
;
55
56
MEPSet
inputmepset_
;
57
OutputMEPSet
outputmepset_
;
58
59
};
60
61
62
#endif // DQMSCALETOCLIENT_H
Registry.h
OutputMEPSet::factor
double factor
Definition:
DQMScaleToClient.h:26
DQMScaleToClient::outputmepset_
OutputMEPSet outputmepset_
Definition:
DQMScaleToClient.h:57
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
MEPSet::folder
std::string folder
Definition:
DQMCorrelationClient.h:20
edm::LuminosityBlock
Definition:
LuminosityBlock.h:45
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
DQMEDHarvester.h
MEPSet
Definition:
DQMCorrelationClient.h:18
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:50
bk::beginJob
void beginJob()
Definition:
Breakpoints.cc:15
ParameterSet.h
DQMEDHarvester
Definition:
DQMEDHarvester.h:15
DQMStore::IGetter
Definition:
DQMStore.h:190
OutputMEPSet
Definition:
DQMCorrelationClient.h:24
ParameterSetDescription.h
DQMStore.h
DQMScaleToClient::scaled_
MonitorElement * scaled_
Definition:
DQMScaleToClient.h:54
DQMScaleToClient::inputmepset_
MEPSet inputmepset_
Definition:
DQMScaleToClient.h:56
Service.h
edm::EventSetup
Definition:
EventSetup.h:45
MEPSet::name
std::string name
Definition:
DQMCorrelationClient.h:19
MonitorElement
Definition:
MonitorElement.h:37
DQMScaleToClient
Definition:
DQMScaleToClient.h:29
MonitorElement.h
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ConfigurationDescriptions.h
DQMStore::IBooker
Definition:
DQMStore.h:90
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:27
Generated for CMSSW Reference Manual by
1.8.11