Classes | |
class | plotIbdBasics |
Functions | |
def | configure |
def | run |
Variables | |
list | __all__ = ['plotIbdBasics'] |
int | TH1F = 1 |
int | TH1D = 1 |
int | TH2F = 2 |
int | TH2D = 2 |
int | TH3F = 3 |
int | TH3D = 3 |
TParameter = gbl.TParameter |
def chkIBD::AdPerformance::configure | ( | argv = [] |
) |
Definition at line 1182 of file AdPerformance.py.
01182 : 01183 import sys, getopt 01184 from time import localtime, gmtime, mktime, strftime, strptime, timezone 01185 opts,args = getopt.getopt(argv,"o:w:") 01186 outputrootfile = 'AdBasicPlots.root' 01187 wallTime = 0 01188 for opt,arg in opts: 01189 if opt == "-o": 01190 outputrootfile = arg 01191 if opt == "-w": 01192 if -1 != arg.find('T'): 01193 wallTime = int(mktime(strptime(arg, 01194 DATETIME_FORMAT)) - timezone) 01195 else: 01196 wallTime = int(arg) 01197 01198 print "Your output ROOT files is: ", outputrootfile 01199 from DetHelpers.DetHelpersConf import CoordSysSvc 01200 # from GaudiSvc.GaudiSvcConf import DetectorDataSvc 01201 01202 from StatisticsSvc.StatisticsSvcConf import StatisticsSvc 01203 statsSvc = StatisticsSvc() 01204 statsSvc.Output ={"file1":outputrootfile} 01205 01206 coorSvc = CoordSysSvc() 01207 coorSvc.OutputLevel = 1 01208 01209 from Gaudi.Configuration import ApplicationMgr 01210 theApp = ApplicationMgr() 01211 theApp.ExtSvc.append(coorSvc) 01212 01213 return 01214 def run(app):
def chkIBD::AdPerformance::run | ( | app | ) |
Configure and add this algorithm to job
Definition at line 1215 of file AdPerformance.py.
01215 : 01216 '''Configure and add this algorithm to job''' 01217 # from Gaudi.Configuration import ApplicationMgr 01218 # app = ApplicationMgr() 01219 app.ExtSvc += ["StatisticsSvc"] 01220 plotBasics = plotIbdBasics("myBasics") 01221 app.addAlgorithm(plotBasics) 01222 pass pass
list chkIBD::AdPerformance::__all__ = ['plotIbdBasics'] [static] |
Definition at line 6 of file AdPerformance.py.
int chkIBD::AdPerformance::TH1F = 1 [static] |
Definition at line 17 of file AdPerformance.py.
int chkIBD::AdPerformance::TH1D = 1 [static] |
Definition at line 18 of file AdPerformance.py.
int chkIBD::AdPerformance::TH2F = 2 [static] |
Definition at line 19 of file AdPerformance.py.
int chkIBD::AdPerformance::TH2D = 2 [static] |
Definition at line 20 of file AdPerformance.py.
int chkIBD::AdPerformance::TH3F = 3 [static] |
Definition at line 21 of file AdPerformance.py.
int chkIBD::AdPerformance::TH3D = 3 [static] |
Definition at line 22 of file AdPerformance.py.
chkIBD::AdPerformance::TParameter = gbl.TParameter [static] |
Definition at line 23 of file AdPerformance.py.