10 import AthenaCommon.AtlasUnixStandardJob
17 from AthenaCommon.AlgSequence
import AlgSequence
21 from AthExHelloWorld.AthExHelloWorldConf
import HelloAlg
22 job += HelloAlg(
"HelloWorld" )
29 job.HelloWorld.OutputLevel = INFO
49 HelloWorld = job.HelloWorld
55 HelloWorld.MyBool =
True
58 HelloWorld.MyDouble = 3.14159
61 HelloWorld.MyStringVec = [
"Welcome",
"to",
"Athena",
"Framework",
"Tutorial" ]
64 HelloWorld.MyStringVec += [
"!" ]
67 HelloWorld.MyDict = {
'Bonjour' :
'Guten Tag',
68 'Good Morning' :
'Bonjour' ,
74 HelloWorld.MyDict[
"Goeiedag" ] =
"Ni Hao"
77 HelloWorld.MyTable = [ ( 1 , 1 ) , ( 2 , 4 ) , ( 3 , 9 ) ]
80 HelloWorld.MyTable += [ ( 4, 16 ) ]
83 HelloWorld.MyMatrix = [ [ 1, 2, 3 ],
87 HelloWorld.MyMatrix += [ [ 7, 8, 9 ] ]
94 from AthExHelloWorld.AthExHelloWorldConf
import HelloTool
97 ToolSvc += HelloTool(
"PublicHello" )
98 ToolSvc.PublicHello.MyMessage =
"A Public Message!"
102 HelloWorld.MyPublicHelloTool = ToolSvc.PublicHello
106 HelloWorld.MyPrivateHelloTool = HelloTool(
"HelloTool" )
107 HelloWorld.MyPrivateHelloTool.MyMessage =
"A Private Message!"