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
CondFormats
RunInfo
src
RunSummary.cc
Go to the documentation of this file.
1
#include "
CondFormats/RunInfo/interface/RunSummary.h
"
2
RunSummary::RunSummary
() {}
3
4
RunSummary
*
RunSummary::Fake_RunSummary
() {
5
RunSummary
* sum =
new
RunSummary
();
6
sum->
m_run
= -1;
7
sum->
m_hltkey
=
"null"
;
8
sum->
m_start_time_str
=
"null"
;
9
sum->
m_stop_time_str
=
"null"
;
10
sum->
m_name
=
"null"
;
11
return
sum;
12
}
13
14
void
RunSummary::printAllValues
()
const
{
15
std::cout
<<
"run number: "
<<
m_run
<< std::endl;
16
std::cout
<<
"run name: "
<<
m_name
<< std::endl;
17
std::cout
<<
"run start time as timestamp: "
<<
m_start_time_ll
<< std::endl;
18
std::cout
<<
"run start time as date: "
<<
m_start_time_str
<< std::endl;
19
std::cout
<<
"run stop time as timestamp: "
<<
m_stop_time_ll
<< std::endl;
20
std::cout
<<
"run stop time as date: "
<<
m_stop_time_str
<< std::endl;
21
std::cout
<<
"lumisection in the run: "
<<
m_lumisections
<< std::endl;
22
std::cout
<<
"run hltkey: "
<<
m_hltkey
<< std::endl;
23
std::cout
<<
"run number of events according hlt: "
<<
m_nevents
<< std::endl;
24
std::cout
<<
"hlt rate: "
<<
m_rate
<< std::endl;
25
std::cout
<<
"ids of subdetectors in run: "
<< std::endl;
26
for
(
size_t
i
= 0;
i
<
m_subdt_in
.size();
i
++) {
27
std::cout
<<
"---> "
<<
m_subdt_in
[
i
] << std::endl;
28
}
29
}
30
31
std::vector<std::string>
RunSummary::getSubdtIn
()
const
{
32
std::vector<std::string>
v
;
33
for
(
size_t
i
= 0;
i
<
m_subdt_in
.size();
i
++) {
34
if
(
m_subdt_in
[
i
] == 0) {
35
v
.push_back(
"PIXEL"
);
36
}
37
if
(
m_subdt_in
[
i
] == 1) {
38
v
.push_back(
"TRACKER"
);
39
}
40
if
(
m_subdt_in
[
i
] == 2) {
41
v
.push_back(
"ECAL"
);
42
}
43
if
(
m_subdt_in
[
i
] == 3) {
44
v
.push_back(
"HCAL"
);
45
}
46
47
if
(
m_subdt_in
[
i
] == 4) {
48
v
.push_back(
"DT"
);
49
}
50
if
(
m_subdt_in
[
i
] == 5) {
51
v
.push_back(
"CSC"
);
52
}
53
if
(
m_subdt_in
[
i
] == 6) {
54
v
.push_back(
"RPC"
);
55
}
56
}
57
return
v
;
58
}
mps_fire.i
i
Definition:
mps_fire.py:428
RunSummary
Definition:
RunSummary.h:18
RunSummary::Fake_RunSummary
static RunSummary * Fake_RunSummary()
Definition:
RunSummary.cc:4
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
RunSummary::m_hltkey
std::string m_hltkey
Definition:
RunSummary.h:28
RunSummary::printAllValues
void printAllValues() const
Definition:
RunSummary.cc:14
RunSummary::m_stop_time_str
std::string m_stop_time_str
Definition:
RunSummary.h:25
RunSummary::m_stop_time_ll
long long m_stop_time_ll
Definition:
RunSummary.h:24
RunSummary::getSubdtIn
std::vector< std::string > getSubdtIn() const
Definition:
RunSummary.cc:31
RunSummary::m_run
int m_run
Definition:
RunSummary.h:20
RunSummary.h
RunSummary::m_name
std::string m_name
Definition:
RunSummary.h:21
RunSummary::m_lumisections
int m_lumisections
Definition:
RunSummary.h:26
RunSummary::m_nevents
long long m_nevents
Definition:
RunSummary.h:29
RunSummary::m_subdt_in
std::vector< int > m_subdt_in
Definition:
RunSummary.h:27
RunSummary::m_start_time_str
std::string m_start_time_str
Definition:
RunSummary.h:23
RunSummary::m_rate
float m_rate
Definition:
RunSummary.h:30
RunSummary::RunSummary
RunSummary()
Definition:
RunSummary.cc:2
RunSummary::m_start_time_ll
long long m_start_time_ll
Definition:
RunSummary.h:22
Generated for CMSSW Reference Manual by
1.8.16