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.MapIntDouble = {1: 0.1, 2: 0.2, 3: 0.3}
40xProps.MapStringString = {
41 "a":
"sddsgsgsdgdggf",
42 "b":
"sddsgsgsdgdggf",
43 "c":
"sddsgsgsdgdggf",
47xProps.MapStringInt = {
"a": 1,
"b": 2,
"c": 3}
50xProps.MapStringDouble = {
"aa": 0.1,
"bb": 0.2,
"cc": 3}
53xProps.MapStringVectorOfStrings = {
54 "aaa": [
"a",
"b",
"c"],
55 "bbb": [
"a",
"b",
"c"],
56 "ccc": [
"a",
"b",
"c"],
60xProps.MapStringVectorOfDoubles = {
62 "bbb": [1.0, 2.0, 3.0],
63 "ccc": [0.1, 0.2, 0.3],
67xProps.MapStringVectorOfInts = {
"aaa": [1, 2, 3],
"bbb": [4, 5, 6],
"ccc": [7, 8, 9]}
70xProps.MapIntInt = {1: 10, 2: 20, 3: 30}
73xProps.VectorOfPairsII = [(1, 1), (2, 1), (3, 2), (4, 3), (5, 5)]
76xProps.MapIntString = {0:
"zero", 2:
"two", -1:
"minus one"}
79xProps.MapUIntString = {0:
"UZero", 2:
"UTwo", 1:
"UOne"}
82xProps.EmptyVector = []
84xProps.TupleStringIntDouble = (
"hello", 10, 0.001)
85xProps.TupleString = (
"hello",)
87xProps.SetOfInt = {1, 2}
88xProps.SetOfString = {
"a",
"b"}
90xProps.StdArrayDouble3 = (3.3, 2.2, 1.1)
91xProps.StdArrayInt1 = (42,)
93xProps.GaudiMapSS = {
"a":
"1",
"b":
"2"}
96xProps.ExtraInputs = set()
97xProps.ExtraOutputs = {
"a", (
"a",
"b"), (1,
"a")}
99xProps.PTupleVector = [(
"one",
"two",
"three"), (
"a",
"b",
"c")]
100xProps.PIntVectorTuple = (42, [
"one",
"two",
"three"])
101xProps.PTupleSet = [(
"one",
"two",
"three"), (
"a",
"b",
"c")]
102xProps.PIntSetTuple = (42, [
"one",
"two",
"three"])
103xProps.PTupleUnSet = {(
"one",
"two",
"three"), (
"a",
"b",
"c")}
104xProps.PIntUnSetTuple = (42, {
"one",
"two",
"three"})
109 TopAlg=[xProps], EvtMax=1, EvtSel=
"NONE", HistogramPersistency=
"NONE"
The Application Manager class.
simple DEMO-file for "extended properties", implementation file for class ExtendedProperties