2import AthenaCommon.AtlasUnixStandardJob
6from AthenaCommon.AlgSequence
import AlgSequence, AthSequencer
9from AthenaPython.tests.PyTestsLib
import MyAlg, MySvc, MyTool, MyNameAud
10job += MyAlg(
"alg1", eta = 2.5 )
13job += MyAlg( name=
"alg2", eta = 5.1, pt = 20.*Units.GeV )
14job += MyAlg(
"alg3", eta = 5.1, pt = 20.*Units.GeV )
15job.alg3 += MyTool(
"mytool", counter = 50, parent=
"alg3" )
17job += MyAlg( eta = 5.2,
19 mytool = MyTool(
"mytool", counter = 30,
21 OutputLevel = Lvl.VERBOSE ),
24from AthenaCommon.AppMgr
import ServiceMgr
as svcMgr
27from AthenaCommon.AppMgr
import theApp
30theApp.CreateSvc += [ svcMgr.MySvc.getFullName() ]
31theApp.AuditAlgorithms =
True
32theApp.AuditServices =
True
33theApp.AuditTools =
True
34svcMgr.AuditorSvc += MyNameAud(name=
"MyNameAuditor", OutputLevel = Lvl.VERBOSE)
38job.MySeq += MyAlg(
"seqalg1", filterPassed=
True )
39job.MySeq += MyAlg(
"seqalg2", filterPassed=
False )
40job.MySeq += MyAlg(
"seqalg3", filterPassed=
True )
45job.MultSeq.SubSeq1 += MyAlg(
"sub1alg1")
46job.MultSeq.SubSeq1 += MyAlg(
"sub1alg2",filterPassed=
False)
47job.MultSeq.SubSeq1 += MyAlg(
"sub1alg3")
50job.MultSeq.SubSeq2 += MyAlg(
"sub2alg1")
51job.MultSeq.SubSeq2 += MyAlg(
"sub2alg2")
52job.MultSeq.SubSeq2 += MyAlg(
"sub2alg3")