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