ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCorrectionsToolConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory import CompFactory
5
6def MuonCorrectionsToolCfg( name = 'MuonCorrectionsTool', **options):
7 """Sets up the CP MuonCorrection tool and returns it."""
8 acc = ComponentAccumulator()
9 options['name'] = name
10 acc.setPrivateTools(CompFactory.CP.MuonCalibrationAndSmearingTool( **options))
11
12 return acc
MuonCorrectionsToolCfg(name='MuonCorrectionsTool', **options)