The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
bug_34121.py
Go to the documentation of this file.
1#!/usr/bin/env python3
2
13from Configurables import bug_34121__MyAlgorithm as MyAlgorithm
14from Configurables import bug_34121__Tool as Tool
15
16from Gaudi.Configuration import ApplicationMgr
17
18tool = Tool(Double=-1)
19
20alg = MyAlgorithm("Alg")
21alg.addTool(tool, name="Tool")
22
23ApplicationMgr(EvtSel="NONE", TopAlg=[alg])
24
25# ====================================================================
26
27import GaudiPython
28
30
31t = app.tool(alg.Tool.getName())
32for i in range(5):
33 t.Double = i
34 app.run(1)
The Application Manager class.