Functions | |
def | configure |
def | run |
def RunElectronics::__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 from StatisticsSvc.StatisticsSvcConf import StatisticsSvc 00019 statsSvc = StatisticsSvc() 00020 statsSvc.Output ={"file1":"waveforms.root"} 00021 00022 def run(app):
def RunElectronics::__init__::run | ( | app | ) |
Definition at line 23 of file __init__.py.
00023 : 00024 app.ExtSvc += ["StatisticsSvc"] 00025 00026 from ElecTutorial import WaveDumper 00027 00028 wavealg = WaveDumper.WaveDumperAlg("WaveDumper") 00029 wavealg.OutputLevel=VERBOSE 00030 app.addAlgorithm(wavealg) 00031 00032 #from ElecSim import Viewer 00033 #app.addAlgorithm(Viewer.EsViewerAlg("elecView")) 00034 pass 00035