ATLAS Offline Software
Functions
python.SiClusterizationToolConfig Namespace Reference

Functions

def ClusterMakerToolCfg (flags, name="InDetClusterMakerTool", **kwargs)
 
def ITkClusterMakerToolCfg (flags, name="ITkClusterMakerTool", **kwargs)
 
def InDetPixelRDOToolCfg (flags, name="InDetPixelRDOTool", **kwargs)
 
def ITkPixelRDOToolCfg (flags, name="ITkPixelRDOTool", **kwargs)
 
def TrigPixelRDOToolCfg (flags, name="InDetTrigPixelRDOTool")
 
def MergedPixelsToolCfg (flags, name="InDetMergedPixelsTool", **kwargs)
 
def TrigMergedPixelsToolCfg (flags, name="InDetTrigMergedPixelsTool")
 
def ITkMergedPixelsToolCfg (flags, name="ITkMergedPixelsTool", **kwargs)
 
def PixelClusterNnCondAlgCfg (flags, name="PixelClusterNnCondAlg", trackNetwork=False, **kwargs)
 
def PixelClusterNnWithTrackCondAlgCfg (flags, name="PixelClusterNnWithTrackCondAlg")
 
def LWTNNCondAlgCfg (flags, name="LWTNNCondAlg", **kwargs)
 
def NnClusterizationFactoryCfg (flags, name="NnClusterizationFactory", **kwargs)
 
def TrigNnClusterizationFactoryCfg (flags, name="TrigNnClusterizationFactory")
 
def ITkNnClusterizationFactoryCfg (flags, name="ITkNnClusterizationFactory", **kwargs)
 
def NnPixelClusterSplitProbToolCfg (flags, name="NnPixelClusterSplitProbTool", **kwargs)
 
def ITkNnPixelClusterSplitProbToolCfg (flags, name="ITkNnPixelClusterSplitProbTool", **kwargs)
 
def PixelGangedAmbiguitiesFinderCfg (flags, name="InDetPixelGangedAmbiguitiesFinder", **kwargs)
 
def ITkPixelGangedAmbiguitiesFinderCfg (flags, name="ITkPixelGangedAmbiguitiesFinder", **kwargs)
 
def SCT_ClusteringToolCfg (flags, name="InDetSCT_ClusteringTool", **kwargs)
 
def Trig_SCT_ClusteringToolCfg (flags, name="Trig_SCT_ClusteringTool", **kwargs)
 
def ITKStrip_SCT_ClusteringToolCfg (flags, name="ITkStripClusteringTool", **kwargs)
 
def TruthClusterizationFactoryCfg (flags, name='TruthClusterizationFactory', **kwargs)
 
def ITkTruthClusterizationFactoryCfg (flags, name='ITkTruthClusterizationFactory', **kwargs)
 
def TruthPixelClusterSplitProbToolCfg (flags, name="TruthPixelClusterSplitProbTool", **kwargs)
 
def ITkTruthPixelClusterSplitProbToolCfg (flags, name="ITkTruthPixelClusterSplitProbTool", **kwargs)
 
def HitsToxAODCopierCfg (flags)
 

Function Documentation

◆ ClusterMakerToolCfg()

def python.SiClusterizationToolConfig.ClusterMakerToolCfg (   flags,
  name = "InDetClusterMakerTool",
**  kwargs 
)

Definition at line 10 of file SiClusterizationToolConfig.py.

