ATLAS Offline Software
Loading...
Searching...
No Matches
python.InDetSecVtxFinderConfig Namespace Reference

Functions

 InDetSecVtxFinderAlgCfg (flags, name="InDetSecVtxFinderAlg", **kwargs)

Function Documentation

◆ InDetSecVtxFinderAlgCfg()

python.InDetSecVtxFinderConfig.InDetSecVtxFinderAlgCfg ( flags,
name = "InDetSecVtxFinderAlg",
** kwargs )
return a CA with configured SecVtxFinderAlg 

Definition at line 9 of file InDetSecVtxFinderConfig.py.

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