| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

bug_34121.py

Go to the documentation of this file.
00001 #!/usr/bin/env python
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)
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:59:39 2011 for GaudiExamples by doxygen 1.4.7