13from Configurables
import ExtendedProperties, GaudiTestSuiteCommonConf
16GaudiTestSuiteCommonConf()
23xProps.PairDD = (3.141592 * m, 2.18281828)
27xProps.VectorOfPairsDD += [(0, 1), (1, 2), (2, 3), (3, 4)]
28xProps.VectorOfPairsDD += [(4, 5), (5, 6), (6, 7), (7, 8)]
31xProps.VectorOfVectorsString = [[
"a",
"b",
"c"], [
"A",
"B",
"C"]]
34xProps.VectorOfVectorsDouble = [[0, 1, 2], [0, -0.5, -0.25]]
37xProps.VectorOfVectorsFloat = [[0, 1.5, 2], [-0.5, -0.25]]
40xProps.MapIntDouble = {1: 0.1, 2: 0.2, 3: 0.3}
43xProps.MapStringString = {
44 "a":
"sddsgsgsdgdggf",
45 "b":
"sddsgsgsdgdggf",
46 "c":
"sddsgsgsdgdggf",
50xProps.MapStringInt = {
"a": 1,
"b": 2,
"c": 3}
53xProps.MapStringDouble = {
"aa": 0.1,
"bb": 0.2,
"cc": 3}
56xProps.MapStringVectorOfStrings = {
57 "aaa": [
"a",
"b",
"c"],
58 "bbb": [
"a",
"b",
"c"],
59 "ccc": [
"a",
"b",
"c"],
63xProps.MapStringVectorOfDoubles = {
65 "bbb": [1.0, 2.0, 3.0],
66 "ccc": [0.1, 0.2, 0.3],
70xProps.MapStringVectorOfInts = {
"aaa": [1, 2, 3],
"bbb": [4, 5, 6],
"ccc": [7, 8, 9]}
73xProps.MapIntInt = {1: 10, 2: 20, 3: 30}
76xProps.VectorOfPairsII = [(1, 1), (2, 1), (3, 2), (4, 3), (5, 5)]
79xProps.MapIntString = {0:
"zero", 2:
"two", -1:
"minus one"}
82xProps.MapUIntString = {0:
"UZero", 2:
"UTwo", 1:
"UOne"}
85xProps.EmptyVector = []
87xProps.TupleStringIntDouble = (
"hello", 10, 0.001)
88xProps.TupleString = (
"hello",)
90xProps.SetOfInt = {1, 2}
91xProps.SetOfString = {
"a",
"b"}
93xProps.StdArrayDouble3 = (3.3, 2.2, 1.1)
94xProps.StdArrayInt1 = (42,)
96xProps.GaudiMapSS = {
"a":
"1",
"b":
"2"}
99xProps.ExtraInputs = set()
100xProps.ExtraOutputs = {
"a", (
"a",
"b"), (1,
"a")}
102xProps.PTupleVector = [(
"one",
"two",
"three"), (
"a",
"b",
"c")]
103xProps.PIntVectorTuple = (42, [
"one",
"two",
"three"])
104xProps.PTupleSet = [(
"one",
"two",
"three"), (
"a",
"b",
"c")]
105xProps.PIntSetTuple = (42, [
"one",
"two",
"three"])
106xProps.PTupleUnSet = {(
"one",
"two",
"three"), (
"a",
"b",
"c")}
107xProps.PIntUnSetTuple = (42, {
"one",
"two",
"three"})
112 TopAlg=[xProps], EvtMax=1, EvtSel=
"NONE", HistogramPersistency=
"NONE"
The Application Manager class.
simple DEMO-file for "extended properties", implementation file for class ExtendedProperties