9 from AthenaCommon.AppMgr
import theApp
10 from AthenaCommon.AppMgr
import ServiceMgr
as svcMgr
11 from AthenaCommon
import Constants
13 from AthenaCommon.ConcurrencyFlags
import jobproperties
as jps
15 if (jps.ConcurrencyFlags.NumProcs() == 0) :
16 theApp.MessageSvcType =
"InertMessageSvc"
19 theApp.MessageSvcType =
"MessageSvc"
21 svcMgr.MessageSvc.Format =
"% F%50W%C%6W%R%e%s%8W%R%T %0W%M"
23 numStores = jps.ConcurrencyFlags.NumConcurrentEvents()
25 from StoreGate.StoreGateConf
import SG__HiveMgrSvc
26 svcMgr += SG__HiveMgrSvc(
"EventDataSvc")
27 svcMgr.EventDataSvc.NSlots = numStores
30 from GaudiHive.GaudiHiveConf
import AlgResourcePool
31 arp=AlgResourcePool( OutputLevel = Constants.INFO )
32 arp.TopAlg=[
"AthMasterSeq"]
35 from AthenaCommon.AlgScheduler
import AlgScheduler
36 AlgScheduler.ShowDataDependencies(
False)
37 AlgScheduler.ShowControlFlow(
False)
39 from AthenaCommon.AlgSequence
import AlgSequence
41 from SGComps.SGCompsConf
import SGInputLoader
45 topSequence += SGInputLoader (FailIfNoProxy =
False)
46 AlgScheduler.setDataLoaderAlg (
'SGInputLoader' )
48 if (theApp._opts.mtes
or jps.ConcurrencyFlags.NumProcs()>0):
50 from AthenaServices.AthenaServicesConf
import AthenaMtesEventLoopMgr
53 svcMgr.AthenaMtesEventLoopMgr.WhiteboardSvc =
"EventDataSvc"
54 svcMgr.AthenaMtesEventLoopMgr.SchedulerSvc = AlgScheduler.getScheduler().
getName()
57 svcMgr.AthenaMtesEventLoopMgr.EventRangeChannel = theApp._opts.mtes_channel
58 theApp.EventLoop =
"AthenaMtesEventLoopMgr"
60 from AthenaServices.AthenaServicesConf
import AthenaHiveEventLoopMgr
63 svcMgr.AthenaHiveEventLoopMgr.WhiteboardSvc =
"EventDataSvc"
64 svcMgr.AthenaHiveEventLoopMgr.SchedulerSvc = AlgScheduler.getScheduler().
getName()
66 theApp.EventLoop =
"AthenaHiveEventLoopMgr"
72 theAuditorSvc = svcMgr.AuditorSvc
73 theApp.AuditAlgorithms=
True
74 from SGComps.SGCompsConf
import SGCommitAuditor
82 del _setupAtlasThreadedJob