9 """Populate flags with the default settings for online running"""
11 from AthenaConfiguration.Enums
import Format
12 flags.Common.isOnline =
True
13 flags.Input.Files = []
14 flags.Input.isMC =
False
15 flags.Input.Format = Format.BS
16 flags.Trigger.doHLT =
True
17 flags.Trigger.Online.isPartition =
True
18 flags.Trigger.EDMVersion = 3
19 flags.Trigger.writeBS =
True
20 flags.Scheduler.CheckDependencies =
True
21 flags.Scheduler.ShowDataDeps =
True
22 flags.Scheduler.ShowControlFlow =
True
23 flags.Scheduler.ShowDataFlow =
True
24 flags.Scheduler.EnableVerboseViews =
True
25 flags.Scheduler.AutoLoadUnmetDependencies =
False
26 flags.Input.FailOnUnknownCollections =
True
31 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
32 from AthenaConfiguration.ComponentFactory
import CompFactory
35 cfg = ComponentAccumulator()
36 cfg.addService(CompFactory.ClassIDSvc(CLIDDBFiles = [
'clid.db',
'Gaudi_clid.db']))
38 cfg.addService(CompFactory.AlgContextSvc(BypassIncidents=
True))
39 cfg.addAuditor(CompFactory.AlgContextAuditor())
41 cfg.addService(CompFactory.StoreGateSvc())
42 cfg.addService(CompFactory.StoreGateSvc(
"DetectorStore"))
43 cfg.addService(CompFactory.StoreGateSvc(
"HistoryStore"))
44 cfg.addService(CompFactory.StoreGateSvc(
"ConditionStore"))
46 cfg.addService( CompFactory.SG.HiveMgrSvc(
48 NSlots = flags.Concurrency.NumConcurrentEvents) )
50 cfg.addService( CompFactory.AlgResourcePool(
52 TopAlg=[
"AthSequencer/AthMasterSeq"]) )
54 from AthenaConfiguration.MainServicesConfig
import AvalancheSchedulerSvcCfg
55 cfg.merge( AvalancheSchedulerSvcCfg(flags, maxParallelismExtra=1) )
58 cfg.addAuditor( CompFactory.SGCommitAuditor() )
61 cfg.addService( CompFactory.CoreDumpSvc(
62 CoreDumpStream =
"stdout",
63 CallOldHandler =
False,
64 FastStackTrace =
True,
73 cfg.addService( CompFactory.IOVSvc(
74 updateInterval =
"RUN",
76 preLoadExtensibleFolders =
False,
77 forceResetAtBeginRun =
False) )
80 if flags.PerfMon.doFastMonMT
or flags.PerfMon.doFullMonMT:
81 from PerfMonComps.PerfMonCompsConfig
import PerfMonMTSvcCfg
82 cfg.merge( PerfMonMTSvcCfg(flags) )
84 from TrigServices.TrigServicesConfig
import TrigServicesCfg
85 cfg.merge( TrigServicesCfg(flags) )
88 cfg.setAppProperty(
'AuditAlgorithms',
True)
89 cfg.setAppProperty(
'InitializationLoopCheck',
False)