9 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
10 from AthenaConfiguration.ComponentFactory
import CompFactory
11 from AthenaConfiguration.Enums
import LHCPeriod
17 """Configure the muon selection tool"""
19 kwargs.setdefault(
"IsRun3Geo", flags.GeoModel.Run >= LHCPeriod.Run3 )
20 kwargs.setdefault(
"DisablePtCuts",
True)
21 kwargs.setdefault(
"TurnOffMomCorr",
True)
22 the_tool = CompFactory.CP.MuonSelectionTool(name, **kwargs)
23 acc.setPrivateTools(the_tool)