3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from AthenaConfiguration.Enums
import LHCPeriod
11 kwargs.setdefault(
"IsRun3Geo", flags.GeoModel.Run >= LHCPeriod.Run3 )
12 from MuonSelectorTools.MuonSelectorToolsConfig
import MuonSelectionToolCfg
16 the_tool = CompFactory.CP.MuonCalibTool(name, **kwargs)
17 acc.setPrivateTools(the_tool)
23 kwargs.setdefault(
"useRndRunNumber", flags.Input.isMC)
24 useRndNumber = kwargs[
"useRndRunNumber"]
if "useRndRunNumber" in kwargs
else False
26 calibMode = calibMode,
27 useRandomRunNumber=useRndNumber)))
29 the_alg = CompFactory.CP.CalibratedMuonsProvider(name,**kwargs)
30 acc.addEventAlgo(the_alg, primary =
True)
34 kwargs.setdefault(
"useRndRunNumber", flags.Input.isMC)
35 useRndNumber = kwargs[
"useRndRunNumber"]
if "useRndRunNumber" in kwargs
else False
37 calibMode = calibMode,
38 useRandomRunNumber=useRndNumber)))
40 the_alg = CompFactory.CP.CalibratedTracksProvider(name,**kwargs)
41 acc.addEventAlgo(the_alg, primary =
True)