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.unhashEBIndex
def unhashEBIndex(idx)
Definition:
EcalPyUtils.py:9
EcalPyUtils.unhashEEIndex
def unhashEEIndex(idx)
Definition:
EcalPyUtils.py:14
ecalpyutils::hashedIndexToXY
std::vector< int > hashedIndexToXY(int hashedindex)
Definition:
EcalPyUtils.cc:27
EcalPyUtils.fromXML
def fromXML(filename)
Definition:
EcalPyUtils.py:19
ecalpyutils::hashedIndexToEtaPhi
std::vector< int > hashedIndexToEtaPhi(int hashedindex)
Definition:
EcalPyUtils.cc:18
Generated for CMSSW Reference Manual by
1.8.16