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
n
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
c
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
SiStripCommissioningSummary
src
SamplingSummaryFactory.cc
Go to the documentation of this file.
1
#include "
DQM/SiStripCommissioningSummary/interface/SamplingSummaryFactory.h
"
2
#include "
CondFormats/SiStripObjects/interface/SamplingAnalysis.h
"
3
#include "
DataFormats/SiStripCommon/interface/SiStripEnumsAndStrings.h
"
4
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
5
#include <iostream>
6
#include <sstream>
7
8
using namespace
sistrip
;
9
10
// -----------------------------------------------------------------------------
11
//
12
void
SamplingSummaryFactory::extract
(
Iterator
iter) {
13
SamplingAnalysis
*
anal
=
dynamic_cast<
SamplingAnalysis
*
>
(iter->second);
14
if
(!
anal
) {
15
return
;
16
}
17
18
if
(mon_ ==
sistrip::FINE_DELAY_POS
) {
19
generator_->fillMap(level_, gran_, iter->first,
anal
->maximum());
20
}
else
if
(mon_ ==
sistrip::FINE_DELAY_ERROR
) {
21
generator_->fillMap(level_, gran_, iter->first,
anal
->error());
22
}
else
{
23
edm::LogWarning
(
mlSummaryPlots_
) <<
"[SummaryPlotFactory::"
<< __func__ <<
"]"
24
<<
" Unexpected monitorable: "
25
<<
SiStripEnumsAndStrings::monitorable
(
SummaryPlotFactoryBase::mon_
);
26
return
;
27
}
28
}
29
30
//------------------------------------------------------------------------------
31
//
32
void
SamplingSummaryFactory::format
() {
33
// Histogram formatting
34
if
(mon_ ==
sistrip::FINE_DELAY_POS
) {
35
generator_->axisLabel(
"Delay [ns]"
);
36
}
else
if
(mon_ ==
sistrip::FINE_DELAY_ERROR
) {
37
generator_->axisLabel(
"Uncertainty [ns]"
);
38
}
else
{
39
edm::LogWarning
(
mlSummaryPlots_
) <<
"[SummaryPlotFactory::"
<< __func__ <<
"]"
40
<<
" Unexpected SummaryHisto value:"
41
<<
SiStripEnumsAndStrings::monitorable
(
SummaryPlotFactoryBase::mon_
);
42
}
43
}
SamplingAnalysis.h
SiStripEnumsAndStrings::monitorable
static std::string monitorable(const sistrip::Monitorable &)
Definition:
SiStripEnumsAndStrings.cc:547
SamplingAnalysis
Analysis for latency run.
Definition:
SamplingAnalysis.h:17
SummaryPlotFactoryBase::mon_
sistrip::Monitorable mon_
Definition:
SummaryPlotFactoryBase.h:25
MessageLogger.h
SiStripEnumsAndStrings.h
sistrip
sistrip classes
Definition:
EnsembleCalibrationLA.cc:9
SamplingSummaryFactory::format
void format() override
Definition:
SamplingSummaryFactory.cc:32
sistrip::FINE_DELAY_ERROR
Definition:
ConstantsForMonitorable.h:293
sistrip::FINE_DELAY_POS
Definition:
ConstantsForMonitorable.h:292
sistrip::mlSummaryPlots_
static const char mlSummaryPlots_[]
Definition:
ConstantsForLogger.h:26
Iterator
Definition:
DQMStoreStats.cc:107
SamplingSummaryFactory.h
SamplingSummaryFactory::extract
void extract(Iterator) override
Definition:
SamplingSummaryFactory.cc:12
conversion_template_cfg.anal
anal
Definition:
conversion_template_cfg.py:16
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition:
MessageLogger.h:122
Generated for CMSSW Reference Manual by
1.8.14