ATLAS Offline Software
Loading...
Searching...
No Matches
CaloExtensionBuilderConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3
4def ActsCaloExtensionBuilderCfg(flags, name="ActsCaloExtensionBuilder", **kwargs):
5
6 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
7 from AthenaConfiguration.ComponentFactory import CompFactory
8
9 result = ComponentAccumulator()
10 from ActsConfig.ActsGeometryConfig import ActsExtrapolationToolCfg
11 kwargs.setdefault("ExtrapolationTool", result.popToolsAndMerge(ActsExtrapolationToolCfg(flags,
12 MaxSteps=10000,
13 InteractionEloss = True,
14 InteractionMultiScatering = True)))
15
16 the_alg = CompFactory.ActsTrk.CaloExtensionAlg(name, **kwargs)
17 result.addEventAlgo(the_alg, primary = True)
18 return result
ActsCaloExtensionBuilderCfg(flags, name="ActsCaloExtensionBuilder", **kwargs)