ATLAS Offline Software
Loading...
Searching...
No Matches
python.MuonMatchingToolConfig Namespace Reference

Functions

 MuonMatchingToolConfig (flags)

Function Documentation

◆ MuonMatchingToolConfig()

python.MuonMatchingToolConfig.MuonMatchingToolConfig ( flags)

Definition at line 3 of file MuonMatchingToolConfig.py.

3def MuonMatchingToolConfig(flags):
4 from AthenaConfiguration.ComponentFactory import CompFactory
5
6 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
7 acc = ComponentAccumulator()
8
9 from TrigT1MuctpiPhase1.TrigT1MuctpiPhase1Config import TrigThresholdDecisionToolCfg
10
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)
16
17 return acc