ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConfig
python
InDetAdaptiveMultiSecVtxFinderToolConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
# Define method to configure AMVF
3
# attempted by N Ribaric (@LancasterUNI) neza.ribaric@cern.ch
4
5
6
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
7
from
AthenaConfiguration.ComponentFactory
import
CompFactory
8
9
10
def
InDetAdaptiveMultiSecVtxFinderToolCfg
(
11
flags, name="InDetAdaptiveMultiSecVtxFinderTool", **kwargs):
12
acc = ComponentAccumulator()
13
14
from
TrkConfig.TrkVertexFittersConfig
import
AdaptiveMultiSecVertexFitterCfg
15
kwargs.setdefault(
"VertexFitterTool"
, acc.popToolsAndMerge(
16
AdaptiveMultiSecVertexFitterCfg(flags)))
17
18
from
InDetTrackSelectionTool.InDetTrackSelectionToolConfig
import
(
19
InDetTrackSelectionTool_AMSVF_Cfg)
20
kwargs.setdefault(
"BaseTrackSelector"
,acc.popToolsAndMerge(
21
InDetTrackSelectionTool_AMSVF_Cfg(flags)))
22
23
from
InDetConfig.InDetSecVtxTrackSelectionToolConfig
import
(
24
InDetSecVtxTrackSelectionToolCfg)
25
kwargs.setdefault(
"SecVtxTrackSelector"
,acc.popToolsAndMerge(
26
InDetSecVtxTrackSelectionToolCfg(flags)))
27
28
from
TrkConfig.TrkVertexSeedFinderToolsConfig
import
(
29
IndexedCrossDistancesSeedFinderCfg)
30
kwargs.setdefault(
"SeedFinder"
,acc.popToolsAndMerge(
31
IndexedCrossDistancesSeedFinderCfg(flags)))
32
33
from
TrkConfig.TrkVertexFitterUtilsConfig
import
(
34
AtlasImpactPoint3dEstimatorCfg)
35
kwargs.setdefault(
"ImpactPoint3dEstimator"
, acc.popToolsAndMerge(
36
AtlasImpactPoint3dEstimatorCfg(flags)))
37
38
acc.setPrivateTools(
39
CompFactory.InDet.InDetAdaptiveMultiSecVtxFinderTool(name, **kwargs))
40
return
acc
python.InDetAdaptiveMultiSecVtxFinderToolConfig.InDetAdaptiveMultiSecVtxFinderToolCfg
InDetAdaptiveMultiSecVtxFinderToolCfg(flags, name="InDetAdaptiveMultiSecVtxFinderTool", **kwargs)
Definition
InDetAdaptiveMultiSecVtxFinderToolConfig.py:11
Generated on
for ATLAS Offline Software by
1.17.0