ATLAS Offline Software
Functions
ActsMeasurementCalibrationConfig Namespace Reference

Functions

ComponentAccumulator ActsAnalogueClusteringToolCfg (flags, str name='ActsAnalogueClusteringTool', **kwargs)
 

Function Documentation

◆ ActsAnalogueClusteringToolCfg()

ComponentAccumulator ActsMeasurementCalibrationConfig.ActsAnalogueClusteringToolCfg (   flags,
str  name = 'ActsAnalogueClusteringTool',
**  kwargs 
)

Definition at line 6 of file ActsMeasurementCalibrationConfig.py.

7  name: str='ActsAnalogueClusteringTool',
8  **kwargs) -> ComponentAccumulator:
9 
10  if not flags.Detector.GeometryITk:
11  raise Exception("Acts Analogue Clustering calibration only supports ITk!")
12 
13  acc = ComponentAccumulator()
14 
15  from PixelConditionsAlgorithms.ITkPixelConditionsConfig import ITkPixelOfflineCalibCondAlgCfg
16  acc.merge(ITkPixelOfflineCalibCondAlgCfg(flags))
17 
18  kwargs.setdefault("DetEleCollKey", "ITkPixelDetectorElementCollection")
19  kwargs.setdefault("PixelOfflineCalibData", "ITkPixelOfflineCalibData")
20 
21  if 'PixelLorentzAngleTool' not in kwargs:
22  from SiLorentzAngleTool.ITkPixelLorentzAngleConfig import ITkPixelLorentzAngleToolCfg
23  kwargs.setdefault("PixelLorentzAngleTool", acc.popToolsAndMerge(ITkPixelLorentzAngleToolCfg(flags)))
24 
25  acc.setPrivateTools(CompFactory.ActsTrk.ITkAnalogueClusteringTool(name, **kwargs))
26  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ActsMeasurementCalibrationConfig.ActsAnalogueClusteringToolCfg
ComponentAccumulator ActsAnalogueClusteringToolCfg(flags, str name='ActsAnalogueClusteringTool', **kwargs)
Definition: ActsMeasurementCalibrationConfig.py:6
python.ITkPixelLorentzAngleConfig.ITkPixelLorentzAngleToolCfg
def ITkPixelLorentzAngleToolCfg(flags, name="ITkPixelLorentzAngleTool", **kwargs)
Definition: ITkPixelLorentzAngleConfig.py:14
ITkPixelConditionsConfig.ITkPixelOfflineCalibCondAlgCfg
def ITkPixelOfflineCalibCondAlgCfg(flags, name="ITkPixelOfflineCalibCondAlg", **kwargs)
Definition: ITkPixelConditionsConfig.py:162