10 """ return a CA with configured SecVtxFinderAlg """
11 acc = ComponentAccumulator()
13 from InDetConfig.InDetIncSecVxFinderToolConfig
import InDetIterativeSecVtxFinderToolCfg
14 kwargs.setdefault(
"InclusiveVertexFinderTool", acc.getPrimaryAndMerge(InDetIterativeSecVtxFinderToolCfg(flags)))
16 from InDetConfig.InDetAdaptiveMultiSecVtxFinderToolConfig
import InDetAdaptiveMultiSecVtxFinderToolCfg
17 kwargs.setdefault(
"AdaptiveMultiVertexFinderTool", acc.getPrimaryAndMerge(InDetAdaptiveMultiSecVtxFinderToolCfg(flags)))
19 from TrkConfig.TrkVertexToolsConfig
import SecVertexMergingToolCfg
20 kwargs.setdefault(
"VertexMergingTool", acc.getPrimaryAndMerge(SecVertexMergingToolCfg(flags)))
22 acc.addEventAlgo(CompFactory.InDet.InDetSecVtxFinder(name, **kwargs))