ATLAS Offline Software
Functions
python.TRT_TrackExtensionToolConfig Namespace Reference

Functions

def TRT_TrackExtensionToolCosmicsCfg (flags, name='TRT_TrackExtensionToolCosmics', **kwargs)
 
def TRT_TrackExtensionToolPhaseCfg (flags, name='TRT_TrackExtensionToolPhase', **kwargs)
 
def TRT_TrackExtensionTool_xk_BaseCfg (flags, name='TRT_TrackExtensionTool_xk', **kwargs)
 
def TRT_TrackExtensionTool_xkCfg (flags, name='TRT_TrackExtensionTool_xk', **kwargs)
 
def Trig_TRT_TrackExtensionToolCfg (flags, name='Trig_TRT_TrackExtensionTool', **kwargs)
 
def TRT_TrackExtensionToolCfg (flags, name='TRT_TrackExtensionTool', **kwargs)
 

Function Documentation

◆ Trig_TRT_TrackExtensionToolCfg()

def python.TRT_TrackExtensionToolConfig.Trig_TRT_TrackExtensionToolCfg (   flags,
  name = 'Trig_TRT_TrackExtensionTool',
**  kwargs 
)

Definition at line 117 of file TRT_TrackExtensionToolConfig.py.

118  flags, name='Trig_TRT_TrackExtensionTool', **kwargs):
119  acc = ComponentAccumulator()
120 
121  if 'DriftCircleCutTool' not in kwargs:
122  from InDetConfig.InDetTrackSelectorToolConfig import (
123  InDetTrigTRTDriftCircleCutToolCfg)
124  kwargs.setdefault("DriftCircleCutTool", acc.popToolsAndMerge(
126 
127  if 'RoadTool' not in kwargs:
128  from InDetConfig.TRT_DetElementsRoadToolConfig import Trig_TRT_DetElementsRoadMaker_xk_TRTExtensionCfg
129  kwargs.setdefault("RoadTool", acc.popToolsAndMerge(
131 
132  kwargs.setdefault("TRT_ClustersContainer", "TRT_TrigDriftCircles")
133  kwargs.setdefault("RoadWidth", 20.)
134  kwargs.setdefault("ScaleHitUncertainty", 2.)
135  kwargs.setdefault("MinNumberDriftCircles", flags.Tracking.ActiveConfig.minTRTonTrk)
136 
137  acc.setPrivateTools(acc.popToolsAndMerge(
138  TRT_TrackExtensionTool_xk_BaseCfg(flags, name, **kwargs)))
139  return acc
140 
141 

◆ TRT_TrackExtensionTool_xk_BaseCfg()

def python.TRT_TrackExtensionToolConfig.TRT_TrackExtensionTool_xk_BaseCfg (   flags,
  name = 'TRT_TrackExtensionTool_xk',
**  kwargs 
)

Definition at line 41 of file TRT_TrackExtensionToolConfig.py.

42  flags, name='TRT_TrackExtensionTool_xk', **kwargs):
43  from MagFieldServices.MagFieldServicesConfig import (
44  AtlasFieldCacheCondAlgCfg)
45  acc = AtlasFieldCacheCondAlgCfg(flags)
46 
47  if 'PropagatorTool' not in kwargs:
48  from TrkConfig.TrkExRungeKuttaPropagatorConfig import (
49  RungeKuttaPropagatorCfg)
50  InDetPatternPropagator = acc.popToolsAndMerge(
51  RungeKuttaPropagatorCfg(flags, name="InDetPatternPropagator"))
52  acc.addPublicTool(InDetPatternPropagator)
53  kwargs.setdefault("PropagatorTool", InDetPatternPropagator)
54 
55  if 'UpdatorTool' not in kwargs:
56  from TrkConfig.TrkMeasurementUpdatorConfig import KalmanUpdator_xkCfg
57  InDetPatternUpdator = acc.popToolsAndMerge(
58  KalmanUpdator_xkCfg(flags, name="InDetPatternUpdator"))
59  acc.addPublicTool(InDetPatternUpdator)
60  kwargs.setdefault("UpdatorTool", InDetPatternUpdator)
61 
62  if 'RoadTool' not in kwargs:
63  from InDetConfig.TRT_DetElementsRoadToolConfig import (
64  TRT_DetElementsRoadMaker_xk_TRTExtensionCfg)
65  kwargs.setdefault("RoadTool", acc.popToolsAndMerge(
67 
68  kwargs.setdefault("TRT_ClustersContainer", "TRT_DriftCircles")
69  kwargs.setdefault("MinNumberDriftCircles",
70  flags.Tracking.ActiveConfig.minTRTonTrk)
71  kwargs.setdefault("ScaleHitUncertainty", 2)
72  kwargs.setdefault("RoadWidth", 20.)
73  kwargs.setdefault("UseParameterization", flags.Tracking.useNewParamTRT)
74 
75  acc.setPrivateTools(
76  CompFactory.InDet.TRT_TrackExtensionTool_xk(name, **kwargs))
77  return acc
78 
79 

◆ TRT_TrackExtensionTool_xkCfg()

def python.TRT_TrackExtensionToolConfig.TRT_TrackExtensionTool_xkCfg (   flags,
  name = 'TRT_TrackExtensionTool_xk',
**  kwargs 
)

Definition at line 80 of file TRT_TrackExtensionToolConfig.py.

81  flags, name='TRT_TrackExtensionTool_xk', **kwargs):
82  acc = ComponentAccumulator()
83 
84  if 'DriftCircleCutTool' not in kwargs:
85  from InDetConfig.InDetTrackSelectorToolConfig import (
86  InDetTRTDriftCircleCutToolCfg)
87  kwargs.setdefault("DriftCircleCutTool", acc.popToolsAndMerge(
89 
90  if 'RIOonTrackToolYesDr' not in kwargs:
91  from InDetConfig.TRT_DriftCircleOnTrackToolConfig import (
92  TRT_DriftCircleOnTrackToolCfg)
93  kwargs.setdefault("RIOonTrackToolYesDr", acc.popToolsAndMerge(
95 
96  if 'RIOonTrackToolNoDr' not in kwargs:
97  from InDetConfig.TRT_DriftCircleOnTrackToolConfig import (
98  TRT_DriftCircleOnTrackNoDriftTimeToolCfg)
99  kwargs.setdefault("RIOonTrackToolNoDr", acc.popToolsAndMerge(
101 
102  kwargs.setdefault("UseDriftRadius", not flags.InDet.noTRTTiming)
103  kwargs.setdefault("maxImpactParameter",
104  # single beam running, open cuts
105  500 if flags.Tracking.doBeamGas
106  else 50)
107 
108  if flags.Tracking.BackTracking.doRoISeeded:
109  kwargs.setdefault("minTRTSegmentpT",
110  flags.Tracking.BackTracking.minPt)
111 
112  acc.setPrivateTools(acc.popToolsAndMerge(
113  TRT_TrackExtensionTool_xk_BaseCfg(flags, name, **kwargs)))
114  return acc
115 
116 

◆ TRT_TrackExtensionToolCfg()

def python.TRT_TrackExtensionToolConfig.TRT_TrackExtensionToolCfg (   flags,
  name = 'TRT_TrackExtensionTool',
**  kwargs 
)

Definition at line 142 of file TRT_TrackExtensionToolConfig.py.

142 def TRT_TrackExtensionToolCfg(flags, name='TRT_TrackExtensionTool', **kwargs):
143  if flags.Beam.Type is BeamType.Cosmics:
144  return TRT_TrackExtensionToolCosmicsCfg(flags, name, **kwargs)
145  else:
146  return TRT_TrackExtensionTool_xkCfg(flags, name, **kwargs)

◆ TRT_TrackExtensionToolCosmicsCfg()

def python.TRT_TrackExtensionToolConfig.TRT_TrackExtensionToolCosmicsCfg (   flags,
  name = 'TRT_TrackExtensionToolCosmics',
**  kwargs 
)

Definition at line 8 of file TRT_TrackExtensionToolConfig.py.

9  flags, name='TRT_TrackExtensionToolCosmics', **kwargs):
10  acc = ComponentAccumulator()
11 
12  if 'Extrapolator' not in kwargs:
13  from TrkConfig.AtlasExtrapolatorConfig import InDetExtrapolatorCfg
14  kwargs.setdefault("Extrapolator", acc.popToolsAndMerge(
15  InDetExtrapolatorCfg(flags)))
16 
17  if 'RIOonTrackToolNoDr' not in kwargs:
18  from InDetConfig.TRT_DriftCircleOnTrackToolConfig import (
19  TRT_DriftCircleOnTrackNoDriftTimeToolCfg)
20  kwargs.setdefault("RIOonTrackToolNoDr", acc.popToolsAndMerge(
22 
23  kwargs.setdefault("TRT_ClustersContainer", 'TRT_DriftCircles')
24  kwargs.setdefault("SearchNeighbour", False) # needs debugging!!!
25  kwargs.setdefault("RoadWidth", 10.0)
26  acc.setPrivateTools(
27  CompFactory.InDet.TRT_TrackExtensionToolCosmics(name, **kwargs))
28  return acc
29 
30 

◆ TRT_TrackExtensionToolPhaseCfg()

def python.TRT_TrackExtensionToolConfig.TRT_TrackExtensionToolPhaseCfg (   flags,
  name = 'TRT_TrackExtensionToolPhase',
**  kwargs 
)

Definition at line 31 of file TRT_TrackExtensionToolConfig.py.

32  flags, name='TRT_TrackExtensionToolPhase', **kwargs):
33  acc = ComponentAccumulator()
34  kwargs.setdefault("TRT_ClustersContainer", 'TRT_DriftCirclesUncalibrated')
35  kwargs.setdefault("RoadWidth", 20.0)
36  acc.setPrivateTools(acc.popToolsAndMerge(
37  TRT_TrackExtensionToolCosmicsCfg(flags, name, **kwargs)))
38  return acc
39 
40 
python.TRT_TrackExtensionToolConfig.TRT_TrackExtensionToolPhaseCfg
def TRT_TrackExtensionToolPhaseCfg(flags, name='TRT_TrackExtensionToolPhase', **kwargs)
Definition: TRT_TrackExtensionToolConfig.py:31
python.TRT_DriftCircleOnTrackToolConfig.TRT_DriftCircleOnTrackToolCfg
def TRT_DriftCircleOnTrackToolCfg(flags, name='TRT_DriftCircleOnTrackTool', **kwargs)
Definition: TRT_DriftCircleOnTrackToolConfig.py:12
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TrkMeasurementUpdatorConfig.KalmanUpdator_xkCfg
def KalmanUpdator_xkCfg(flags, name='KalmanUpdator_xk', **kwargs)
Definition: TrkMeasurementUpdatorConfig.py:14
python.InDetTrackSelectorToolConfig.InDetTRTDriftCircleCutToolCfg
def InDetTRTDriftCircleCutToolCfg(flags, name='InDetTRTDriftCircleCutTool', **kwargs)
Definition: InDetTrackSelectorToolConfig.py:249
python.TrkExRungeKuttaPropagatorConfig.RungeKuttaPropagatorCfg
def RungeKuttaPropagatorCfg(flags, name='AtlasRungeKuttaPropagator', **kwargs)
Definition: TrkExRungeKuttaPropagatorConfig.py:9
python.TRT_TrackExtensionToolConfig.Trig_TRT_TrackExtensionToolCfg
def Trig_TRT_TrackExtensionToolCfg(flags, name='Trig_TRT_TrackExtensionTool', **kwargs)
Definition: TRT_TrackExtensionToolConfig.py:117
python.TRT_DetElementsRoadToolConfig.TRT_DetElementsRoadMaker_xk_TRTExtensionCfg
def TRT_DetElementsRoadMaker_xk_TRTExtensionCfg(flags, name='TRT_DetElementsRoadMaker_TRTExtension', **kwargs)
Definition: TRT_DetElementsRoadToolConfig.py:29
python.TRT_DetElementsRoadToolConfig.Trig_TRT_DetElementsRoadMaker_xk_TRTExtensionCfg
def Trig_TRT_DetElementsRoadMaker_xk_TRTExtensionCfg(flags, name='TRT_DetElementsRoadMaker_TRTExtension', **kwargs)
Definition: TRT_DetElementsRoadToolConfig.py:33
python.TRT_DriftCircleOnTrackToolConfig.TRT_DriftCircleOnTrackNoDriftTimeToolCfg
def TRT_DriftCircleOnTrackNoDriftTimeToolCfg(flags, name='TRT_DriftCircleOnTrackNoDriftTimeTool', **kwargs)
Definition: TRT_DriftCircleOnTrackToolConfig.py:7
python.TRT_TrackExtensionToolConfig.TRT_TrackExtensionToolCfg
def TRT_TrackExtensionToolCfg(flags, name='TRT_TrackExtensionTool', **kwargs)
Definition: TRT_TrackExtensionToolConfig.py:142
python.TRT_TrackExtensionToolConfig.TRT_TrackExtensionToolCosmicsCfg
def TRT_TrackExtensionToolCosmicsCfg(flags, name='TRT_TrackExtensionToolCosmics', **kwargs)
Definition: TRT_TrackExtensionToolConfig.py:8
python.MagFieldServicesConfig.AtlasFieldCacheCondAlgCfg
def AtlasFieldCacheCondAlgCfg(flags, **kwargs)
Definition: MagFieldServicesConfig.py:8
python.AtlasExtrapolatorConfig.InDetExtrapolatorCfg
def InDetExtrapolatorCfg(flags, name='InDetExtrapolator', **kwargs)
Definition: AtlasExtrapolatorConfig.py:315
python.InDetTrackSelectorToolConfig.InDetTrigTRTDriftCircleCutToolCfg
def InDetTrigTRTDriftCircleCutToolCfg(flags, name='InDetTrigTRTDriftCircleCutTool', **kwargs)
Definition: InDetTrackSelectorToolConfig.py:258
python.TRT_TrackExtensionToolConfig.TRT_TrackExtensionTool_xk_BaseCfg
def TRT_TrackExtensionTool_xk_BaseCfg(flags, name='TRT_TrackExtensionTool_xk', **kwargs)
Definition: TRT_TrackExtensionToolConfig.py:41
python.TRT_TrackExtensionToolConfig.TRT_TrackExtensionTool_xkCfg
def TRT_TrackExtensionTool_xkCfg(flags, name='TRT_TrackExtensionTool_xk', **kwargs)
Definition: TRT_TrackExtensionToolConfig.py:80