Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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
Definition:
EcalPyUtils.py:19
EcalPyUtils.unhashEBIndex
def unhashEBIndex
Definition:
EcalPyUtils.py:9
EcalPyUtils.unhashEEIndex
def unhashEEIndex
Definition:
EcalPyUtils.py:14
ecalpyutils::hashedIndexToXY
std::vector< int > hashedIndexToXY(int hashedindex)
Definition:
EcalPyUtils.cc:30
ecalpyutils::hashedIndexToEtaPhi
std::vector< int > hashedIndexToEtaPhi(int hashedindex)
Definition:
EcalPyUtils.cc:21
Generated for CMSSW Reference Manual by
1.8.5