The Gaudi Framework
master (37c0b60a)
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
16
from
Gaudi.Configuration
import
ApplicationMgr
17
18
tool =
Tool
(Double=-1)
19
20
alg =
MyAlgorithm
(
"Alg"
)
21
alg.addTool(tool, name=
"Tool"
)
22
23
ApplicationMgr(EvtSel=
"NONE"
, TopAlg=[alg])
24
25
# ====================================================================
26
27
import
GaudiPython
28
29
app =
GaudiPython.AppMgr
()
30
31
t = app.tool(alg.Tool.getName())
32
for
i
in
range
(5):
33
t.Double = i
34
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:887
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:
details.h:97
GaudiTestSuite
scripts
bug_34121.py
Generated on Thu Dec 19 2024 15:35:06 for The Gaudi Framework by
1.8.18