10 def ClusterMakerToolCfg(flags, name="InDetClusterMakerTool", **kwargs):
11  acc = ComponentAccumulator()
12 
13  # This directly needs the following Conditions data:
14  # PixelChargeCalibCondData & PixelOfflineCalibData
15  from PixelConditionsAlgorithms.PixelConditionsConfig import (
16  PixelChargeCalibCondCfg, PixelOfflineCalibCondAlgCfg)
17  if ('SCT' in flags.Digitization.DoFastDigi and
18  'Pixel' not in flags.Digitization.DoFastDigi):
19  acc.merge(PixelChargeCalibCondCfg(flags, ReadKey=""))
20  else:
21  acc.merge(PixelChargeCalibCondCfg(flags))
22  acc.merge(PixelOfflineCalibCondAlgCfg(flags))
23 
24  from PixelReadoutGeometry.PixelReadoutGeometryConfig import (
25  PixelReadoutManagerCfg)
26  acc.merge(PixelReadoutManagerCfg(flags))
27 
28  if "PixelLorentzAngleTool" not in kwargs:
29  from SiLorentzAngleTool.PixelLorentzAngleConfig import (
30  PixelLorentzAngleToolCfg)
31  kwargs.setdefault("PixelLorentzAngleTool", acc.popToolsAndMerge(
33 
34  if "SCTLorentzAngleTool" not in kwargs:
35  from SiLorentzAngleTool.SCT_LorentzAngleConfig import (
36  SCT_LorentzAngleToolCfg)
37  kwargs.setdefault("SCTLorentzAngleTool", acc.popToolsAndMerge(
39 
40  acc.setPrivateTools(CompFactory.InDet.ClusterMakerTool(name, **kwargs))
41  return acc
42 
43 

◆ HitsToxAODCopierCfg()

def python.SiClusterizationToolConfig.HitsToxAODCopierCfg (   flags)

Definition at line 506 of file SiClusterizationToolConfig.py.

506 def HitsToxAODCopierCfg(flags):
507  ca = ComponentAccumulator()
508  from InDetConfig.SiClusterizationToolConfig import ITkPixelRDOToolCfg
509  tool = ca.popToolsAndMerge(ITkPixelRDOToolCfg(flags))
510  alg = CompFactory.InDet.HitsToxAODCopier(PixelRDOTool=tool, PixelRDOContainerKey="ITkPixelRDOs")
511  ca.addEventAlgo(alg)
512 
513  from OutputStreamAthenaPool.OutputStreamConfig import addToESD, addToAOD
514  # for the available content of this collection, consult the HitsToxAODCopier.cxx
515  toRecod = [ "xAOD::BaseContainer#PixelHits", "xAOD::AuxContainerBase#PixelHitsAux.col.row.tot.eta_module.phi_module.layer_disk.barrel_ec.detid",
516  "xAOD::BaseContainer#StripHits", "xAOD::AuxContainerBase#StripHitsAux.strip.side.eta_module.phi_module.layer_disk.barrel_ec.detid" ]
517  ca.merge(addToAOD(flags, toRecod))
518  ca.merge(addToESD(flags, toRecod))
519 
520  return ca

◆ InDetPixelRDOToolCfg()

def python.SiClusterizationToolConfig.InDetPixelRDOToolCfg (   flags,
  name = "InDetPixelRDOTool",
**  kwargs 
)

Definition at line 75 of file SiClusterizationToolConfig.py.

75 def InDetPixelRDOToolCfg(flags, name="InDetPixelRDOTool", **kwargs):
76  # To produce PixelDetectorElementCollection condition data
77  from PixelGeoModel.PixelGeoModelConfig import PixelReadoutGeometryCfg
78  acc = PixelReadoutGeometryCfg(flags)
79 
80  kwargs.setdefault("PixelDetElStatus", "PixelDetectorElementStatus")
81 
82  if kwargs["PixelDetElStatus"] != "":
83  from PixelConditionsAlgorithms.PixelConditionsConfig import (
84  PixelDetectorElementStatusAlgCfg)
85  acc.merge(PixelDetectorElementStatusAlgCfg(flags))
86 
87  if "PixelConditionsSummaryTool" not in kwargs:
88  from PixelConditionsTools.PixelConditionsSummaryConfig import (
89  PixelConditionsSummaryCfg)
90  kwargs.setdefault("PixelConditionsSummaryTool", acc.popToolsAndMerge(
92 
93  # Enable duplicated RDO check for data15 because duplication mechanism
94  # was used.
95  kwargs.setdefault("CheckDuplicatedRDO",
96  (len(flags.Input.ProjectName) >= 6 and
97  flags.Input.ProjectName[:6] == "data15"))
98 
99  acc.setPrivateTools(CompFactory.InDet.PixelRDOTool(name, **kwargs))
100  return acc
101 
102 

◆ ITkClusterMakerToolCfg()

def python.SiClusterizationToolConfig.ITkClusterMakerToolCfg (   flags,
  name = "ITkClusterMakerTool",
**  kwargs 
)

Definition at line 44 of file SiClusterizationToolConfig.py.

44 def ITkClusterMakerToolCfg(flags, name="ITkClusterMakerTool", **kwargs):
45  acc = ComponentAccumulator()
46 
47  from PixelConditionsAlgorithms.ITkPixelConditionsConfig import (
48  ITkPixelChargeCalibCondAlgCfg)
49  from PixelReadoutGeometry.PixelReadoutGeometryConfig import (
50  ITkPixelReadoutManagerCfg)
51 
52  # This directly needs the following Conditions data:
53  # PixelModuleData & PixelChargeCalibCondData
54  acc.merge(ITkPixelChargeCalibCondAlgCfg(flags))
55  acc.merge(ITkPixelReadoutManagerCfg(flags))
56  kwargs.setdefault("PixelReadoutManager", acc.getService(
57  "ITkPixelReadoutManager"))
58 
59  if "PixelLorentzAngleTool" not in kwargs:
60  from SiLorentzAngleTool.ITkPixelLorentzAngleConfig import (
61  ITkPixelLorentzAngleToolCfg)
62  kwargs.setdefault("PixelLorentzAngleTool", acc.popToolsAndMerge(
64 
65  if "SCTLorentzAngleTool" not in kwargs:
66  from SiLorentzAngleTool.ITkStripLorentzAngleConfig import (
67  ITkStripLorentzAngleToolCfg)
68  kwargs.setdefault("SCTLorentzAngleTool", acc.popToolsAndMerge(
70 
71  acc.setPrivateTools(CompFactory.InDet.ClusterMakerTool(name, **kwargs))
72  return acc
73 
74 

◆ ITkMergedPixelsToolCfg()

def python.SiClusterizationToolConfig.ITkMergedPixelsToolCfg (   flags,
  name = "ITkMergedPixelsTool",
**  kwargs 
)

Definition at line 149 of file SiClusterizationToolConfig.py.

149 def ITkMergedPixelsToolCfg(flags, name="ITkMergedPixelsTool", **kwargs):
150  acc = ComponentAccumulator()
151 
152  kwargs.setdefault("globalPosAlg", acc.popToolsAndMerge(
153  ITkClusterMakerToolCfg(flags)))
154  kwargs.setdefault("PixelRDOTool", acc.popToolsAndMerge(
155  ITkPixelRDOToolCfg(flags)))
156 
157  kwargs.setdefault("PixelChargeCalibCondData", "ITkPixelChargeCalibCondData")
158  kwargs.setdefault("PixelOfflineCalibData", "")
159 
160  acc.setPrivateTools(CompFactory.InDet.MergedPixelsTool(name, **kwargs))
161  return acc
162 
163 

◆ ITkNnClusterizationFactoryCfg()

def python.SiClusterizationToolConfig.ITkNnClusterizationFactoryCfg (   flags,
  name = "ITkNnClusterizationFactory",
**  kwargs 
)

Definition at line 293 of file SiClusterizationToolConfig.py.

293 def ITkNnClusterizationFactoryCfg(flags, name="ITkNnClusterizationFactory", **kwargs):
294  from PixelReadoutGeometry.PixelReadoutGeometryConfig import (
295  ITkPixelReadoutManagerCfg)
296  acc = ITkPixelReadoutManagerCfg(flags)
297 
298  from PixelConditionsAlgorithms.ITkPixelConditionsConfig import (
299  ITkPixelChargeCalibCondAlgCfg)
300  acc.merge(ITkPixelChargeCalibCondAlgCfg(flags))
301 
302  acc.merge(LWTNNCondAlgCfg(flags))
303 
304  if "PixelLorentzAngleTool" not in kwargs:
305  from SiLorentzAngleTool.ITkPixelLorentzAngleConfig import (
306  ITkPixelLorentzAngleToolCfg)
307  kwargs.setdefault("PixelLorentzAngleTool", acc.popToolsAndMerge(
309 
310  kwargs.setdefault("useToT", False)
311  kwargs.setdefault("NnCollectionReadKey", "")
312  kwargs.setdefault("NnCollectionWithTrackReadKey", "")
313  kwargs.setdefault("NnCollectionJSONReadKey", "PixelClusterNNJSON")
314 
315  kwargs.setdefault("PixelReadoutManager", "ITkPixelReadoutManager")
316  kwargs.setdefault("PixelChargeCalibCondData", "ITkPixelChargeCalibCondData")
317 
318  acc.setPrivateTools(
319  CompFactory.InDet.NnClusterizationFactory(name, **kwargs))
320  return acc
321 
322 

◆ ITkNnPixelClusterSplitProbToolCfg()

def python.SiClusterizationToolConfig.ITkNnPixelClusterSplitProbToolCfg (   flags,
  name = "ITkNnPixelClusterSplitProbTool",
**  kwargs 
)

Definition at line 336 of file SiClusterizationToolConfig.py.

337  flags, name="ITkNnPixelClusterSplitProbTool", **kwargs):
338  acc = ComponentAccumulator()
339 
340  kwargs.setdefault("NnClusterizationFactory", acc.popToolsAndMerge(
342  kwargs.setdefault("PriorMultiplicityContent", [1, 1, 1])
343  kwargs.setdefault("useBeamSpotInfo", flags.Tracking.useBeamSpotInfoNN)
344 
345  acc.setPrivateTools(
346  CompFactory.InDet.NnPixelClusterSplitProbTool(name, **kwargs))
347  return acc
348 
349 

◆ ITkPixelGangedAmbiguitiesFinderCfg()

def python.SiClusterizationToolConfig.ITkPixelGangedAmbiguitiesFinderCfg (   flags,
  name = "ITkPixelGangedAmbiguitiesFinder",
**  kwargs 
)

Definition at line 360 of file SiClusterizationToolConfig.py.

361  flags, name="ITkPixelGangedAmbiguitiesFinder", **kwargs):
362  # To produce ITkPixelDetectorElementCollection condition data
363  from PixelGeoModelXml.ITkPixelGeoModelConfig import (
364  ITkPixelReadoutGeometryCfg)
365  acc = ITkPixelReadoutGeometryCfg(flags)
366  kwargs.setdefault("PixelDetEleCollKey", "ITkPixelDetectorElementCollection")
367  acc.setPrivateTools(
368  CompFactory.InDet.PixelGangedAmbiguitiesFinder(name, **kwargs))
369  return acc
370 
371 

◆ ITkPixelRDOToolCfg()

def python.SiClusterizationToolConfig.ITkPixelRDOToolCfg (   flags,
  name = "ITkPixelRDOTool",
**  kwargs 
)

Definition at line 103 of file SiClusterizationToolConfig.py.

103 def ITkPixelRDOToolCfg(flags, name="ITkPixelRDOTool", **kwargs):
104  # To produce ITkPixelDetectorElementCollection condition data
105  from PixelGeoModelXml.ITkPixelGeoModelConfig import (
106  ITkPixelReadoutGeometryCfg)
107  acc = ITkPixelReadoutGeometryCfg(flags)
108 
109  if "PixelConditionsSummaryTool" not in kwargs:
110  from PixelConditionsTools.ITkPixelConditionsSummaryConfig import (
111  ITkPixelConditionsSummaryCfg)
112  kwargs.setdefault("PixelConditionsSummaryTool", acc.popToolsAndMerge(
114 
115  kwargs.setdefault("PixelDetEleCollKey", "ITkPixelDetectorElementCollection")
116  kwargs.setdefault("CheckGanged", False)
117 
118  acc.setPrivateTools(CompFactory.InDet.PixelRDOTool(name, **kwargs))
119  return acc
120 
121 

◆ ITKStrip_SCT_ClusteringToolCfg()

def python.SiClusterizationToolConfig.ITKStrip_SCT_ClusteringToolCfg (   flags,
  name = "ITkStripClusteringTool",
**  kwargs 
)

Definition at line 427 of file SiClusterizationToolConfig.py.

428  flags, name="ITkStripClusteringTool", **kwargs):
429  # To produce ITkStripDetectorElementCollection
430  from StripGeoModelXml.ITkStripGeoModelConfig import (
431  ITkStripReadoutGeometryCfg)
432  acc = ITkStripReadoutGeometryCfg(flags)
433 
434  kwargs.setdefault("SCTDetEleCollKey", "ITkStripDetectorElementCollection")
435  kwargs.setdefault("doSimplePositionWidthCalculation", True)
436 
437  if "conditionsTool" not in kwargs:
438  from SCT_ConditionsTools.ITkStripConditionsToolsConfig import (
439  ITkStripConditionsSummaryToolCfg)
440  kwargs.setdefault("conditionsTool", acc.popToolsAndMerge(
442 
443  if "LorentzAngleTool" not in kwargs:
444  from SiLorentzAngleTool.ITkStripLorentzAngleConfig import (
445  ITkStripLorentzAngleToolCfg)
446  kwargs.setdefault("LorentzAngleTool", acc.popToolsAndMerge(
448 
449  kwargs.setdefault("globalPosAlg", acc.popToolsAndMerge(
450  ITkClusterMakerToolCfg(flags)))
451 
452  if flags.ITk.selectStripIntimeHits:
453  coll_25ns = (flags.Beam.BunchSpacing <= 25 and
454  flags.Beam.Type is BeamType.Collisions)
455  kwargs.setdefault("timeBins", "01X" if coll_25ns else "X1X")
456 
457  acc.setPrivateTools(CompFactory.InDet.SCT_ClusteringTool(name, **kwargs))
458  return acc
459 
460 

◆ ITkTruthClusterizationFactoryCfg()

def python.SiClusterizationToolConfig.ITkTruthClusterizationFactoryCfg (   flags,
  name = 'ITkTruthClusterizationFactory',
**  kwargs 
)

Definition at line 472 of file SiClusterizationToolConfig.py.

473  flags, name='ITkTruthClusterizationFactory', **kwargs):
474  acc = ComponentAccumulator()
475 
476  kwargs.setdefault("InputSDOMap", "ITkPixelSDO_Map")
477  kwargs.setdefault("discardPUHits", flags.Digitization.PileUp)
478  kwargs.setdefault("truthClusterSplittingEff", flags.Tracking.TruthClusterSplittingEff)
479  acc.setPrivateTools(
480  CompFactory.InDet.TruthClusterizationFactory(name, **kwargs))
481  return acc
482 
483 

◆ ITkTruthPixelClusterSplitProbToolCfg()

def python.SiClusterizationToolConfig.ITkTruthPixelClusterSplitProbToolCfg (   flags,
  name = "ITkTruthPixelClusterSplitProbTool",
**  kwargs 
)

Definition at line 495 of file SiClusterizationToolConfig.py.

496  flags, name="ITkTruthPixelClusterSplitProbTool", **kwargs):
497  acc = ComponentAccumulator()
498  kwargs.setdefault("PriorMultiplicityContent", [1, 1, 1])
499  kwargs.setdefault("NnClusterizationFactory", acc.popToolsAndMerge(
501  acc.setPrivateTools(
502  CompFactory.InDet.TruthPixelClusterSplitProbTool(name, **kwargs))
503  return acc
504 
505 

◆ LWTNNCondAlgCfg()

def python.SiClusterizationToolConfig.LWTNNCondAlgCfg (   flags,
  name = "LWTNNCondAlg",
**  kwargs 
)

Definition at line 209 of file SiClusterizationToolConfig.py.

209 def LWTNNCondAlgCfg(flags, name="LWTNNCondAlg", **kwargs):
210  acc = ComponentAccumulator()
211 
212  acc.merge(addFoldersSplitOnline(
213  flags, "PIXEL",
214  "/PIXEL/Onl/PixelClustering/PixelNNCalibJSON",
215  "/PIXEL/PixelClustering/PixelNNCalibJSON",
216  className="CondAttrListCollection"))
217 
218  kwargs.setdefault("WriteKey", "PixelClusterNNJSON")
219 
220  acc.addCondAlgo(CompFactory.InDet.LWTNNCondAlg(name, **kwargs))
221  return acc
222 
223 

◆ MergedPixelsToolCfg()

def python.SiClusterizationToolConfig.MergedPixelsToolCfg (   flags,
  name = "InDetMergedPixelsTool",
**  kwargs 
)

Definition at line 126 of file SiClusterizationToolConfig.py.

126 def MergedPixelsToolCfg(flags, name="InDetMergedPixelsTool", **kwargs):
127  acc = ComponentAccumulator()
128 
129  kwargs.setdefault("globalPosAlg", acc.popToolsAndMerge(
130  ClusterMakerToolCfg(flags)))
131  kwargs.setdefault("PixelRDOTool", acc.popToolsAndMerge(
132  InDetPixelRDOToolCfg(flags)))
133 
134  acc.setPrivateTools(CompFactory.InDet.MergedPixelsTool(name, **kwargs))
135  return acc
136 
137 

◆ NnClusterizationFactoryCfg()

def python.SiClusterizationToolConfig.NnClusterizationFactoryCfg (   flags,
  name = "NnClusterizationFactory",
**  kwargs 
)

Definition at line 224 of file SiClusterizationToolConfig.py.

224 def NnClusterizationFactoryCfg(flags, name="NnClusterizationFactory", **kwargs):
225  from PixelReadoutGeometry.PixelReadoutGeometryConfig import (
226  PixelReadoutManagerCfg)
227  acc = PixelReadoutManagerCfg(flags)
228 
229  from PixelConditionsAlgorithms.PixelConditionsConfig import (
230  PixelChargeCalibCondCfg)
231  acc.merge(PixelChargeCalibCondCfg(flags))
232 
233  if flags.GeoModel.Run is LHCPeriod.Run1:
234  acc.merge(PixelClusterNnCondAlgCfg(flags))
235  acc.merge(PixelClusterNnWithTrackCondAlgCfg(flags))
236  else:
237  acc.merge(LWTNNCondAlgCfg(flags))
238 
239  if "PixelLorentzAngleTool" not in kwargs:
240  from SiLorentzAngleTool.PixelLorentzAngleConfig import (
241  PixelLorentzAngleToolCfg)
242  kwargs.setdefault("PixelLorentzAngleTool", acc.popToolsAndMerge(
243  PixelLorentzAngleToolCfg(flags)))
244 
245  kwargs.setdefault("doRunI", flags.GeoModel.Run is LHCPeriod.Run1)
246  kwargs.setdefault("useToT", False)
247  kwargs.setdefault("useRecenteringNNWithoutTracks", (
248  flags.GeoModel.Run is LHCPeriod.Run1))
249  kwargs.setdefault("useRecenteringNNWithTracks", False)
250  kwargs.setdefault("correctLorShiftBarrelWithoutTracks", 0)
251  kwargs.setdefault("correctLorShiftBarrelWithTracks", (
252  0.03 if flags.GeoModel.Run is LHCPeriod.Run1 else 0.))
253  kwargs.setdefault("useTTrainedNetworks",
254  flags.GeoModel.Run is LHCPeriod.Run1)
255  kwargs.setdefault("NnCollectionReadKey", (
256  "PixelClusterNN" if flags.GeoModel.Run is LHCPeriod.Run1 else ""))
257  kwargs.setdefault("NnCollectionWithTrackReadKey", (
258  "PixelClusterNNWithTrack" if flags.GeoModel.Run is LHCPeriod.Run1
259  else ""))
260  kwargs.setdefault("NnCollectionJSONReadKey", (
261  "" if flags.GeoModel.Run is LHCPeriod.Run1
262  else "PixelClusterNNJSON"))
263 
264  acc.setPrivateTools(
265  CompFactory.InDet.NnClusterizationFactory(name, **kwargs))
266  return acc
267 
268 

◆ NnPixelClusterSplitProbToolCfg()

def python.SiClusterizationToolConfig.NnPixelClusterSplitProbToolCfg (   flags,
  name = "NnPixelClusterSplitProbTool",
**  kwargs 
)

Definition at line 323 of file SiClusterizationToolConfig.py.

324  flags, name="NnPixelClusterSplitProbTool", **kwargs):
325  acc = ComponentAccumulator()
326 
327  kwargs.setdefault("NnClusterizationFactory", acc.popToolsAndMerge(
329  kwargs.setdefault("PriorMultiplicityContent", [1, 1, 1])
330  kwargs.setdefault("useBeamSpotInfo", flags.Tracking.useBeamSpotInfoNN)
331 
332  acc.setPrivateTools(
333  CompFactory.InDet.NnPixelClusterSplitProbTool(name, **kwargs))
334  return acc
335 

◆ PixelClusterNnCondAlgCfg()

def python.SiClusterizationToolConfig.PixelClusterNnCondAlgCfg (   flags,
  name = "PixelClusterNnCondAlg",
  trackNetwork = False,
**  kwargs 
)

Definition at line 164 of file SiClusterizationToolConfig.py.

165  flags, name="PixelClusterNnCondAlg", trackNetwork=False, **kwargs):
166  acc = ComponentAccumulator()
167 
168  nn_names = [
169  "NumberParticles_NoTrack/",
170  "ImpactPoints1P_NoTrack/",
171  "ImpactPoints2P_NoTrack/",
172  "ImpactPoints3P_NoTrack/",
173  "ImpactPointErrorsX1_NoTrack/",
174  "ImpactPointErrorsX2_NoTrack/",
175  "ImpactPointErrorsX3_NoTrack/",
176  "ImpactPointErrorsY1_NoTrack/",
177  "ImpactPointErrorsY2_NoTrack/",
178  "ImpactPointErrorsY3_NoTrack/"]
179 
180  if trackNetwork:
181  nn_names = [elm.replace('_NoTrack', '') for elm in nn_names]
182 
183  kwargs.setdefault("NetworkNames", nn_names)
184  kwargs.setdefault("GetInputsInfo", True)
185  kwargs.setdefault("WriteKey", ("PixelClusterNN" if not trackNetwork
186  else "PixelClusterNNWithTrack"))
187 
188  acc.merge(addFoldersSplitOnline(
189  flags, "PIXEL",
190  "/PIXEL/Onl/PixelClustering/PixelClusNNCalib",
191  "/PIXEL/PixelClustering/PixelClusNNCalib",
192  className='CondAttrListCollection'))
193 
194  if "NetworkToHistoTool" not in kwargs:
195  from TrkConfig.TrkNeuralNetworkUtilsConfig import (
196  NeuralNetworkToHistoToolCfg)
197  kwargs.setdefault("NetworkToHistoTool", acc.popToolsAndMerge(
199 
200  acc.addCondAlgo(CompFactory.InDet.TTrainedNetworkCondAlg(name, **kwargs))
201  return acc
202 
203 

◆ PixelClusterNnWithTrackCondAlgCfg()

def python.SiClusterizationToolConfig.PixelClusterNnWithTrackCondAlgCfg (   flags,
  name = "PixelClusterNnWithTrackCondAlg" 
)

Definition at line 204 of file SiClusterizationToolConfig.py.

205  flags, name="PixelClusterNnWithTrackCondAlg"):
206  return PixelClusterNnCondAlgCfg(flags, name, trackNetwork=True)
207 
208 

◆ PixelGangedAmbiguitiesFinderCfg()

def python.SiClusterizationToolConfig.PixelGangedAmbiguitiesFinderCfg (   flags,
  name = "InDetPixelGangedAmbiguitiesFinder",
**  kwargs 
)

Definition at line 350 of file SiClusterizationToolConfig.py.

351  flags, name="InDetPixelGangedAmbiguitiesFinder", **kwargs):
352  # To produce PixelDetectorElementCollection condition data
353  from PixelGeoModel.PixelGeoModelConfig import PixelReadoutGeometryCfg
354  acc = PixelReadoutGeometryCfg(flags)
355  acc.setPrivateTools(
356  CompFactory.InDet.PixelGangedAmbiguitiesFinder(name, **kwargs))
357  return acc
358 
359 

◆ SCT_ClusteringToolCfg()

def python.SiClusterizationToolConfig.SCT_ClusteringToolCfg (   flags,
  name = "InDetSCT_ClusteringTool",
**  kwargs 
)

Definition at line 372 of file SiClusterizationToolConfig.py.

373  flags, name="InDetSCT_ClusteringTool", **kwargs):
374  # To produce SCT_DetectorElementCollection
375  from SCT_GeoModel.SCT_GeoModelConfig import SCT_ReadoutGeometryCfg
376  acc = SCT_ReadoutGeometryCfg(flags)
377 
378  kwargs.setdefault("SCTDetElStatus",
379  "SCTDetectorElementStatusWithoutFlagged")
380  # Simplification introduced in r25
381  kwargs.setdefault("doSimplePositionWidthCalculation",
382  flags.InDet.doSCTSimpleWidth)
383 
384  if "conditionsTool" not in kwargs:
385  from SCT_ConditionsTools.SCT_ConditionsToolsConfig import (
386  SCT_ConditionsSummaryToolCfg)
387  kwargs.setdefault("conditionsTool", acc.popToolsAndMerge(
388  SCT_ConditionsSummaryToolCfg(flags, withFlaggedCondTool=False)))
389 
390  if "LorentzAngleTool" not in kwargs:
391  from SiLorentzAngleTool.SCT_LorentzAngleConfig import (
392  SCT_LorentzAngleToolCfg)
393  kwargs.setdefault("LorentzAngleTool", acc.popToolsAndMerge(
394  SCT_LorentzAngleToolCfg(flags)))
395 
396  kwargs.setdefault("globalPosAlg", acc.popToolsAndMerge(
397  ClusterMakerToolCfg(flags)))
398 
399  if flags.InDet.selectSCTIntimeHits:
400  coll_25ns = (flags.Beam.BunchSpacing <= 25 and
401  flags.Beam.Type is BeamType.Collisions)
402  kwargs.setdefault("timeBins", "01X" if coll_25ns else "X1X")
403 
404  acc.setPrivateTools(CompFactory.InDet.SCT_ClusteringTool(name, **kwargs))
405  return acc
406 
407 

◆ Trig_SCT_ClusteringToolCfg()

def python.SiClusterizationToolConfig.Trig_SCT_ClusteringToolCfg (   flags,
  name = "Trig_SCT_ClusteringTool",
**  kwargs 
)

Definition at line 408 of file SiClusterizationToolConfig.py.

408 def Trig_SCT_ClusteringToolCfg(flags, name="Trig_SCT_ClusteringTool", **kwargs):
409  acc = ComponentAccumulator()
410 
411  if "conditionsTool" not in kwargs:
412  from SCT_ConditionsTools.SCT_ConditionsToolsConfig import (
413  SCT_ConditionsSummaryToolCfg)
414  kwargs.setdefault("conditionsTool", acc.popToolsAndMerge(
415  SCT_ConditionsSummaryToolCfg(flags, withFlaggedCondTool=False, withTdaqTool=False)))
416 
417  kwargs.setdefault("SCTDetElStatus", "")
418 
419  # Keep r24 config for now
420  kwargs.setdefault("doSimplePositionWidthCalculation", False)
421 
422  acc.setPrivateTools(acc.popToolsAndMerge(
423  SCT_ClusteringToolCfg(flags, name, **kwargs)))
424  return acc
425 
426 

◆ TrigMergedPixelsToolCfg()

def python.SiClusterizationToolConfig.TrigMergedPixelsToolCfg (   flags,
  name = "InDetTrigMergedPixelsTool" 
)

Definition at line 138 of file SiClusterizationToolConfig.py.

138 def TrigMergedPixelsToolCfg(flags, name="InDetTrigMergedPixelsTool"):
139  acc = ComponentAccumulator()
140  kwargs = {}
141 
142  kwargs["globalPosAlg"] = acc.popToolsAndMerge(ClusterMakerToolCfg(flags))
143  kwargs["PixelRDOTool"] = acc.popToolsAndMerge(TrigPixelRDOToolCfg(flags))
144 
145  acc.setPrivateTools(CompFactory.InDet.MergedPixelsTool(name, **kwargs))
146  return acc
147 
148 

◆ TrigNnClusterizationFactoryCfg()

def python.SiClusterizationToolConfig.TrigNnClusterizationFactoryCfg (   flags,
  name = "TrigNnClusterizationFactory" 
)

Definition at line 269 of file SiClusterizationToolConfig.py.

269 def TrigNnClusterizationFactoryCfg(flags, name="TrigNnClusterizationFactory"):
270  acc = ComponentAccumulator()
271  kwargs = {}
272 
273  from PixelConditionsAlgorithms.PixelConditionsConfig import (
274  PixelChargeCalibCondCfg)
275  acc.merge(PixelChargeCalibCondCfg(flags))
276 
277  acc.merge(PixelClusterNnCondAlgCfg(flags))
278  acc.merge(PixelClusterNnWithTrackCondAlgCfg(flags))
279 
280  from SiLorentzAngleTool.PixelLorentzAngleConfig import (
281  PixelLorentzAngleToolCfg)
282  kwargs["PixelLorentzAngleTool"] = acc.popToolsAndMerge(
284 
285  kwargs["useToT"] = False
286  kwargs["NnCollectionReadKey"] = "PixelClusterNN"
287  kwargs["NnCollectionWithTrackReadKey"] = "PixelClusterNNWithTrack"
288 
289  acc.setPrivateTools(
290  CompFactory.InDet.NnClusterizationFactory(name, **kwargs))
291  return acc
292 

◆ TrigPixelRDOToolCfg()

def python.SiClusterizationToolConfig.TrigPixelRDOToolCfg (   flags,
  name = "InDetTrigPixelRDOTool" 
)

Definition at line 122 of file SiClusterizationToolConfig.py.

122 def TrigPixelRDOToolCfg(flags, name="InDetTrigPixelRDOTool"):
123  return InDetPixelRDOToolCfg(flags, name, PixelDetElStatus="", PrintDuplicate=False)
124 
125 

◆ TruthClusterizationFactoryCfg()

def python.SiClusterizationToolConfig.TruthClusterizationFactoryCfg (   flags,
  name = 'TruthClusterizationFactory',
**  kwargs 
)

Definition at line 461 of file SiClusterizationToolConfig.py.

462  flags, name='TruthClusterizationFactory', **kwargs):
463  acc = ComponentAccumulator()
464 
465  kwargs.setdefault("discardPUHits", flags.Digitization.PileUp)
466  kwargs.setdefault("truthClusterSplittingEff", flags.Tracking.TruthClusterSplittingEff)
467  acc.setPrivateTools(
468  CompFactory.InDet.TruthClusterizationFactory(name, **kwargs))
469  return acc
470 
471 

◆ TruthPixelClusterSplitProbToolCfg()

def python.SiClusterizationToolConfig.TruthPixelClusterSplitProbToolCfg (   flags,
  name = "TruthPixelClusterSplitProbTool",
**  kwargs 
)

Definition at line 484 of file SiClusterizationToolConfig.py.

485  flags, name="TruthPixelClusterSplitProbTool", **kwargs):
486  acc = ComponentAccumulator()
487  kwargs.setdefault("PriorMultiplicityContent", [1, 1, 1])
488  kwargs.setdefault("NnClusterizationFactory", acc.popToolsAndMerge(
490  acc.setPrivateTools(
491  CompFactory.InDet.TruthPixelClusterSplitProbTool(name, **kwargs))
492  return acc
493 
494 
python.SiClusterizationToolConfig.TrigMergedPixelsToolCfg
def TrigMergedPixelsToolCfg(flags, name="InDetTrigMergedPixelsTool")
Definition: SiClusterizationToolConfig.py:138
python.ITkStripLorentzAngleConfig.ITkStripLorentzAngleToolCfg
def ITkStripLorentzAngleToolCfg(flags, name="ITkStripLorentzAngleTool", **kwargs)
Definition: ITkStripLorentzAngleConfig.py:10
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
PixelConditionsSummaryConfig.PixelConditionsSummaryCfg
def PixelConditionsSummaryCfg(flags, name="PixelConditionsSummary", **kwargs)
Definition: PixelConditionsSummaryConfig.py:17
python.SiClusterizationToolConfig.LWTNNCondAlgCfg
def LWTNNCondAlgCfg(flags, name="LWTNNCondAlg", **kwargs)
Definition: SiClusterizationToolConfig.py:209
python.SiClusterizationToolConfig.NnClusterizationFactoryCfg
def NnClusterizationFactoryCfg(flags, name="NnClusterizationFactory", **kwargs)
Definition: SiClusterizationToolConfig.py:224
python.SiClusterizationToolConfig.ITkNnPixelClusterSplitProbToolCfg
def ITkNnPixelClusterSplitProbToolCfg(flags, name="ITkNnPixelClusterSplitProbTool", **kwargs)
Definition: SiClusterizationToolConfig.py:336
python.SiClusterizationToolConfig.ITkTruthPixelClusterSplitProbToolCfg
def ITkTruthPixelClusterSplitProbToolCfg(flags, name="ITkTruthPixelClusterSplitProbTool", **kwargs)
Definition: SiClusterizationToolConfig.py:495
python.SiClusterizationToolConfig.ITkPixelGangedAmbiguitiesFinderCfg
def ITkPixelGangedAmbiguitiesFinderCfg(flags, name="ITkPixelGangedAmbiguitiesFinder", **kwargs)
Definition: SiClusterizationToolConfig.py:360
ITkStripGeoModelConfig.ITkStripReadoutGeometryCfg
def ITkStripReadoutGeometryCfg(flags)
Definition: ITkStripGeoModelConfig.py:39
python.SiClusterizationToolConfig.TruthPixelClusterSplitProbToolCfg
def TruthPixelClusterSplitProbToolCfg(flags, name="TruthPixelClusterSplitProbTool", **kwargs)
Definition: SiClusterizationToolConfig.py:484
python.SiClusterizationToolConfig.ITkTruthClusterizationFactoryCfg
def ITkTruthClusterizationFactoryCfg(flags, name='ITkTruthClusterizationFactory', **kwargs)
Definition: SiClusterizationToolConfig.py:472
python.SiClusterizationToolConfig.NnPixelClusterSplitProbToolCfg
def NnPixelClusterSplitProbToolCfg(flags, name="NnPixelClusterSplitProbTool", **kwargs)
Definition: SiClusterizationToolConfig.py:323
python.SiClusterizationToolConfig.MergedPixelsToolCfg
def MergedPixelsToolCfg(flags, name="InDetMergedPixelsTool", **kwargs)
Definition: SiClusterizationToolConfig.py:126
ITkPixelGeoModelConfig.ITkPixelReadoutGeometryCfg
def ITkPixelReadoutGeometryCfg(flags)
Definition: ITkPixelGeoModelConfig.py:39
ITkPixelConditionsSummaryConfig.ITkPixelConditionsSummaryCfg
def ITkPixelConditionsSummaryCfg(flags, name="ITkPixelConditionsSummary", **kwargs)
Definition: ITkPixelConditionsSummaryConfig.py:12
python.SiClusterizationToolConfig.ITkPixelRDOToolCfg
def ITkPixelRDOToolCfg(flags, name="ITkPixelRDOTool", **kwargs)
Definition: SiClusterizationToolConfig.py:103
PixelConditionsConfig.PixelChargeCalibCondCfg
def PixelChargeCalibCondCfg(flags, **kwargs)
Definition: PixelConditionsConfig.py:415
python.PixelLorentzAngleConfig.PixelLorentzAngleToolCfg
def PixelLorentzAngleToolCfg(flags, name="PixelLorentzAngleTool", **kwargs)
Definition: PixelLorentzAngleConfig.py:13
python.ITkPixelLorentzAngleConfig.ITkPixelLorentzAngleToolCfg
def ITkPixelLorentzAngleToolCfg(flags, name="ITkPixelLorentzAngleTool", **kwargs)
Definition: ITkPixelLorentzAngleConfig.py:14
python.SiClusterizationToolConfig.ITkMergedPixelsToolCfg
def ITkMergedPixelsToolCfg(flags, name="ITkMergedPixelsTool", **kwargs)
Definition: SiClusterizationToolConfig.py:149
python.SiClusterizationToolConfig.PixelGangedAmbiguitiesFinderCfg
def PixelGangedAmbiguitiesFinderCfg(flags, name="InDetPixelGangedAmbiguitiesFinder", **kwargs)
Definition: SiClusterizationToolConfig.py:350
python.SiClusterizationToolConfig.ITkClusterMakerToolCfg
def ITkClusterMakerToolCfg(flags, name="ITkClusterMakerTool", **kwargs)
Definition: SiClusterizationToolConfig.py:44
python.SCT_ConditionsToolsConfig.SCT_ConditionsSummaryToolCfg
def SCT_ConditionsSummaryToolCfg(flags, name="InDetSCT_ConditionsSummaryTool", **kwargs)
Definition: SCT_ConditionsToolsConfig.py:80
SCT_GeoModelConfig.SCT_ReadoutGeometryCfg
def SCT_ReadoutGeometryCfg(flags)
Definition: SCT_GeoModelConfig.py:51
python.SiClusterizationToolConfig.ITkNnClusterizationFactoryCfg
def ITkNnClusterizationFactoryCfg(flags, name="ITkNnClusterizationFactory", **kwargs)
Definition: SiClusterizationToolConfig.py:293
python.PixelReadoutGeometryConfig.ITkPixelReadoutManagerCfg
def ITkPixelReadoutManagerCfg(flags, name="ITkPixelReadoutManager", **kwargs)
Definition: PixelReadoutGeometryConfig.py:13
python.SiClusterizationToolConfig.InDetPixelRDOToolCfg
def InDetPixelRDOToolCfg(flags, name="InDetPixelRDOTool", **kwargs)
Definition: SiClusterizationToolConfig.py:75
python.SiClusterizationToolConfig.SCT_ClusteringToolCfg
def SCT_ClusteringToolCfg(flags, name="InDetSCT_ClusteringTool", **kwargs)
Definition: SiClusterizationToolConfig.py:372
python.SiClusterizationToolConfig.TrigNnClusterizationFactoryCfg
def TrigNnClusterizationFactoryCfg(flags, name="TrigNnClusterizationFactory")
Definition: SiClusterizationToolConfig.py:269
python.SiClusterizationToolConfig.Trig_SCT_ClusteringToolCfg
def Trig_SCT_ClusteringToolCfg(flags, name="Trig_SCT_ClusteringTool", **kwargs)
Definition: SiClusterizationToolConfig.py:408
PixelConditionsConfig.PixelOfflineCalibCondAlgCfg
def PixelOfflineCalibCondAlgCfg(flags, name="PixelOfflineCalibCondAlg", **kwargs)
Definition: PixelConditionsConfig.py:285
PixelGeoModelConfig.PixelReadoutGeometryCfg
def PixelReadoutGeometryCfg(flags)
Definition: PixelGeoModelConfig.py:52
python.OutputStreamConfig.addToESD
def addToESD(flags, itemOrList, **kwargs)
Definition: OutputStreamConfig.py:127
python.IOVDbSvcConfig.addFoldersSplitOnline
def addFoldersSplitOnline(flags, detDb, onlineFolders, offlineFolders, className=None, extensible=False, addMCString='_OFL', splitMC=False, tag=None, forceDb=None, modifiers='')
Definition: IOVDbSvcConfig.py:153
python.SiClusterizationToolConfig.HitsToxAODCopierCfg
def HitsToxAODCopierCfg(flags)
Definition: SiClusterizationToolConfig.py:506
python.TrkNeuralNetworkUtilsConfig.NeuralNetworkToHistoToolCfg
def NeuralNetworkToHistoToolCfg(flags, name="NeuralNetworkToHistoTool", **kwargs)
Definition: TrkNeuralNetworkUtilsConfig.py:6
python.SiClusterizationToolConfig.PixelClusterNnWithTrackCondAlgCfg
def PixelClusterNnWithTrackCondAlgCfg(flags, name="PixelClusterNnWithTrackCondAlg")
Definition: SiClusterizationToolConfig.py:204
PixelConditionsConfig.PixelDetectorElementStatusAlgCfg
def PixelDetectorElementStatusAlgCfg(flags, name="PixelDetectorElementStatusAlg", **kwargs)
Definition: PixelConditionsConfig.py:367
python.ITkStripConditionsToolsConfig.ITkStripConditionsSummaryToolCfg
def ITkStripConditionsSummaryToolCfg(flags, name="ITkStripConditionsSummaryTool", **kwargs)
Definition: ITkStripConditionsToolsConfig.py:16
python.SCT_LorentzAngleConfig.SCT_LorentzAngleToolCfg
def SCT_LorentzAngleToolCfg(flags, name="SCTLorentzAngleTool", **kwargs)
Definition: SCT_LorentzAngleConfig.py:10
python.SiClusterizationToolConfig.TruthClusterizationFactoryCfg
def TruthClusterizationFactoryCfg(flags, name='TruthClusterizationFactory', **kwargs)
Definition: SiClusterizationToolConfig.py:461
python.OutputStreamConfig.addToAOD
def addToAOD(flags, itemOrList, **kwargs)
Definition: OutputStreamConfig.py:142
python.SiClusterizationToolConfig.ClusterMakerToolCfg
def ClusterMakerToolCfg(flags, name="InDetClusterMakerTool", **kwargs)
Definition: SiClusterizationToolConfig.py:10
ITkPixelConditionsConfig.ITkPixelChargeCalibCondAlgCfg
def ITkPixelChargeCalibCondAlgCfg(flags, name="ITkPixelChargeCalibCondAlg", **kwargs)
Definition: ITkPixelConditionsConfig.py:74
python.SiClusterizationToolConfig.ITKStrip_SCT_ClusteringToolCfg
def ITKStrip_SCT_ClusteringToolCfg(flags, name="ITkStripClusteringTool", **kwargs)
Definition: SiClusterizationToolConfig.py:427
python.PixelReadoutGeometryConfig.PixelReadoutManagerCfg
def PixelReadoutManagerCfg(flags, name="PixelReadoutManager", **kwargs)
Definition: PixelReadoutGeometryConfig.py:6
python.SiClusterizationToolConfig.TrigPixelRDOToolCfg
def TrigPixelRDOToolCfg(flags, name="InDetTrigPixelRDOTool")
Definition: SiClusterizationToolConfig.py:122
python.SiClusterizationToolConfig.PixelClusterNnCondAlgCfg
def PixelClusterNnCondAlgCfg(flags, name="PixelClusterNnCondAlg", trackNetwork=False, **kwargs)
Definition: SiClusterizationToolConfig.py:164