CMS 3D CMS Logo

Functions
EcalPyUtils Namespace Reference

Functions

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

Function Documentation

◆ fromXML()

def EcalPyUtils.fromXML (   filename)

Definition at line 19 of file EcalPyUtils.py.

19 def fromXML(filename):
20  barrel=barrelfromXML(filename)
21  endcap=endcapfromXML(filename)
22  return barrel,endcap

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

◆ unhashEBIndex()

def EcalPyUtils.unhashEBIndex (   idx)

Definition at line 9 of file EcalPyUtils.py.

9 def unhashEBIndex(idx) :
10 
11  tmp= hashedIndexToEtaPhi(idx)
12  return tmp[0],tmp[1]
13 

References ecalpyutils.hashedIndexToEtaPhi().

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

◆ unhashEEIndex()

def EcalPyUtils.unhashEEIndex (   idx)

Definition at line 14 of file EcalPyUtils.py.

14 def unhashEEIndex(idx) :
15 
16  tmp=hashedIndexToXY(idx)
17  return tmp[0],tmp[1],tmp[2]
18 

References ecalpyutils.hashedIndexToXY().

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

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