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
13 
14 def MsTrackingVolumeBuilderCfg(flags, name = "MSTrackingVolumeBuilder", **kwargs):
15  result = ComponentAccumulator()
16  from MuonGeoModelR4.MuonGeoModelConfig import MuonGeoModelCfg
17  result.merge(MuonGeoModelCfg(flags))
18  the_tool = CompFactory.ActsTrk.MSTrackingVolumeBuilder(name, **kwargs)
19  result.setPrivateTools(the_tool)
20  return result
21 
22 def MuonBlueprintNodeBuilderCfg(flags, name = "MuonBlueprintNodeBuilder", **kwargs):
23  result = ComponentAccumulator()
24  from MuonGeoModelR4.MuonGeoModelConfig import MuonGeoModelCfg
25  result.merge(MuonGeoModelCfg(flags))
26  the_tool = CompFactory.ActsTrk.MuonBlueprintNodeBuilder(name, **kwargs)
27  result.setPrivateTools(the_tool)
28  return result
29 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ActsMuonDetectorCfg.MuonDetectorBuilderToolCfg
def MuonDetectorBuilderToolCfg(flags, name="MuonDetectorBuilderTool", **kwargs)
Definition: ActsMuonDetectorCfg.py:5
ActsMuonDetectorCfg.MuonBlueprintNodeBuilderCfg
def MuonBlueprintNodeBuilderCfg(flags, name="MuonBlueprintNodeBuilder", **kwargs)
Definition: ActsMuonDetectorCfg.py:22
MuonGeometryConfig.MuonGeoModelCfg
def MuonGeoModelCfg(flags)
Definition: MuonGeometryConfig.py:28
ActsMuonDetectorCfg.MsTrackingVolumeBuilderCfg
def MsTrackingVolumeBuilderCfg(flags, name="MSTrackingVolumeBuilder", **kwargs)
Definition: ActsMuonDetectorCfg.py:14