28def HelloWorldCfg(flags):
29 result = ComponentAccumulator()
30
31 alg = CompFactory.HelloAlg("HelloWorld",
32
33 MyInt=flags.Input.JobNumber,
34
35 MyBool=True,
36
37 MyDouble=3.14159,
38
39 MyStringVec=["Welcome", "to",
40 "Athena", "Framework", "Tutorial"],
41
42 MyDict={"Bonjour": "Guten Tag",
43 "Good Morning": "Bonjour",
44 "one": "uno"},
45
46 MyTable=[(1, 1), (2, 4), (3, 9)],
47
48 MyMatrix=[[1, 2, 3],
49 [4, 5, 6]],
50
51 MyPrivateHelloTool=result.popToolsAndMerge(
52 HelloWorldToolCfg(flags)),
53
54 MyPublicHelloTool=result.getPrimaryAndMerge(
55 HelloWorldPublicToolCfg(flags)),
56 )
57
58
59 result.addEventAlgo(alg)
60 return result
61
62