00001
00002
00003 __all__ = ['DybHelloWorldConf','Configure','NonDefaultJom','OptionalJom',
00004 'PyloWorld']
00005
00006 class Configure:
00007 def __init__(self):
00008 ''' Configure the DybHelloWorld algorithm to some default
00009 settings. The algorithm is available via the .HelloWorldAlg
00010 member of the returned object. To see what properties this
00011 algorithm has run the program "properties.py DybHelloWorld"'''
00012
00013
00014 from DybHelloWorld.DybHelloWorldConf import DybHelloWorld
00015 dhw = DybHelloWorld()
00016 dhw.OutputLevel = 3
00017 dhw.MyInt = 42
00018 dhw.MyBool = 1
00019 dhw.MyDouble = 3.14159
00020 dhw.MyStringVec = [ "Welcome", "to", "DybGaudi", "Framework", "Tutorial" ]
00021 dhw.MyIntegerProperty = 43
00022 dhw.MyStringMap = { "foo": "bar", "baz": "quax" }
00023 dhw.MyStringVectorMap = {
00024 "A": ["one","two","three"],
00025 "B": ["ichi","ni","san"],
00026 }
00027 from Gaudi.Configuration import ApplicationMgr
00028 theApp = ApplicationMgr()
00029 theApp.TopAlg.append(dhw)
00030 self.HelloWorldAlg = dhw
00031
00032 return
00033 pass
00034
00035