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")
 
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 500 of file SiClusterizationToolConfig.py.

500 def HitsToxAODCopierCfg(flags):
501  ca = ComponentAccumulator()
502  from InDetConfig.SiClusterizationToolConfig import ITkPixelRDOToolCfg
503  tool = ca.popToolsAndMerge(ITkPixelRDOToolCfg(flags))
504  alg = CompFactory.InDet.HitsToxAODCopier(PixelRDOTool=tool, PixelRDOContainerKey="ITkPixelRDOs")
505  ca.addEventAlgo(alg)
506 
507  from OutputStreamAthenaPool.OutputStreamConfig import addToESD, addToAOD
508  # for the available content of this collection, consult the HitsToxAODCopier.cxx
509  toRecod = [ "xAOD::BaseContainer#PixelHits", "xAOD::AuxContainerBase#PixelHitsAux.col.row.tot.eta_module.phi_module.layer_disk.barrel_ec.detid",
510  "xAOD::BaseContainer#StripHits", "xAOD::AuxContainerBase#StripHitsAux.strip.side.eta_module.phi_module.layer_disk.barrel_ec.detid" ]
511  ca.merge(addToAOD(flags, toRecod))
512  ca.merge(addToESD(flags, toRecod))
513 
514  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 421 of file SiClusterizationToolConfig.py.

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

◆ ITkTruthClusterizationFactoryCfg()

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

Definition at line 466 of file SiClusterizationToolConfig.py.

467  flags, name='ITkTruthClusterizationFactory', **kwargs):
468  acc = ComponentAccumulator()
469 
470  kwargs.setdefault("InputSDOMap", "ITkPixelSDO_Map")
471  kwargs.setdefault("discardPUHits", flags.Digitization.PileUp)
472  kwargs.setdefault("truthClusterSplittingEff", flags.Tracking.TruthClusterSplittingEff)
473  acc.setPrivateTools(
474  CompFactory.InDet.TruthClusterizationFactory(name, **kwargs))
475  return acc
476 
477 

◆ ITkTruthPixelClusterSplitProbToolCfg()

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

Definition at line 489 of file SiClusterizationToolConfig.py.

