3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
10 cls = CompFactory.Trk.SolenoidParametrizationCondAlg
11 condalg = cls (name=
'SolenoidParametrizationCondAlg', AtlasFieldCacheCondObj =
'fieldCondObj',
12 WriteKey =
'SolenoidParametrization')
13 result.addCondAlgo (condalg)
15 kwargs.setdefault (
'SolenoidParameterizationKey',
'SolenoidParametrization')
16 cls = CompFactory.Trk.SolenoidalIntersector
17 tool = cls (name, **kwargs)
18 result.setPrivateTools (tool)
22 if __name__ ==
"__main__":
23 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
26 acc = SolenoidalIntersectorCfg (flags)
27 print (
'private tools:', acc.popPrivateTools())
28 acc.printConfig (summariseProps=
True)