ATLAS Offline Software
Functions
python.TRT_SegmentsToTrackToolConfig Namespace Reference

Functions

def TRT_Standalone_SegmentToTrackToolCfg (flags, name='InDetTRT_Standalone_SegmentToTrackTool', **kwargs)
 
def TRT_TrackSegment_SegmentToTrackToolCfg (flags, name='InDetTRT_TrackSegment_SegmentToTrackTool', **kwargs)
 

Function Documentation

◆ TRT_Standalone_SegmentToTrackToolCfg()

def python.TRT_SegmentsToTrackToolConfig.TRT_Standalone_SegmentToTrackToolCfg (   flags,
  name = 'InDetTRT_Standalone_SegmentToTrackTool',
**  kwargs 
)

Definition at line 6 of file TRT_SegmentsToTrackToolConfig.py.

7  flags, name ='InDetTRT_Standalone_SegmentToTrackTool', **kwargs):
8  from MagFieldServices.MagFieldServicesConfig import (
9  AtlasFieldCacheCondAlgCfg)
10  acc = AtlasFieldCacheCondAlgCfg(flags)
11 
12  if "AssociationTool" not in kwargs:
13  if flags.Tracking.ActiveConfig.usePrdAssociationTool:
14  from InDetConfig.InDetAssociationToolsConfig import (
15  InDetPRDtoTrackMapToolGangedPixelsCfg)
16  asso_tool = acc.popToolsAndMerge(
18  else:
19  asso_tool = None
20  kwargs.setdefault("AssociationTool", asso_tool)
21 
22  if "RefitterTool" not in kwargs:
23  from TrkConfig.CommonTrackFitterConfig import InDetTrackFitterTRTCfg
24  kwargs.setdefault("RefitterTool", acc.popToolsAndMerge(
25  InDetTrackFitterTRTCfg(flags)))
26 
27  if "TrackSummaryTool" not in kwargs:
28  from TrkConfig.TrkTrackSummaryToolConfig import InDetTrackSummaryToolCfg
29  kwargs.setdefault("TrackSummaryTool", acc.popToolsAndMerge(
31 
32  if "Extrapolator" not in kwargs:
33  from TrkConfig.AtlasExtrapolatorConfig import InDetExtrapolatorCfg
34  kwargs.setdefault("Extrapolator", acc.popToolsAndMerge(
35  InDetExtrapolatorCfg(flags)))
36 
37  if "ScoringTool" not in kwargs:
38  from InDetConfig.InDetTrackScoringToolsConfig import (
39  InDetTRT_StandaloneScoringToolCfg)
40  kwargs.setdefault("ScoringTool", acc.popToolsAndMerge(
42 
43  kwargs.setdefault("FinalRefit", True)
44  kwargs.setdefault("MaxSharedHitsFraction", 0.7)
45  kwargs.setdefault("SuppressHoleSearch", True)
46 
47  acc.setPrivateTools(CompFactory.InDet.TRT_SegmentToTrackTool(name, **kwargs))
48  return acc
49 
50 

◆ TRT_TrackSegment_SegmentToTrackToolCfg()

def python.TRT_SegmentsToTrackToolConfig.TRT_TrackSegment_SegmentToTrackToolCfg (   flags,
  name = 'InDetTRT_TrackSegment_SegmentToTrackTool',
**  kwargs 
)

Definition at line 51 of file TRT_SegmentsToTrackToolConfig.py.

52  flags, name ='InDetTRT_TrackSegment_SegmentToTrackTool', **kwargs):
53  acc = ComponentAccumulator()
54 
55  if "ScoringTool" not in kwargs:
56  from InDetConfig.InDetTrackScoringToolsConfig import (
57  InDetTRT_TrackSegmentScoringToolCfg)
58  kwargs.setdefault("ScoringTool", acc.popToolsAndMerge(
60 
61  acc.setPrivateTools(acc.popToolsAndMerge(
62  TRT_Standalone_SegmentToTrackToolCfg(flags, name, **kwargs)))
63  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.InDetTrackScoringToolsConfig.InDetTRT_TrackSegmentScoringToolCfg
def InDetTRT_TrackSegmentScoringToolCfg(flags, name='InDetTRT_TrackSegmentScoringTool', **kwargs)
Definition: InDetTrackScoringToolsConfig.py:279
python.TrkTrackSummaryToolConfig.InDetTrackSummaryToolCfg
def InDetTrackSummaryToolCfg(flags, name='InDetTrackSummaryTool', **kwargs)
Definition: TrkTrackSummaryToolConfig.py:22
python.CommonTrackFitterConfig.InDetTrackFitterTRTCfg
def InDetTrackFitterTRTCfg(flags, name='InDetTrackFitterTRT', **kwargs)
Definition: CommonTrackFitterConfig.py:58
python.InDetAssociationToolsConfig.InDetPRDtoTrackMapToolGangedPixelsCfg
def InDetPRDtoTrackMapToolGangedPixelsCfg(flags, name='PRDtoTrackMapToolGangedPixels', **kwargs)
Definition: InDetAssociationToolsConfig.py:29
python.InDetTrackScoringToolsConfig.InDetTRT_StandaloneScoringToolCfg
def InDetTRT_StandaloneScoringToolCfg(flags, name='InDetTRT_StandaloneScoringTool', **kwargs)
Definition: InDetTrackScoringToolsConfig.py:240
python.TRT_SegmentsToTrackToolConfig.TRT_Standalone_SegmentToTrackToolCfg
def TRT_Standalone_SegmentToTrackToolCfg(flags, name='InDetTRT_Standalone_SegmentToTrackTool', **kwargs)
Definition: TRT_SegmentsToTrackToolConfig.py:6
python.TRT_SegmentsToTrackToolConfig.TRT_TrackSegment_SegmentToTrackToolCfg
def TRT_TrackSegment_SegmentToTrackToolCfg(flags, name='InDetTRT_TrackSegment_SegmentToTrackTool', **kwargs)
Definition: TRT_SegmentsToTrackToolConfig.py:51
python.MagFieldServicesConfig.AtlasFieldCacheCondAlgCfg
def AtlasFieldCacheCondAlgCfg(flags, **kwargs)
Definition: MagFieldServicesConfig.py:8
python.AtlasExtrapolatorConfig.InDetExtrapolatorCfg
def InDetExtrapolatorCfg(flags, name='InDetExtrapolator', **kwargs)
Definition: AtlasExtrapolatorConfig.py:315