7 name: str=
'ActsAnalogueClusteringTool',
8 **kwargs) -> ComponentAccumulator:
10 if not flags.Detector.GeometryITk:
11 raise Exception(
"Acts Analogue Clustering calibration only supports ITk!")
15 from PixelConditionsAlgorithms.ITkPixelConditionsConfig
import ITkPixelOfflineCalibCondAlgCfg
18 kwargs.setdefault(
"DetEleCollKey",
"ITkPixelDetectorElementCollection")
19 kwargs.setdefault(
"PixelOfflineCalibData",
"ITkPixelOfflineCalibData")
21 if 'PixelLorentzAngleTool' not in kwargs:
22 from SiLorentzAngleTool.ITkPixelLorentzAngleConfig
import ITkPixelLorentzAngleToolCfg
25 acc.setPrivateTools(CompFactory.ActsTrk.ITkAnalogueClusteringTool(name, **kwargs))