ATLAS Offline Software
Namespaces | Functions | Variables
SGout2dot.py File Reference

Go to the source code of this file.

Namespaces

 SGout2dot
 

Functions

def SGout2dot.chLabel (inpVal)
 
def SGout2dot.isNumb (inpVal)
 
def SGout2dot.toRemove (inpVal)
 

Variables

string SGout2dot.__version__ = "$Revision: 1.2 $"
 
string SGout2dot.__author__ = "Ilija Vukotic <ivukotic@cern.ch>"
 
bool SGout2dot.debug = True
 
bool SGout2dot.debugRemove = False
 
bool SGout2dot.drawNReadWrite = False
 
list SGout2dot.lRemove = []
 
 SGout2dot.inFN = sys.argv[1]
 
 SGout2dot.outFN = sys.argv[2]
 
 SGout2dot.fi = open (inFN)
 
 SGout2dot.fo = open (outFN, 'w' )
 
 SGout2dot.lines = fi.readlines()
 
 SGout2dot.line = lines.pop(0)
 
 SGout2dot.words = line.split(' ')
 
 SGout2dot.nAlgs = int(words[1])
 
list SGout2dot.algs = []
 
int SGout2dot.nGoodAlgs = 0
 
 SGout2dot.nObjs = int(words[1])
 
list SGout2dot.objs = []
 
int SGout2dot.nGoodObjs = 0
 
dictionary SGout2dot.objsWrittenByAlg = {}
 
dictionary SGout2dot.objsReadByAlg = {}
 
dictionary SGout2dot.algsWritingObj = {}
 
dictionary SGout2dot.algsReadingObj = {}
 
 SGout2dot.rw = words.pop(0).split(':')
 
 SGout2dot.reads = int(rw[0])
 
 SGout2dot.writes = int(rw[1])
 
string SGout2dot.towrite = 'a_%(a)s [label=\"%(a)s\"];\n'%{'a':chLabel(alg),'b':alg}
 
 SGout2dot.obj = objrec[0]
 
 SGout2dot.alg = algrec[0]