ATLAS Offline Software
Functions
python.InDetTrackHoleSearchConfig Namespace Reference

Functions

def InDetTrackHoleSearchToolCfg (flags, name='InDetHoleSearchTool', **kwargs)
 
def TrigHoleSearchToolCfg (flags, name="InDetTrigHoleSearchTool", **kwargs)
 
def ITkTrackHoleSearchToolCfg (flags, name='ITkHoleSearchTool', **kwargs)
 
def CombinedMuonIDHoleSearchCfg (flags, name='CombinedMuonIDHoleSearch', **kwargs)
 

Function Documentation

◆ CombinedMuonIDHoleSearchCfg()

def python.InDetTrackHoleSearchConfig.CombinedMuonIDHoleSearchCfg (   flags,
  name = 'CombinedMuonIDHoleSearch',
**  kwargs 
)

Definition at line 77 of file InDetTrackHoleSearchConfig.py.

78  flags, name='CombinedMuonIDHoleSearch', **kwargs):
79  if flags.Detector.GeometryITk:
80  return ITkTrackHoleSearchToolCfg(flags, name, **kwargs)
81 
82  result = ComponentAccumulator()
83 
84  if 'Extrapolator' not in kwargs:
85  from TrkConfig.AtlasExtrapolatorConfig import AtlasExtrapolatorCfg
86  kwargs.setdefault("Extrapolator", result.popToolsAndMerge(
87  AtlasExtrapolatorCfg(flags)))
88 
89  if 'BoundaryCheckTool' not in kwargs:
90  if flags.Muon.MuonTrigger:
91  from InDetConfig.InDetBoundaryCheckToolConfig import (
92  CombinedMuonTrigIDBoundaryCheckToolCfg)
93  BoundaryCheckTool = result.popToolsAndMerge(
95  else:
96  from InDetConfig.InDetBoundaryCheckToolConfig import (
97  CombinedMuonIDBoundaryCheckToolCfg)
98  BoundaryCheckTool = result.popToolsAndMerge(
100 
101  kwargs.setdefault('BoundaryCheckTool', BoundaryCheckTool)
102 
103  result.setPrivateTools(result.popToolsAndMerge(
104  InDetTrackHoleSearchToolCfg(flags, name, **kwargs)))
105  return result

◆ InDetTrackHoleSearchToolCfg()

def python.InDetTrackHoleSearchConfig.InDetTrackHoleSearchToolCfg (   flags,
  name = 'InDetHoleSearchTool',
**  kwargs 
)

Definition at line 8 of file InDetTrackHoleSearchConfig.py.

8 def InDetTrackHoleSearchToolCfg(flags, name='InDetHoleSearchTool', **kwargs):
9  if flags.Detector.GeometryITk:
10  name = name.replace("InDet", "ITk")
11  return ITkTrackHoleSearchToolCfg(flags, name, **kwargs)
12 
13  result = ComponentAccumulator()
14  if 'Extrapolator' not in kwargs:
15  # TODO: Check if AtlasExtrapolatorCfg can be used instead
16  from TrkConfig.AtlasExtrapolatorConfig import InDetExtrapolatorCfg
17  kwargs.setdefault("Extrapolator", result.popToolsAndMerge(
18  InDetExtrapolatorCfg(flags)))
19 
20  if 'BoundaryCheckTool' not in kwargs:
21  from InDetConfig.InDetBoundaryCheckToolConfig import (
22  InDetBoundaryCheckToolCfg)
23  kwargs.setdefault('BoundaryCheckTool', result.popToolsAndMerge(
25 
26  kwargs.setdefault("Cosmics", flags.Beam.Type is BeamType.Cosmics)
27  kwargs.setdefault("CountDeadModulesAfterLastHit", True)
28 
29  result.setPrivateTools(
30  CompFactory.InDet.InDetTrackHoleSearchTool(name, **kwargs))
31  return result
32 
33 

◆ ITkTrackHoleSearchToolCfg()

def python.InDetTrackHoleSearchConfig.ITkTrackHoleSearchToolCfg (   flags,
  name = 'ITkHoleSearchTool',
**  kwargs 
)

Definition at line 56 of file InDetTrackHoleSearchConfig.py.

56 def ITkTrackHoleSearchToolCfg(flags, name='ITkHoleSearchTool', **kwargs):
57  result = ComponentAccumulator()
58  if 'Extrapolator' not in kwargs:
59  from TrkConfig.AtlasExtrapolatorConfig import AtlasExtrapolatorCfg
60  kwargs.setdefault("Extrapolator", result.popToolsAndMerge(
61  AtlasExtrapolatorCfg(flags)))
62 
63  if 'BoundaryCheckTool' not in kwargs:
64  from InDetConfig.InDetBoundaryCheckToolConfig import (
65  ITkBoundaryCheckToolCfg)
66  kwargs.setdefault('BoundaryCheckTool', result.popToolsAndMerge(
68 
69  kwargs.setdefault("Cosmics", flags.Beam.Type is BeamType.Cosmics)
70  kwargs.setdefault("CountDeadModulesAfterLastHit", True)
71 
72  result.setPrivateTools(
73  CompFactory.InDet.InDetTrackHoleSearchTool(name, **kwargs))
74  return result
75 
76 

◆ TrigHoleSearchToolCfg()

def python.InDetTrackHoleSearchConfig.TrigHoleSearchToolCfg (   flags,
  name = "InDetTrigHoleSearchTool",
**  kwargs 
)

Definition at line 34 of file InDetTrackHoleSearchConfig.py.

34 def TrigHoleSearchToolCfg(flags, name="InDetTrigHoleSearchTool", **kwargs):
35  result = ComponentAccumulator()
36 
37  if 'Extrapolator' not in kwargs:
38  from TrkConfig.AtlasExtrapolatorConfig import InDetExtrapolatorCfg
39  kwargs.setdefault("Extrapolator", result.popToolsAndMerge(
40  InDetExtrapolatorCfg(flags, name="InDetTrigExtrapolator")))
41 
42  # create InDetTrigBoundaryCheckToolCfg with these settings
43  if 'BoundaryCheckTool' not in kwargs:
44  from InDetConfig.InDetBoundaryCheckToolConfig import (
45  InDetTrigBoundaryCheckToolCfg)
46  kwargs.setdefault('BoundaryCheckTool', result.popToolsAndMerge(
48 
49  kwargs.setdefault("CountDeadModulesAfterLastHit", True)
50 
51  result.setPrivateTools(
52  CompFactory.InDet.InDetTrackHoleSearchTool(name, **kwargs))
53  return result
54 
55 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.InDetBoundaryCheckToolConfig.ITkBoundaryCheckToolCfg
def ITkBoundaryCheckToolCfg(flags, name='ITkBoundaryCheckTool', **kwargs)
Definition: InDetBoundaryCheckToolConfig.py:102
python.InDetTrackHoleSearchConfig.CombinedMuonIDHoleSearchCfg
def CombinedMuonIDHoleSearchCfg(flags, name='CombinedMuonIDHoleSearch', **kwargs)
Definition: InDetTrackHoleSearchConfig.py:77
python.InDetBoundaryCheckToolConfig.CombinedMuonTrigIDBoundaryCheckToolCfg
def CombinedMuonTrigIDBoundaryCheckToolCfg(flags, name="CombinedMuonIDBoundaryCheckTool", **kwargs)
Definition: InDetBoundaryCheckToolConfig.py:84
python.InDetBoundaryCheckToolConfig.InDetTrigBoundaryCheckToolCfg
def InDetTrigBoundaryCheckToolCfg(flags, name="InDetTrigBoundaryCheckTool", **kwargs)
Definition: InDetBoundaryCheckToolConfig.py:62
python.AtlasExtrapolatorConfig.AtlasExtrapolatorCfg
def AtlasExtrapolatorCfg(flags, name='AtlasExtrapolator')
Definition: AtlasExtrapolatorConfig.py:63
python.InDetBoundaryCheckToolConfig.InDetBoundaryCheckToolCfg
def InDetBoundaryCheckToolCfg(flags, name='InDetBoundarySearchTool', **kwargs)
Definition: InDetBoundaryCheckToolConfig.py:7
python.InDetTrackHoleSearchConfig.ITkTrackHoleSearchToolCfg
def ITkTrackHoleSearchToolCfg(flags, name='ITkHoleSearchTool', **kwargs)
Definition: InDetTrackHoleSearchConfig.py:56
python.InDetTrackHoleSearchConfig.TrigHoleSearchToolCfg
def TrigHoleSearchToolCfg(flags, name="InDetTrigHoleSearchTool", **kwargs)
Definition: InDetTrackHoleSearchConfig.py:34
python.InDetTrackHoleSearchConfig.InDetTrackHoleSearchToolCfg
def InDetTrackHoleSearchToolCfg(flags, name='InDetHoleSearchTool', **kwargs)
Definition: InDetTrackHoleSearchConfig.py:8
python.AtlasExtrapolatorConfig.InDetExtrapolatorCfg
def InDetExtrapolatorCfg(flags, name='InDetExtrapolator', **kwargs)
Definition: AtlasExtrapolatorConfig.py:315
python.InDetBoundaryCheckToolConfig.CombinedMuonIDBoundaryCheckToolCfg
def CombinedMuonIDBoundaryCheckToolCfg(flags, name="CombinedMuonIDBoundaryCheckTool", **kwargs)
Definition: InDetBoundaryCheckToolConfig.py:44