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
Geometry
CaloTopology
src
EcalBarrelHardcodedTopology.cc
Go to the documentation of this file.
1
#include "
Geometry/CaloTopology/interface/EcalBarrelHardcodedTopology.h
"
2
3
EBDetId
EcalBarrelHardcodedTopology::incrementIeta
(
const
EBDetId
&
id
)
const
{
4
if
(
id
.
ieta
() ==
EBDetId::MAX_IETA
)
5
return
EBDetId
(0);
// null det id
6
else
if
(
id
.
ieta
() == -1)
7
return
EBDetId
(1,
id
.
iphi
());
8
else
9
return
EBDetId
(
id
.
ieta
() + 1,
id
.
iphi
());
10
}
11
12
EBDetId
EcalBarrelHardcodedTopology::decrementIeta
(
const
EBDetId
&
id
)
const
{
13
if
(
id
.
ieta
() == -
EBDetId::MAX_IETA
)
14
return
EBDetId
(0);
// null det id
15
else
if
(
id
.
ieta
() == 1)
16
return
EBDetId
(-1,
id
.
iphi
());
17
else
18
return
EBDetId
(
id
.
ieta
() - 1,
id
.
iphi
());
19
}
20
21
EBDetId
EcalBarrelHardcodedTopology::incrementIphi
(
const
EBDetId
&
id
)
const
{
22
if
(
id
.
iphi
() ==
EBDetId::MAX_IPHI
)
23
return
EBDetId
(
id
.
ieta
(),
EBDetId::MIN_IPHI
);
24
else
25
return
EBDetId
(
id
.
ieta
(),
id
.
iphi
() + 1);
26
}
27
28
EBDetId
EcalBarrelHardcodedTopology::decrementIphi
(
const
EBDetId
&
id
)
const
{
29
if
(
id
.
iphi
() ==
EBDetId::MIN_IPHI
)
30
return
EBDetId
(
id
.
ieta
(),
EBDetId::MAX_IPHI
);
31
else
32
return
EBDetId
(
id
.
ieta
(),
id
.
iphi
() - 1);
33
}
EBDetId
Definition:
EBDetId.h:17
EcalBarrelHardcodedTopology::incrementIphi
EBDetId incrementIphi(const EBDetId &) const
move the nagivator to larger iphi (wraps around the barrel)
Definition:
EcalBarrelHardcodedTopology.cc:21
EcalBarrelHardcodedTopology::decrementIeta
EBDetId decrementIeta(const EBDetId &) const
move the nagivator to smaller ieta (more negative z) (stops at end of barrel and returns null)
Definition:
EcalBarrelHardcodedTopology.cc:12
LEDCalibrationChannels.iphi
iphi
Definition:
LEDCalibrationChannels.py:64
EcalBarrelHardcodedTopology::decrementIphi
EBDetId decrementIphi(const EBDetId &) const
move the nagivator to smaller iphi (wraps around the barrel)
Definition:
EcalBarrelHardcodedTopology.cc:28
EBDetId::MAX_IPHI
static const int MAX_IPHI
Definition:
EBDetId.h:137
LEDCalibrationChannels.ieta
ieta
Definition:
LEDCalibrationChannels.py:63
EcalBarrelHardcodedTopology::incrementIeta
EBDetId incrementIeta(const EBDetId &) const
move the nagivator to larger ieta (more positive z) (stops at end of barrel and returns null)
Definition:
EcalBarrelHardcodedTopology.cc:3
EcalBarrelHardcodedTopology.h
EBDetId::MAX_IETA
static const int MAX_IETA
Definition:
EBDetId.h:136
EBDetId::MIN_IPHI
static const int MIN_IPHI
Definition:
EBDetId.h:135
Generated for CMSSW Reference Manual by
1.8.16