The Gaudi Framework  v36r13 (995e4364)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
bug_34121.py
Go to the documentation of this file.
1 #!/usr/bin/env python3
2 
13 from Configurables import bug_34121__MyAlgorithm as MyAlgorithm
14 from Configurables import bug_34121__Tool as Tool
15 from Gaudi.Configuration import ApplicationMgr
16 
17 tool = Tool(Double=-1)
18 
19 alg = MyAlgorithm("Alg")
20 alg.addTool(tool, name="Tool")
21 
22 ApplicationMgr(EvtSel="NONE", TopAlg=[alg])
23 
24 # ====================================================================
25 
26 import GaudiPython
27 
29 
30 t = app.tool(alg.Tool.getName())
31 for i in range(5):
32  t.Double = i
33  app.run(1)
bug_34121::Tool
Definition: bug34121_Tool.cpp:24
bug_34121::MyAlgorithm
Definition: bug34121_MyAlgorithm.cpp:22
GaudiPython.Bindings.AppMgr
Definition: Bindings.py:869
Gaudi.Configuration
Definition: Configuration.py:1
Gaudi::Functional::details::zip::range
decltype(auto) range(Args &&... args)
Zips multiple containers together to form a single range.
Definition: FunctionalDetails.h:102