CMS 3D CMS Logo

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.

00020                      :
00021     barrel=barrelfromXML(filename)
00022     endcap=endcapfromXML(filename)
00023     return barrel,endcap
def EcalPyUtils::unhashEBIndex (   idx)

Definition at line 9 of file EcalPyUtils.py.

00010                        :
00011     
00012     tmp= hashedIndexToEtaPhi(idx)
00013     return tmp[0],tmp[1]

def EcalPyUtils::unhashEEIndex (   idx)

Definition at line 14 of file EcalPyUtils.py.

00015                        :
00016     
00017     tmp=hashedIndexToXY(idx)
00018     return tmp[0],tmp[1],tmp[2]