40def configure(gaudi=None):
41 """the configurtaion of the job"""
42
43
44 if not gaudi:
45 gaudi = gaudimodule.AppMgr()
46
47
48 gaudi.config(files=["../options/Common.opts"])
49
50
51
52 gaudi.TopAlg = ["ExtendedProperties/xProps"]
53 gaudi.EvtSel = "NONE"
54 gaudi.HistogramPersistency = "NONE"
55
56 xProps = gaudi.algorithm("xProps")
57
58
59
60
61
62
63
64 xProps.VectorOfPairsDD = [(0, 1), (1, 2), (2, 3), (3, 4)]
65
66
67 xProps.VectorOfVectorsString = [["a", "b", "c"], ["A", "B", "C"]]
68
69
70 xProps.VectorOfVectorsDouble = [[0, 1, 2], [0, -0.5, -0.25]]
71
72
73 xProps.MapIntDouble = {1: 0.1, 2: 0.2, 3: 0.3}
74
75
76 xProps.MapStringString = {
77 "a": "sddsgsgsdgdggf",
78 "b": "sddsgsgsdgdggf",
79 "c": "sddsgsgsdgdggf",
80 }
81
82
83 xProps.MapStringInt = {"a": 1, "b": 2, "c": 3}
84
85
86 xProps.MapStringDouble = {"aa": 0.1, "bb": 0.2, "cc": 3}
87
88
89 xProps.MapStringVectorOfStrings = {
90 "aaa": ["a", "b", "c"],
91 "bbb": ["a", "b", "c"],
92 "ccc": ["a", "b", "c"],
93 }
94
95
96 xProps.MapStringVectorOfDoubles = {
97 "aaa": [1, 2, 3],
98 "bbb": [1.0, 2.0, 3.0],
99 "ccc": [0.1, 0.2, 0.3],
100 }
101
102
103 xProps.MapStringVectorOfInts = {
104 "aaa": [1, 2, 3],
105 "bbb": [4, 5, 6],
106 "ccc": [7, 8, 9],
107 }
108
109 return SUCCESS
110
111
112
113
114