54 """Main function to configure the HLT in athena and athenaHLT"""
55 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
56 from AthenaCommon.Logging
import logging
58 log = logging.getLogger(
'runHLT')
62 loadFromSG = [(
'xAOD::EventInfo',
'StoreGateSvc+EventInfo'),
63 (
'TrigConf::L1Menu',
'DetectorStore+L1TriggerMenu'),
64 (
'TrigConf::HLTMenu',
'DetectorStore+HLTTriggerMenu')]
66 from SGComps.SGInputLoaderConfig
import SGInputLoaderCfg
69 from TriggerJobOpts.TriggerHistSvcConfig
import TriggerHistSvcConfig
73 from TriggerMenuMT.HLT.Config.GenerateMenuMT
import generateMenuMT
74 from TriggerJobOpts.TriggerConfig
import triggerRunCfg
78 from LumiBlockComps.LumiBlockMuWriterConfig
import LumiBlockMuWriterCfg
81 if flags.Trigger.doTransientByteStream
and flags.Trigger.doCalo:
82 from TriggerJobOpts.TriggerTransBSConfig
import triggerTransBSCfg_Calo
86 if flags.Trigger.doLVL1:
87 from TriggerJobOpts.Lvl1SimulationConfig
import Lvl1SimulationCfg
92 if flags.Overlay.doTrackOverlay:
93 from TrkEventCnvTools.TrkEventCnvToolsConfig
import TrkEventCnvSuperToolCfg
96 if flags.Common.isOnline:
97 from TrigOnlineMonitor.TrigOnlineMonitorConfig
import trigOpMonitorCfg
101 if log.getEffectiveLevel() <= logging.DEBUG:
102 cfg.printConfig(withDetails=
False, summariseProps=
True, printDefaults=
True)
106 cfg.addService(CompFactory.MessageSvc(setError=[
"HepMcParticleLink"]))
108 from AthenaConfiguration.AccumulatorCache
import AccumulatorDecorator
109 AccumulatorDecorator.printStats()