ATLAS Offline Software
ActsMuonDetectorCfg.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
3 from AthenaConfiguration.ComponentFactory import CompFactory
4 
5 def MuonDetectorBuilderToolCfg(flags, name="MuonDetectorBuilderTool", **kwargs):
6  result = ComponentAccumulator()
7  kwargs.setdefault('dumpDetector', False)
8  kwargs.setdefault('dumpPassive', False)
9  kwargs.setdefault('dumpDetectorVolumes', False)
10  theTool = CompFactory.ActsTrk.MuonDetectorBuilderTool(name, **kwargs)
11  result.addPublicTool(theTool, primary = True)
12  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ActsMuonDetectorCfg.MuonDetectorBuilderToolCfg
def MuonDetectorBuilderToolCfg(flags, name="MuonDetectorBuilderTool", **kwargs)
Definition: ActsMuonDetectorCfg.py:5