00001
00002
00003 from Gaudi.Configuration import *
00004 from Configurables import bug_34121__Tool as Tool, \
00005 bug_34121__MyAlgorithm as MyAlgorithm
00006
00007 tool = Tool(Double = -1)
00008
00009 alg = MyAlgorithm("Alg")
00010 alg.addTool(tool,name="Tool")
00011
00012 ApplicationMgr(EvtSel = "NONE", TopAlg = [alg])
00013
00014
00015
00016 import GaudiPython
00017
00018 app = GaudiPython.AppMgr()
00019
00020 t = app.tool(alg.Tool.getName())
00021 for i in range(5):
00022 t.Double = i
00023 app.run(1)