Functions | |
def | configure |
def | run |
def RunReadouts::__init__::configure | ( | argv = [] |
) |
Configure this module with LED position
Definition at line 3 of file __init__.py.
00003 : 00004 """Configure this module with LED position""" 00005 00006 import GaudiKernel.SystemOfUnits as units 00007 import sys, getopt 00008 from time import gmtime, mktime, strftime, strptime, timezone 00009 opts,args = getopt.getopt(argv, 00010 "p:w:z:n:i:f:m:s:",["no-geometry"]) 00011 00012 pmtDataPath=None 00013 00014 import ElecSim 00015 00016 elecsim = ElecSim.Configure() 00017 00018 import TrigSim 00019 trigsim = TrigSim.Configure() 00020 00021 import ReadoutSim 00022 rsim = ReadoutSim.Configure() 00023 00024 from StatisticsSvc.StatisticsSvcConf import StatisticsSvc 00025 statsSvc = StatisticsSvc() 00026 statsSvc.Output ={"file1":"readouts.root"} 00027 00028 def run(app):
def RunReadouts::__init__::run | ( | app | ) |
Definition at line 29 of file __init__.py.
00029 : 00030 app.ExtSvc += ["StatisticsSvc"] 00031 00032 from ElecTutorial import ReadoutDumper 00033 00034 dumpalg = ReadoutDumper.ReadoutDumperAlg("ReadoutDumper") 00035 #dumpalg.OutputLevel=VERBOSE 00036 app.addAlgorithm(dumpalg) 00037 00038 #from ElecSim import Viewer 00039 #app.addAlgorithm(Viewer.EsViewerAlg("elecView")) 00040 pass 00041