3 from TrkConfig.TrkVertexFitterUtilsConfig
import AtlasFullLinearizedTrackFactoryCfg
4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from TrkConfig.AtlasExtrapolatorConfig
import AtlasExtrapolatorCfg
10 """Sets up a InDetJetFitterUtils tool and returns it.
12 The following options have BTaggingFlags defaults:
14 input: name: The name of the tool (should be unique).
15 useBTagFlagsDefaults : Whether to use BTaggingFlags defaults for options that are not specified.
16 **options: Python dictionary with options for the tool.
17 output: The actual tool."""
19 if useBTagFlagsDefaults:
22 defaults = {
'LinearizedTrackFactory': jetFitterFullLinearizedTrackFactory,
23 'Extrapolator' : jetFitterExtrapolator }
24 for option
in defaults:
25 options.setdefault(option, defaults[option])
26 options[
'name'] = name
27 acc.setPrivateTools(CompFactory.InDet.InDetJetFitterUtils(**options))