3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
7 name: str =
"ActsGaussianSumFitter",
8 **kwargs) -> ComponentAccumulator:
11 kwargs.setdefault(
"RefitOnly",
True)
13 kwargs.setdefault(
"UseDirectNavigation",
False)
14 kwargs.setdefault(
"ComponentMergeMethod",
"eMaxWeight")
15 kwargs.setdefault(
"MaxComponents", 12)
17 if "TrackingGeometryTool" not in kwargs:
18 from ActsConfig.ActsGeometryConfig
import ActsTrackingGeometryToolCfg
21 if "ExtrapolationTool" not in kwargs:
22 from ActsConfig.ActsGeometryConfig
import ActsExtrapolationToolCfg
23 kwargs[
"ExtrapolationTool"] = acc.popToolsAndMerge(
27 if 'ATLASConverterTool' not in kwargs:
28 from ActsConfig.ActsEventCnvConfig
import ActsToTrkConverterToolCfg
31 if 'BoundaryCheckTool' not in kwargs:
32 if flags.Detector.GeometryITk:
33 from InDetConfig.InDetBoundaryCheckToolConfig
import ITkBoundaryCheckToolCfg
36 from InDetConfig.InDetBoundaryCheckToolConfig
import InDetBoundaryCheckToolCfg
39 acc.setPrivateTools(CompFactory.ActsTrk.GaussianSumFitter(name, **kwargs))