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 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
00029 def run(app):
00030 app.ExtSvc += ["StatisticsSvc"]
00031
00032 from ElecTutorial import ReadoutDumper
00033
00034 dumpalg = ReadoutDumper.ReadoutDumperAlg("ReadoutDumper")
00035
00036 app.addAlgorithm(dumpalg)
00037
00038
00039
00040 pass
00041