20 from AthenaCommon.AlgScheduler
import AlgScheduler
21 AlgScheduler.ShowControlFlow(
True )
22 AlgScheduler.ShowDataDependencies(
True )
23 AlgScheduler.EnableVerboseViews(
True )
26 from AthenaCommon.AlgSequence
import AthSequencer
29 view_1.Sequential =
False
30 view_1.StopOverride =
False
33 view_2.Sequential =
False
34 view_2.StopOverride =
False
36 viewSequence.ModeOR =
False
37 viewSequence.Sequential =
True
38 viewSequence.StopOverride =
False
41 from AthenaCommon.AlgSequence
import AlgSequence
45 view_make_1 = CfgMgr.AthViews__ViewSubgraphAlg(
"view_make_1")
46 view_make_1.ViewBaseName =
"view_1"
47 view_make_1.ViewStart =
"view_data_1"
48 view_make_1.ViewNumber = totalViews
49 view_make_1.AllViews =
"view_collection_1"
50 view_make_1.ViewNodeName = view_1.name()
51 view_make_1.Scheduler = AlgScheduler.getScheduler()
52 viewSequence += view_make_1
55 view_verify_1 = CfgMgr.AthViews__ViewDataVerifier(
"view_verify_1")
56 view_verify_1.DataObjects = { (
'int',
'view_data_1') }
57 view_1 += view_verify_1
60 viewSequence += view_1
63 view_make_2 = CfgMgr.AthViews__ViewSubgraphAlg(
"view_make_2")
64 view_make_2.ViewBaseName =
"view_2"
65 view_make_2.ViewStart =
"view_data_2"
66 view_make_2.ViewNumber = totalViews
67 view_make_2.AllViews =
"view_collection_2"
68 view_make_2.ParentViews =
"view_collection_1"
69 view_make_2.ViewNodeName = view_2.name()
70 view_make_2.Scheduler = AlgScheduler.getScheduler()
71 viewSequence += view_make_2
74 view_verify_2 = CfgMgr.AthViews__ViewDataVerifier(
"view_verify_2")
75 view_verify_2.DataObjects = { (
'int',
'view_data_1'), (
'int',
'view_data_2') }
76 view_test = CfgMgr.AthViews__ViewTestAlg(
"view_test")
77 view_2 += view_verify_2
81 viewSequence += view_2