19 from AthenaCommon.AlgSequence
import AlgSequence
23 from AthExHelloWorld.AthExHelloWorldConf
import HelloAlg
24 job += HelloAlg(
"HelloWorld" )
31 job.HelloWorld.OutputLevel = INFO
51 HelloWorld = job.HelloWorld
57 HelloWorld.MyBool =
True
60 HelloWorld.MyDouble = 3.14159
63 HelloWorld.MyStringVec = [
"Welcome",
"to",
"Athena",
"Framework",
"Tutorial" ]
66 HelloWorld.MyStringVec += [
"!" ]
69 HelloWorld.MyDict = {
'Bonjour' :
'Guten Tag',
70 'Good Morning' :
'Bonjour' ,
'one' :
'uno' }
73 HelloWorld.MyDict[
"Goeiedag" ] =
"Ni Hao"
76 HelloWorld.MyTable = [ ( 1 , 1 ) , ( 2 , 4 ) , ( 3 , 9 ) ]
79 HelloWorld.MyTable += [ ( 4, 16 ) ]
82 HelloWorld.MyMatrix = [ [ 1, 2, 3 ],
86 HelloWorld.MyMatrix += [ [ 7, 8, 9 ] ]
93 from AthExHelloWorld.AthExHelloWorldConf
import HelloTool
96 ToolSvc += HelloTool(
"PublicHello" )
97 ToolSvc.PublicHello.MyMessage =
"A Public Message!"
101 HelloWorld.MyPublicHelloTool = ToolSvc.PublicHello
105 HelloWorld.MyPrivateHelloTool = HelloTool(
"HelloTool" )
106 HelloWorld.MyPrivateHelloTool.MyMessage =
"A Private Message!"