| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

MemoryCheck::__init__ Namespace Reference


Classes

class  checkMemory

Functions

def configure
def run

Variables

list __all__ = ['checkMemory']

Function Documentation

def MemoryCheck::__init__::configure (   argv = []  ) 

Definition at line 99 of file __init__.py.

00099                       :
00100 
00101     import sys, getopt
00102     opts,args = getopt.getopt(argv,"o:")
00103     outFile = "memory.root"
00104     for opt,arg in opts:
00105         if opt == "-o":
00106             outFile = arg
00107 
00108     from GaudiSvc.GaudiSvcConf import THistSvc
00109 
00110     histsvc = THistSvc()
00111     histsvc.Output += ["fileMemory DATAFILE='" + outFile + "' OPT='RECREATE' TYP='ROOT' "]
00112 
00113     return
00114 
def run(app):

def MemoryCheck::__init__::run (   app  ) 

Configure and add this algorithm to job

Definition at line 115 of file __init__.py.

00115             :
00116     '''Configure and add this algorithm to job'''
00117 
00118     app.ExtSvc += ["THistSvc"]
00119 
00120     chMemory = checkMemory("myCheckMemory")
00121     app.addAlgorithm(chMemory)
00122     pass
00123 


Variable Documentation

list MemoryCheck::__init__::__all__ = ['checkMemory'] [static]

Definition at line 9 of file __init__.py.

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:12:17 2011 for MemoryCheck by doxygen 1.4.7