ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConfig
python
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) :
7
acc = ComponentAccumulator()
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(
17
SiSpacePointsSeedMakerCfg(flags)))
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.SiZvertexToolConfig.SiZvertexMaker_xkCfg
SiZvertexMaker_xkCfg(flags, name="InDetZvertexMaker", **kwargs)
Definition
SiZvertexToolConfig.py:6
Generated on
for ATLAS Offline Software by
1.17.0