3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
9 if "TrackTruthSimilarityTool" not in kwargs:
10 from TrkConfig.TrkTruthCreatorToolsConfig
import InDetTruthMatchToolCfg
11 kwargs.setdefault(
"TrackTruthSimilarityTool", acc.popToolsAndMerge(
14 acc.addEventAlgo(CompFactory.TrackTruthSimilaritySelector(kwargs[
"OutputName"]+name, **kwargs))
20 if "TrackTruthSimilarityTool" not in kwargs:
21 from TrkConfig.TrkTruthCreatorToolsConfig
import ITkTruthMatchToolCfg
22 kwargs.setdefault(
"TrackTruthSimilarityTool", acc.popToolsAndMerge(
25 acc.addEventAlgo(CompFactory.TrackTruthSimilaritySelector(kwargs[
"OutputName"]+name, **kwargs))
30 kwargs.setdefault(
"DetailedTrackTruthName", tracks+
"DetailedTruth")
31 kwargs.setdefault(
"OutputName", tracks+
"Truth")
32 acc.addEventAlgo(CompFactory.TrackTruthSelector(tracks+name, **kwargs))
37 kwargs.setdefault(
"TrackTruthName", tracks+
"Truth")
38 acc.addEventAlgo(CompFactory.TrackParticleTruthAlg(tracks+name, **kwargs))