ATLAS Offline Software
Functions
python.InDetBoundaryCheckToolConfig Namespace Reference

Functions

def InDetBoundaryCheckToolCfg (flags, name='InDetBoundarySearchTool', **kwargs)
 
def CombinedMuonIDBoundaryCheckToolCfg (flags, name="CombinedMuonIDBoundaryCheckTool", **kwargs)
 
def InDetTrigBoundaryCheckToolCfg (flags, name="InDetTrigBoundaryCheckTool", **kwargs)
 
def CombinedMuonTrigIDBoundaryCheckToolCfg (flags, name="CombinedMuonIDBoundaryCheckTool", **kwargs)
 
def ITkBoundaryCheckToolCfg (flags, name='ITkBoundaryCheckTool', **kwargs)
 

Function Documentation

◆ CombinedMuonIDBoundaryCheckToolCfg()

def python.InDetBoundaryCheckToolConfig.CombinedMuonIDBoundaryCheckToolCfg (   flags,
  name = "CombinedMuonIDBoundaryCheckTool",
**  kwargs 
)

Definition at line 44 of file InDetBoundaryCheckToolConfig.py.

45  flags, name="CombinedMuonIDBoundaryCheckTool", **kwargs):
46  result = ComponentAccumulator()
47 
48  if flags.Detector.EnablePixel:
49  if 'PixelLayerTool' not in kwargs:
50  from InDetConfig.InDetTestPixelLayerConfig import (
51  CombinedMuonPixelLayerToolCfg)
52  kwargs.setdefault("PixelLayerTool", result.popToolsAndMerge(
54  else:
55  kwargs.setdefault("PixelLayerTool", "")
56 
57  result.setPrivateTools(result.popToolsAndMerge(
58  InDetBoundaryCheckToolCfg(flags, name, **kwargs)))
59  return result
60 
61 

◆ CombinedMuonTrigIDBoundaryCheckToolCfg()

def python.InDetBoundaryCheckToolConfig.CombinedMuonTrigIDBoundaryCheckToolCfg (   flags,
  name = "CombinedMuonIDBoundaryCheckTool",
**  kwargs 
)

Definition at line 84 of file InDetBoundaryCheckToolConfig.py.

85  flags, name="CombinedMuonIDBoundaryCheckTool", **kwargs):
86  result = ComponentAccumulator()
87 
88  if flags.Detector.EnablePixel:
89  if 'PixelLayerTool' not in kwargs:
90  from InDetConfig.InDetTestPixelLayerConfig import (
91  CombinedMuonTrigPixelLayerToolCfg)
92  kwargs.setdefault("PixelLayerTool", result.popToolsAndMerge(
94  else:
95  kwargs.setdefault("PixelLayerTool", "")
96 
97  result.setPrivateTools(result.popToolsAndMerge(
98  InDetTrigBoundaryCheckToolCfg(flags, name, **kwargs)))
99  return result
100 
101 

◆ InDetBoundaryCheckToolCfg()

def python.InDetBoundaryCheckToolConfig.InDetBoundaryCheckToolCfg (   flags,
  name = 'InDetBoundarySearchTool',
**  kwargs 
)

Definition at line 7 of file InDetBoundaryCheckToolConfig.py.

7 def InDetBoundaryCheckToolCfg(flags, name='InDetBoundarySearchTool', **kwargs):
8  result = ComponentAccumulator()
9 
10  if 'SctSummaryTool' not in kwargs:
11  if flags.Detector.EnableSCT:
12  from SCT_ConditionsTools.SCT_ConditionsToolsConfig import (
13  SCT_ConditionsSummaryToolCfg)
14  kwargs.setdefault("SctSummaryTool", result.popToolsAndMerge(
16  else:
17  kwargs.setdefault("SctSummaryTool", None)
18 
19  if flags.Detector.EnableSCT:
20  if "SCTDetElStatus" not in kwargs and not flags.Common.isOnline:
21  from SCT_ConditionsAlgorithms.SCT_ConditionsAlgorithmsConfig import (
22  SCT_DetectorElementStatusAlgCfg)
23  result.merge(SCT_DetectorElementStatusAlgCfg(flags))
24  kwargs.setdefault("SCTDetElStatus", "SCTDetectorElementStatus")
25 
26  if flags.Detector.EnablePixel:
27  if 'PixelLayerTool' not in kwargs:
28  from InDetConfig.InDetTestPixelLayerConfig import (
29  InDetTestPixelLayerToolCfg)
30  kwargs.setdefault("PixelLayerTool", result.popToolsAndMerge(
32  else:
33  kwargs.setdefault("PixelLayerTool", "")
34 
35  kwargs.setdefault("UsePixel", flags.Detector.EnablePixel)
36  kwargs.setdefault("UseSCT", flags.Detector.EnableSCT)
37  kwargs.setdefault("CheckBadSCT", flags.InDet.checkDeadElementsOnTrack)
38 
39  result.setPrivateTools(
40  CompFactory.InDet.InDetBoundaryCheckTool(name, **kwargs))
41  return result
42 
43 

◆ InDetTrigBoundaryCheckToolCfg()

def python.InDetBoundaryCheckToolConfig.InDetTrigBoundaryCheckToolCfg (   flags,
  name = "InDetTrigBoundaryCheckTool",
**  kwargs 
)

Definition at line 62 of file InDetBoundaryCheckToolConfig.py.

63  flags, name="InDetTrigBoundaryCheckTool", **kwargs):
64  acc = ComponentAccumulator()
65  from SCT_ConditionsTools.SCT_ConditionsToolsConfig import (
66  SCT_ConditionsSummaryToolCfg)
67 
68  kwargs.setdefault("SCTDetElStatus", "")
69  kwargs.setdefault("SctSummaryTool", acc.popToolsAndMerge(
71  withFlaggedCondTool=False,
72  withTdaqTool=False)))
73 
74  from InDetConfig.InDetTestPixelLayerConfig import (
75  InDetTrigTestPixelLayerToolCfg)
76  kwargs.setdefault("PixelLayerTool", acc.popToolsAndMerge(
78 
79  acc.setPrivateTools(acc.popToolsAndMerge(
80  InDetBoundaryCheckToolCfg(flags, name, **kwargs)))
81  return acc
82 
83 

◆ ITkBoundaryCheckToolCfg()

def python.InDetBoundaryCheckToolConfig.ITkBoundaryCheckToolCfg (   flags,
  name = 'ITkBoundaryCheckTool',
**  kwargs 
)

Definition at line 102 of file InDetBoundaryCheckToolConfig.py.

102 def ITkBoundaryCheckToolCfg(flags, name='ITkBoundaryCheckTool', **kwargs):
103  result = ComponentAccumulator()
104 
105  if 'SctSummaryTool' not in kwargs:
106  if flags.Detector.EnableITkStrip:
107  from SCT_ConditionsTools.ITkStripConditionsToolsConfig import (
108  ITkStripConditionsSummaryToolCfg)
109  kwargs.setdefault("SctSummaryTool", result.popToolsAndMerge(
111  else:
112  kwargs.setdefault("SctSummaryTool", None)
113 
114  if 'PixelLayerTool' not in kwargs:
115  from InDetConfig.InDetTestPixelLayerConfig import (
116  ITkTestPixelLayerToolCfg)
117  kwargs.setdefault("PixelLayerTool", result.popToolsAndMerge(
118  ITkTestPixelLayerToolCfg(flags)))
119 
120  kwargs.setdefault("UsePixel", flags.Detector.EnableITkPixel)
121  kwargs.setdefault("UseSCT", flags.Detector.EnableITkStrip)
122  kwargs.setdefault("CheckBadSCT", False)
123 
124  result.setPrivateTools(
125  CompFactory.InDet.InDetBoundaryCheckTool(name, **kwargs))
126  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.InDetTestPixelLayerConfig.InDetTrigTestPixelLayerToolCfg
def InDetTrigTestPixelLayerToolCfg(flags, name="InDetTrigTestPixelLayerTool", **kwargs)
Definition: InDetTestPixelLayerConfig.py:71
python.InDetTestPixelLayerConfig.InDetTestPixelLayerToolCfg
def InDetTestPixelLayerToolCfg(flags, name="InDetTestPixelLayerTool", **kwargs)
Definition: InDetTestPixelLayerConfig.py:7
python.InDetBoundaryCheckToolConfig.ITkBoundaryCheckToolCfg
def ITkBoundaryCheckToolCfg(flags, name='ITkBoundaryCheckTool', **kwargs)
Definition: InDetBoundaryCheckToolConfig.py:102
python.SCT_ConditionsAlgorithmsConfig.SCT_DetectorElementStatusAlgCfg
def SCT_DetectorElementStatusAlgCfg(flags, name="SCTDetectorElementStatusAlg", **kwargs)
Definition: SCT_ConditionsAlgorithmsConfig.py:120
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.SCT_ConditionsToolsConfig.SCT_ConditionsSummaryToolCfg
def SCT_ConditionsSummaryToolCfg(flags, name="InDetSCT_ConditionsSummaryTool", **kwargs)
Definition: SCT_ConditionsToolsConfig.py:80
python.InDetTestPixelLayerConfig.CombinedMuonTrigPixelLayerToolCfg
def CombinedMuonTrigPixelLayerToolCfg(flags, name="CombinedMuonPixelLayerToolDefault", **kwargs)
Definition: InDetTestPixelLayerConfig.py:86
python.InDetBoundaryCheckToolConfig.InDetBoundaryCheckToolCfg
def InDetBoundaryCheckToolCfg(flags, name='InDetBoundarySearchTool', **kwargs)
Definition: InDetBoundaryCheckToolConfig.py:7
python.InDetTestPixelLayerConfig.ITkTestPixelLayerToolCfg
def ITkTestPixelLayerToolCfg(flags, name="ITkTestPixelLayerTool", **kwargs)
Definition: InDetTestPixelLayerConfig.py:100
python.ITkStripConditionsToolsConfig.ITkStripConditionsSummaryToolCfg
def ITkStripConditionsSummaryToolCfg(flags, name="ITkStripConditionsSummaryTool", **kwargs)
Definition: ITkStripConditionsToolsConfig.py:16
python.InDetTestPixelLayerConfig.CombinedMuonPixelLayerToolCfg
def CombinedMuonPixelLayerToolCfg(flags, name="CombinedMuonPixelLayerToolDefault", **kwargs)
Definition: InDetTestPixelLayerConfig.py:57
python.InDetBoundaryCheckToolConfig.CombinedMuonIDBoundaryCheckToolCfg
def CombinedMuonIDBoundaryCheckToolCfg(flags, name="CombinedMuonIDBoundaryCheckTool", **kwargs)
Definition: InDetBoundaryCheckToolConfig.py:44