490  flags, name="ITkTruthPixelClusterSplitProbTool", **kwargs):
491  acc = ComponentAccumulator()
492  kwargs.setdefault("PriorMultiplicityContent", [1, 1, 1])
493  kwargs.setdefault("NnClusterizationFactory", acc.popToolsAndMerge(
495  acc.setPrivateTools(
496  CompFactory.InDet.TruthPixelClusterSplitProbTool(name, **kwargs))
497  return acc
498 
499 

◆ 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 
381  if "conditionsTool" not in kwargs:
382  from SCT_ConditionsTools.SCT_ConditionsToolsConfig import (
383  SCT_ConditionsSummaryToolCfg)
384  kwargs.setdefault("conditionsTool", acc.popToolsAndMerge(
385  SCT_ConditionsSummaryToolCfg(flags, withFlaggedCondTool=False)))
386 
387  if "LorentzAngleTool" not in kwargs:
388  from SiLorentzAngleTool.SCT_LorentzAngleConfig import (
389  SCT_LorentzAngleToolCfg)
390  kwargs.setdefault("LorentzAngleTool", acc.popToolsAndMerge(
391  SCT_LorentzAngleToolCfg(flags)))
392 
393  kwargs.setdefault("globalPosAlg", acc.popToolsAndMerge(
394  ClusterMakerToolCfg(flags)))
395 
396  if flags.InDet.selectSCTIntimeHits:
397  coll_25ns = (flags.Beam.BunchSpacing <= 25 and
398  flags.Beam.Type is BeamType.Collisions)
399  kwargs.setdefault("timeBins", "01X" if coll_25ns else "X1X")
400 
401  acc.setPrivateTools(CompFactory.InDet.SCT_ClusteringTool(name, **kwargs))
402  return acc
403 
404 

◆ Trig_SCT_ClusteringToolCfg()

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

Definition at line 405 of file SiClusterizationToolConfig.py.

405 def Trig_SCT_ClusteringToolCfg(flags, name="Trig_SCT_ClusteringTool"):
406  acc = ComponentAccumulator()
407 
408  from SCT_ConditionsTools.SCT_ConditionsToolsConfig import (
409  SCT_ConditionsSummaryToolCfg)
410  conditionsTool = acc.popToolsAndMerge(SCT_ConditionsSummaryToolCfg(
411  flags, withFlaggedCondTool=False, withTdaqTool=False))
412 
413  acc.setPrivateTools(acc.popToolsAndMerge(SCT_ClusteringToolCfg(
414  flags, name,
415  conditionsTool=conditionsTool,
416  SCTDetElStatus=""
417  )))
418  return acc
419 
420 

◆ 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 455 of file SiClusterizationToolConfig.py.

456  flags, name='TruthClusterizationFactory', **kwargs):
457  acc = ComponentAccumulator()
458 
459  kwargs.setdefault("discardPUHits", flags.Digitization.PileUp)
460  kwargs.setdefault("truthClusterSplittingEff", flags.Tracking.TruthClusterSplittingEff)
461  acc.setPrivateTools(
462  CompFactory.InDet.TruthClusterizationFactory(name, **kwargs))
463  return acc
464 
465 

◆ TruthPixelClusterSplitProbToolCfg()

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

Definition at line 478 of file SiClusterizationToolConfig.py.

479  flags, name="TruthPixelClusterSplitProbTool", **kwargs):
480  acc = ComponentAccumulator()
481  kwargs.setdefault("PriorMultiplicityContent", [1, 1, 1])
482  kwargs.setdefault("NnClusterizationFactory", acc.popToolsAndMerge(
484  acc.setPrivateTools(
485  CompFactory.InDet.TruthPixelClusterSplitProbTool(name, **kwargs))
486  return acc
487 
488 
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:489
python.SiClusterizationToolConfig.ITkPixelGangedAmbiguitiesFinderCfg
def ITkPixelGangedAmbiguitiesFinderCfg(flags, name="ITkPixelGangedAmbiguitiesFinder", **kwargs)
Definition: SiClusterizationToolConfig.py:360
python.SiClusterizationToolConfig.TruthPixelClusterSplitProbToolCfg
def TruthPixelClusterSplitProbToolCfg(flags, name="TruthPixelClusterSplitProbTool", **kwargs)
Definition: SiClusterizationToolConfig.py:478
python.SiClusterizationToolConfig.ITkTruthClusterizationFactoryCfg
def ITkTruthClusterizationFactoryCfg(flags, name='ITkTruthClusterizationFactory', **kwargs)
Definition: SiClusterizationToolConfig.py:466
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
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:42
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
PixelConditionsConfig.PixelOfflineCalibCondAlgCfg
def PixelOfflineCalibCondAlgCfg(flags, name="PixelOfflineCalibCondAlg", **kwargs)
Definition: PixelConditionsConfig.py:285
PixelGeoModelConfig.PixelReadoutGeometryCfg
def PixelReadoutGeometryCfg(flags)
Definition: PixelGeoModelConfig.py:42
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.Trig_SCT_ClusteringToolCfg
def Trig_SCT_ClusteringToolCfg(flags, name="Trig_SCT_ClusteringTool")
Definition: SiClusterizationToolConfig.py:405
python.SiClusterizationToolConfig.HitsToxAODCopierCfg
def HitsToxAODCopierCfg(flags)
Definition: SiClusterizationToolConfig.py:500
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
ITkPixelGeoModelConfig.ITkPixelReadoutGeometryCfg
def ITkPixelReadoutGeometryCfg(flags, setGeometryAlignable=False, setAlignmentFolderName="/Indet/Align")
Definition: ITkPixelGeoModelConfig.py:39
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
ITkStripGeoModelConfig.ITkStripReadoutGeometryCfg
def ITkStripReadoutGeometryCfg(flags, setGeometryAlignable=False, setAlignmentFolderName="/Indet/Align")
Definition: ITkStripGeoModelConfig.py:39
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:455
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:421
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