Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
TrackFindingConfig Namespace Reference

Functions

def SegmentSelectorCfg (flags, name="SegmentSelectionTool", **kwargs)
 
def MSTrackFinderAlgCfg (flags, name="MSTrackFinderAlg", **kwargs)
 

Function Documentation

◆ MSTrackFinderAlgCfg()

def TrackFindingConfig.MSTrackFinderAlgCfg (   flags,
  name = "MSTrackFinderAlg",
**  kwargs 
)

Definition at line 12 of file TrackFindingConfig.py.

12 def MSTrackFinderAlgCfg(flags, name="MSTrackFinderAlg", **kwargs):
13  result = ComponentAccumulator()
14  from MagFieldServices.MagFieldServicesConfig import AtlasFieldCacheCondAlgCfg
15  result.merge(AtlasFieldCacheCondAlgCfg(flags))
16  segmentKeys = []
17  if flags.Detector.GeometryMDT or flags.Detector.GeometryRPC or flags.Detector.GeometryTGC:
18  segmentKeys+=["MuonSegmentsFromR4"]
19  if flags.Detector.GeometryMM or flags.Detector.GeometrysTGC:
20  segmentKeys+=[]
21 
22  kwargs.setdefault("SegmentContainer", segmentKeys)
23  kwargs.setdefault("SegmentSelectionTool", result.popToolsAndMerge(SegmentSelectorCfg(flags)))
24  the_alg = CompFactory.MuonR4.MSTrackFindingAlg(name, **kwargs)
25  result.addEventAlgo(the_alg, primary = True)
26  return result

◆ SegmentSelectorCfg()

def TrackFindingConfig.SegmentSelectorCfg (   flags,
  name = "SegmentSelectionTool",
**  kwargs 
)

Definition at line 6 of file TrackFindingConfig.py.

6 def SegmentSelectorCfg(flags, name="SegmentSelectionTool", **kwargs):
7  result = ComponentAccumulator()
8  the_tool = CompFactory.MuonR4.SegmentSelectionTool(name, **kwargs)
9  result.setPrivateTools(the_tool)
10  return result
11 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
TrackFindingConfig.MSTrackFinderAlgCfg
def MSTrackFinderAlgCfg(flags, name="MSTrackFinderAlg", **kwargs)
Definition: TrackFindingConfig.py:12
TrackFindingConfig.SegmentSelectorCfg
def SegmentSelectorCfg(flags, name="SegmentSelectionTool", **kwargs)
Definition: TrackFindingConfig.py:6
python.MagFieldServicesConfig.AtlasFieldCacheCondAlgCfg
def AtlasFieldCacheCondAlgCfg(flags, **kwargs)
Definition: MagFieldServicesConfig.py:8