ATLAS Offline Software
SiZvertexToolConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 # Configuration of SiZvertexTool_xk package
3 from AthenaConfiguration.ComponentFactory import CompFactory
4 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5 
6 def SiZvertexMaker_xkCfg(flags, name="InDetZvertexMaker", **kwargs) :
8 
9  kwargs.setdefault("Zmax", flags.Tracking.ActiveConfig.maxZImpact)
10  kwargs.setdefault("Zmin", -flags.Tracking.ActiveConfig.maxZImpact)
11  kwargs.setdefault("minRatio", 0.17)
12 
13  if "SeedMakerTool" not in kwargs:
14  from InDetConfig.SiSpacePointsSeedToolConfig import (
15  SiSpacePointsSeedMakerCfg)
16  kwargs.setdefault("SeedMakerTool", acc.popToolsAndMerge(
18 
19  if flags.Tracking.ActiveConfig.extension == "HeavyIon":
20  kwargs.setdefault("HistSize", 2000)
21  kwargs.setdefault("minContent", 30)
22 
23  acc.setPrivateTools(CompFactory.InDet.SiZvertexMaker_xk(
24  name+flags.Tracking.ActiveConfig.extension, **kwargs))
25  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.SiSpacePointsSeedToolConfig.SiSpacePointsSeedMakerCfg
def SiSpacePointsSeedMakerCfg(flags, **kwargs)
Definition: SiSpacePointsSeedToolConfig.py:131
python.SiZvertexToolConfig.SiZvertexMaker_xkCfg
def SiZvertexMaker_xkCfg(flags, name="InDetZvertexMaker", **kwargs)
Definition: SiZvertexToolConfig.py:6