2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
5 from AthenaConfiguration.ComponentFactory
import CompFactory
12 from TrkConfig.TrkTrackSummaryToolConfig
import InDetTrackSummaryToolCfg
15 acc.setPrivateTools(CompFactory.FillAlignTrkInfo(name, **kwargs))
23 kwargs.setdefault(
"minTimebinsOverThreshold", 0)
25 if "TRTCalDbTool" not in kwargs:
26 from TRT_ConditionsServices.TRT_ConditionsServicesConfig
import (
28 kwargs.setdefault(
"TRTCalDbTool", acc.popToolsAndMerge(
31 if "TRTStrawSummaryTool" not in kwargs:
32 from TRT_ConditionsServices.TRT_ConditionsServicesConfig
import (
33 TRT_StrawStatusSummaryToolCfg)
34 kwargs.setdefault(
"TRTStrawSummaryTool", acc.popToolsAndMerge(
37 if "NeighbourSvc" not in kwargs:
38 from TRT_ConditionsServices.TRT_ConditionsServicesConfig
import (
39 TRT_StrawNeighbourSvcCfg)
40 kwargs.setdefault(
"NeighbourSvc", acc.getPrimaryAndMerge(
43 if "TRTDriftFunctionTool" not in kwargs:
44 from InDetConfig.TRT_DriftFunctionToolConfig
import (
45 TRT_DriftFunctionToolCfg)
46 kwargs.setdefault(
"TRTDriftFunctionTool", acc.popToolsAndMerge(
49 if flags.Output.HISTFileName:
50 kwargs.setdefault(
"NtupleName", flags.Output.HISTFileName)
52 acc.setPrivateTools(CompFactory.FillAlignTRTHits(name, **kwargs))
60 acc.setPrivateTools(CompFactory.FitTool(name, **kwargs))