3def MuonMatchingToolConfig(flags):
4 from AthenaConfiguration.ComponentFactory
import CompFactory
6 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
7 acc = ComponentAccumulator()
9 from TrigT1MuctpiPhase1.TrigT1MuctpiPhase1Config
import TrigThresholdDecisionToolCfg
11 matchTool = CompFactory.MuonMatchingTool(
"MuonMatchingTool")
12 matchTool.TrigThresholdDecisionTool = acc.popToolsAndMerge(TrigThresholdDecisionToolCfg(flags,
13 name=
"TrigThresholdDecisionTool",
14 AODinput = flags.Trigger.triggerConfig ==
'INFILE'))
15 acc.setPrivateTools(matchTool)