Classes | |
class | howBig |
Functions | |
def | configure |
def | run |
Variables | |
list | __all__ = ['howBig'] |
int | printLevel = 0 |
def RootIOTest::howBig::configure | ( | argv = [] |
) |
Definition at line 126 of file howBig.py.
00126 : #None) : 00127 # note: if argv=None is specified as the arguments to configure, then 00128 # the parser expects to have at least one option explicitly specified. 00129 # with argv=[], one does not have specify any arguments (the defaults are used) 00130 # from DetHelpers.DetHelpersConf import CoordSysSvc 00131 # from GaudiSvc.GaudiSvcConf import THistSvc 00132 # from GaudiSvc.GaudiSvcConf import DetectorDataSvc 00133 00134 00135 # deal with input arguments 00136 from optparse import OptionParser 00137 parser = OptionParser() #usage=self.__doc__) 00138 00139 parser.add_option("-p","--print-level", 00140 default=1, type="int", 00141 help="Set print level. 0=minimal(Totals only), 1=more(per Header totals), 2=most (same as TTree->Print()). [default: %default]") 00142 00143 (options,args) = parser.parse_args(args=argv) 00144 00145 global printlevel 00146 printlevel = options.print_level 00147 print " Set output print level to ",printlevel 00148 00149 00150 from Gaudi.Configuration import ApplicationMgr 00151 theApp = ApplicationMgr() 00152 # theApp.ExtSvc.append(coorSvc) 00153 00154 00155 00156 return 00157
def RootIOTest::howBig::run | ( | app | ) |
Configure and add this algorithm to job
Definition at line 158 of file howBig.py.
00158 : 00159 '''Configure and add this algorithm to job''' 00160 # from Gaudi.Configuration import ApplicationMgr 00161 # app = ApplicationMgr() 00162 import sys 00163 # app.ExtSvc += ["StatisticsSvc", "GiveHeader", "StaticCableSvc", "PmtGeomInfoSvc"] 00164 # app.ExtSvc += ["StatisticsSvc", "StaticCableSvc", "PmtGeomInfoSvc"] 00165 plotBasics = howBig("HowBig") 00166 app.addAlgorithm(plotBasics) 00167 00168 pass pass
list RootIOTest::howBig::__all__ = ['howBig'] [static] |
int RootIOTest::howBig::printLevel = 0 [static] |