/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Classes | Functions | Variables
RootIOTest::howBig Namespace Reference

Classes

class  howBig

Functions

def configure
def run

Variables

list __all__ = ['howBig']
int printLevel = 0

Function Documentation

def RootIOTest::howBig::configure (   argv = [])

Definition at line 154 of file howBig.py.

00154                        : #None) :
00155     # note: if argv=None is specified as the arguments to configure, then
00156     #      the parser expects to have at least one option explicitly specified.
00157     #      with argv=[], one does not have specify any arguments (the defaults are used)
00158 #    from DetHelpers.DetHelpersConf import CoordSysSvc
00159 #    from GaudiSvc.GaudiSvcConf import THistSvc
00160 #    from GaudiSvc.GaudiSvcConf import DetectorDataSvc
00161 
00162 
00163     # deal with input arguments
00164     from optparse import OptionParser
00165     parser = OptionParser() #usage=self.__doc__)
00166 
00167     parser.add_option("-p","--print-level",
00168                       default=1, type="int",
00169                       help="Set print level. 0=minimal(Totals only), 1=more(per Header totals), 2=most (same as TTree->Print()).   [default: %default]")
00170 
00171     parser.add_option("-u","--units",type="str",
00172                       default="MB",
00173                       help="Set units (either MB or kB) for output. Default %default")
00174                       
00175 
00176     (options,args) = parser.parse_args(args=argv)
00177 
00178     global printlevel, printunits, ufactor
00179     printlevel = options.print_level
00180     printunits = options.units
00181     ufactor = 1e6
00182     if printunits == 'MB':
00183         pass
00184     elif printunits == 'kB':
00185         ufactor = 1e3
00186         pass
00187     else:
00188         printunits = 'MB'
00189     print " Set output print level to ",printlevel,"units=",printunits
00190     
00191 
00192     from Gaudi.Configuration import ApplicationMgr
00193     theApp = ApplicationMgr()
00194 #    theApp.ExtSvc.append(coorSvc)
00195 
00196 
00197 
00198     return
00199 
def RootIOTest::howBig::run (   app)
Configure and add this algorithm to job

Definition at line 200 of file howBig.py.

00201             :
00202     '''Configure and add this algorithm to job'''
00203     import sys
00204     plotBasics = howBig("HowBig")
00205     app.addAlgorithm(plotBasics)
00206 
00207     pass

Variable Documentation

Definition at line 21 of file howBig.py.

Definition at line 34 of file howBig.py.

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

Generated on Fri May 16 2014 10:20:12 for RootIOTest by doxygen 1.7.4