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
src
L1Trigger
DemonstratorTools
src
BoardData.cc
Go to the documentation of this file.
1
2
#include "
L1Trigger/DemonstratorTools/interface/BoardData.h
"
3
4
namespace
l1t::demo
{
5
6
BoardData::BoardData
() {}
7
8
BoardData::BoardData
(
const
std::string
&
name
) : name_(
name
) {}
9
10
BoardData::BoardData
(
const
std::string
&
name
,
const
std::vector<size_t>&
channels
,
size_t
length) : name_(
name
) {
11
for
(
const
auto
i
:
channels
)
12
data_
[
i
] =
Channel
(length);
13
}
14
15
const
std::string
&
BoardData::name
()
const
{
return
name_
; }
16
17
void
BoardData::name
(
const
std::string
& aName) {
name_
= aName; }
18
19
std::map<size_t, BoardData::Channel>::const_iterator
BoardData::begin
()
const
{
return
data_
.begin(); }
20
21
std::map<size_t, BoardData::Channel>::iterator
BoardData::begin
() {
return
data_
.begin(); }
22
23
std::map<size_t, BoardData::Channel>::const_iterator
BoardData::end
()
const
{
return
data_
.end(); }
24
25
std::map<size_t, BoardData::Channel>::iterator
BoardData::end
() {
return
data_
.end(); }
26
27
BoardData::Channel
&
BoardData::add
(
size_t
i
) {
28
data_
[
i
] =
Channel
();
29
return
data_
.at(
i
);
30
}
31
32
BoardData::Channel
&
BoardData::add
(
size_t
i
,
const
Channel
&
data
) {
33
data_
[
i
] =
data
;
34
return
data_
.at(
i
);
35
}
36
37
BoardData::Channel
&
BoardData::at
(
size_t
i
) {
return
data_
.at(
i
); }
38
39
const
BoardData::Channel
&
BoardData::at
(
size_t
i
)
const
{
return
data_
.at(
i
); }
40
41
bool
BoardData::has
(
size_t
i
)
const
{
return
data_
.count(
i
) > 0; }
42
43
size_t
BoardData::size
() {
return
data_
.size(); }
44
45
}
// namespace l1t::demo
l1t::demo::BoardData::add
Channel & add(size_t)
Definition:
BoardData.cc:27
mps_fire.i
i
Definition:
mps_fire.py:429
l1t::demo::BoardData::Channel
std::vector< Frame > Channel
Definition:
BoardData.h:15
l1t::demo::BoardData::end
std::map< size_t, Channel >::const_iterator end() const
Definition:
BoardData.cc:23
l1t::demo::BoardData::has
bool has(size_t) const
Definition:
BoardData.cc:41
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ewkTauDQM_cfi.channels
channels
Definition:
ewkTauDQM_cfi.py:14
l1t::demo::BoardData::name_
std::string name_
Definition:
BoardData.h:49
l1t::demo
Definition:
BoardData.h:10
l1t::demo::BoardData::begin
std::map< size_t, Channel >::const_iterator begin() const
Definition:
BoardData.cc:19
l1t::demo::BoardData::name
const std::string & name() const
Definition:
BoardData.cc:15
l1t::demo::BoardData::size
size_t size()
Definition:
BoardData.cc:43
BoardData.h
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:80
l1t::demo::BoardData::data_
std::map< size_t, Channel > data_
Definition:
BoardData.h:52
l1t::demo::BoardData::BoardData
BoardData()
Definition:
BoardData.cc:6
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
l1t::demo::BoardData::at
Channel & at(size_t)
Definition:
BoardData.cc:37
Generated for CMSSW Reference Manual by
1.8.14