ATLAS Offline Software
CalibrationConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def MuonSpacePointCalibratorCfg(flags,name="MuonSpacePointCalibrator", **kwargs):
7  result = ComponentAccumulator()
8  from MuonConfig.MuonCalibrationConfig import MdtCalibrationToolCfg
9  kwargs.setdefault("MdtCalibrationTool", result.popToolsAndMerge(MdtCalibrationToolCfg(flags)))
10  the_tool = CompFactory.MuonR4.SpacePointCalibrator(name, **kwargs)
11  result.setPrivateTools(the_tool)
12  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.MuonCalibrationConfig.MdtCalibrationToolCfg
def MdtCalibrationToolCfg(flags, name="MdtCalibrationTool", **kwargs)
Definition: MuonCalibrationConfig.py:82
CalibrationConfig.MuonSpacePointCalibratorCfg
def MuonSpacePointCalibratorCfg(flags, name="MuonSpacePointCalibrator", **kwargs)
Definition: CalibrationConfig.py:6