Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
DQM
EcalMonitorClient
src
CertificationClient.cc
Go to the documentation of this file.
1
#include "
DQM/EcalMonitorClient/interface/CertificationClient.h
"
2
3
#include "
DQM/EcalCommon/interface/EcalDQMCommonUtils.h
"
4
5
namespace
ecaldqm
{
6
7
CertificationClient::CertificationClient
() :
DQWorkerClient
() {
8
qualitySummaries_
.insert(
"CertificationMap"
);
9
qualitySummaries_
.insert(
"CertificationContents"
);
10
qualitySummaries_
.insert(
"Certification"
);
11
}
12
13
void
CertificationClient::producePlots
(
ProcessType
) {
14
MESet
& meCertificationContents(
MEs_
.
at
(
"CertificationContents"
));
15
MESet
& meCertificationMap(
MEs_
.
at
(
"CertificationMap"
));
16
MESet
& meCertification(
MEs_
.
at
(
"Certification"
));
17
18
MESet
const
& sDAQ(
sources_
.
at
(
"DAQ"
));
19
MESet
const
& sDCS(
sources_
.
at
(
"DCS"
));
20
MESet
const
& sDQM(
sources_
.
at
(
"DQM"
));
21
22
double
meanValue(0.);
23
for
(
int
iDCC(0); iDCC <
nDCC
; ++iDCC) {
24
double
certValue(sDAQ.getBinContent(iDCC + 1) * sDCS.getBinContent(iDCC + 1) * sDQM.getBinContent(iDCC + 1));
25
26
meCertificationContents.fill(iDCC + 1, certValue);
27
meCertificationMap.setBinContent(iDCC + 1, certValue);
28
29
meanValue += certValue *
nCrystals
(iDCC + 1);
30
}
31
32
meCertification.fill(meanValue /
nChannels
);
33
}
34
35
DEFINE_ECALDQM_WORKER
(
CertificationClient
);
36
}
// namespace ecaldqm
ecaldqm
Definition:
DQWorker.h:24
ecaldqm::nChannels
Definition:
EcalDQMCommonUtils.h:114
ecaldqm::DQWorkerClient::qualitySummaries_
std::set< std::string > qualitySummaries_
Definition:
DQWorkerClient.h:56
ecaldqm::DQWorkerClient::ProcessType
ProcessType
Definition:
DQWorkerClient.h:15
ecaldqm::CertificationClient::CertificationClient
CertificationClient()
Definition:
CertificationClient.cc:7
ecaldqm::DQWorker::MEs_
MESetCollection MEs_
Definition:
DQWorker.h:78
ecaldqm::DQWorkerClient::sources_
MESetCollection sources_
Definition:
DQWorkerClient.h:55
ecaldqm::nCrystals
unsigned nCrystals(unsigned)
Definition:
EcalDQMCommonUtils.cc:334
ecaldqm::MESetCollection::at
MESet & at(const std::string &key)
Definition:
MESet.h:362
ecaldqm::DQWorkerClient
Definition:
DQWorkerClient.h:13
ecaldqm::nDCC
Definition:
EcalDQMCommonUtils.h:92
ecaldqm::CertificationClient::producePlots
void producePlots(ProcessType) override
Definition:
CertificationClient.cc:13
DEFINE_ECALDQM_WORKER
#define DEFINE_ECALDQM_WORKER(TYPE)
Definition:
DQWorker.h:112
CertificationClient.h
ecaldqm::CertificationClient
Definition:
CertificationClient.h:8
EcalDQMCommonUtils.h
ecaldqm::MESet
Definition:
MESet.h:27
Generated for CMSSW Reference Manual by
1.8.16