CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
EcalPyUtils Namespace Reference

Functions

def fromXML
 
def unhashEBIndex
 
def unhashEEIndex
 

Function Documentation

def EcalPyUtils.fromXML (   filename)

Definition at line 19 of file EcalPyUtils.py.

Referenced by EcalCondTools.compare(), and EcalCondTools.histo().

19 
20 def fromXML(filename):
21  barrel=barrelfromXML(filename)
22  endcap=endcapfromXML(filename)
23  return barrel,endcap
def EcalPyUtils.unhashEBIndex (   idx)

Definition at line 9 of file EcalPyUtils.py.

References ecalpyutils.hashedIndexToEtaPhi().

Referenced by EcalCondTools.compareBarrel(), EcalCondTools.compareBarrelBorder(), and EcalCondTools.makedist().

9 
10 def unhashEBIndex(idx) :
11 
12  tmp= hashedIndexToEtaPhi(idx)
13  return tmp[0],tmp[1]
def unhashEBIndex
Definition: EcalPyUtils.py:9
std::vector< int > hashedIndexToEtaPhi(int hashedindex)
Definition: EcalPyUtils.cc:16
def EcalPyUtils.unhashEEIndex (   idx)

Definition at line 14 of file EcalPyUtils.py.

References ecalpyutils.hashedIndexToXY().

Referenced by EcalCondTools.compareEndcap(), EcalCondTools.compareEndcapBorder(), and EcalCondTools.makedist().

14 
15 def unhashEEIndex(idx) :
16 
17  tmp=hashedIndexToXY(idx)
18  return tmp[0],tmp[1],tmp[2]
def unhashEEIndex
Definition: EcalPyUtils.py:14
std::vector< int > hashedIndexToXY(int hashedindex)
Definition: EcalPyUtils.cc:25