9 """Configure the InDet hard scatter selection tool"""
10 acc = ComponentAccumulator()
12 sortingSetup = flags.Tracking.PriVertex.sortingSetup
14 if sortingSetup
is VertexSortingSetup.SumPt2Sorting:
16 elif sortingSetup
is VertexSortingSetup.SumPtSorting:
18 elif sortingSetup
is VertexSortingSetup.JetWeightedSorting:
20 kwargs.setdefault(
"JetContainer",
"AntiKt4EMTopoJets")
21 elif sortingSetup
is VertexSortingSetup.GNNSorting:
24 kwargs.setdefault(
"SelectionMode", selectionMode)
27 CompFactory.InDet.InDetHardScatterSelectionTool(name, **kwargs))