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
CalibFormats
SiStripObjects
src
SiStripFecCrate.cc
Go to the documentation of this file.
1
2
#include "
CalibFormats/SiStripObjects/interface/SiStripFecCrate.h
"
3
#include <iostream>
4
5
// -----------------------------------------------------------------------------
6
//
7
SiStripFecCrate::SiStripFecCrate
(
const
FedChannelConnection
&
conn
) :
fecCrate_
(
conn
.fecCrate()), fecs_() {
8
fecs_
.reserve(20);
9
addDevices
(
conn
);
10
}
11
12
// -----------------------------------------------------------------------------
13
//
14
void
SiStripFecCrate::addDevices
(
const
FedChannelConnection
&
conn
) {
15
auto
ifec =
fecs_
.begin();
16
while
(ifec !=
fecs_
.end() && (*ifec).fecSlot() !=
conn
.fecSlot()) {
17
ifec++;
18
}
19
if
(ifec ==
fecs_
.end()) {
20
fecs_
.push_back(
SiStripFec
(
conn
));
21
}
else
{
22
ifec->addDevices(
conn
);
23
}
24
}
SiStripFec
Definition:
SiStripFec.h:14
FedChannelConnection
Class containning control, module, detector and connection information, at the level of a FED channel...
Definition:
FedChannelConnection.h:26
SiStripFecCrate::SiStripFecCrate
SiStripFecCrate()
Definition:
SiStripFecCrate.h:34
sistrip::fecCrate_
static const char fecCrate_[]
Definition:
ConstantsForGranularity.h:52
SiStripFecCrate::fecs_
std::vector< SiStripFec > fecs_
Definition:
SiStripFecCrate.h:40
getInfo.conn
conn
Definition:
getInfo.py:9
SiStripFecCrate::addDevices
void addDevices(const FedChannelConnection &conn)
Definition:
SiStripFecCrate.cc:14
SiStripFecCrate.h
Generated for CMSSW Reference Manual by
1.8.14