00001 from GaudiKernel.Constants import *
00002
00003 def configure(argv = []):
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
00023 def run(app):
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
00033
00034 pass
00035