CMS 3D CMS Logo

Functions
EcalPyUtils Namespace Reference

Functions

def fromXML (filename)
 
def unhashEBIndex (idx)
 
def unhashEEIndex (idx)
 

Function Documentation

def EcalPyUtils.fromXML (   filename)

Definition at line 19 of file EcalPyUtils.py.

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

19 def fromXML(filename):
20  barrel=barrelfromXML(filename)
21  endcap=endcapfromXML(filename)
22  return barrel,endcap
23 
def fromXML(filename)
Definition: EcalPyUtils.py:19
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 def unhashEBIndex(idx) :
10 
11  tmp= hashedIndexToEtaPhi(idx)
12  return tmp[0],tmp[1]
13 
std::vector< int > hashedIndexToEtaPhi(int hashedindex)
Definition: EcalPyUtils.cc:18
def unhashEBIndex(idx)
Definition: EcalPyUtils.py:9
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 def unhashEEIndex(idx) :
15 
16  tmp=hashedIndexToXY(idx)
17  return tmp[0],tmp[1],tmp[2]
18 
def unhashEEIndex(idx)
Definition: EcalPyUtils.py:14
std::vector< int > hashedIndexToXY(int hashedindex)
Definition: EcalPyUtils.cc:27