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
CondTools
Ecal
python
EcalPyUtils.py
Go to the documentation of this file.
1
#
2
# Define Ecal convenience functions
3
# author Stefano Argiro
4
# version $Id$
5
#
6
7
from
pluginEcalPyUtils
import
*
8
9
def
unhashEBIndex
(idx) :
10
11
tmp=
hashedIndexToEtaPhi
(idx)
12
return
tmp[0],tmp[1]
13
14
def
unhashEEIndex
(idx) :
15
16
tmp=
hashedIndexToXY
(idx)
17
return
tmp[0],tmp[1],tmp[2]
18
19
def
fromXML
(filename):
20
barrel=barrelfromXML(filename)
21
endcap=endcapfromXML(filename)
22
return
barrel,endcap
EcalPyUtils.fromXML
def fromXML(filename)
Definition:
EcalPyUtils.py:19
EcalPyUtils.unhashEEIndex
def unhashEEIndex(idx)
Definition:
EcalPyUtils.py:14
ecalpyutils::hashedIndexToXY
std::vector< int > hashedIndexToXY(int hashedindex)
Definition:
EcalPyUtils.cc:25
ecalpyutils::hashedIndexToEtaPhi
std::vector< int > hashedIndexToEtaPhi(int hashedindex)
Definition:
EcalPyUtils.cc:16
EcalPyUtils.unhashEBIndex
def unhashEBIndex(idx)
Definition:
EcalPyUtils.py:9
Generated for CMSSW Reference Manual by
1.8.14