|
ATLAS Offline Software
|
◆ InDetPriVxFinderCfg()
ComponentAccumulator python.InDetPriVxFinderConfig.InDetPriVxFinderCfg |
( |
|
flags, |
|
|
str |
name = "InDetPriVxFinder" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 7 of file InDetPriVxFinderConfig.py.
8 name: str =
"InDetPriVxFinder",
9 **kwargs) -> ComponentAccumulator:
12 if "VertexCollectionSortingTool" not in kwargs:
13 from TrkConfig.TrkVertexToolsConfig
import (
14 VertexCollectionSortingToolCfg)
15 kwargs.setdefault(
"VertexCollectionSortingTool", acc.popToolsAndMerge(
18 if "VertexFinderTool" not in kwargs:
19 from InDetConfig.InDetPriVxFinderToolConfig
import (
21 kwargs.setdefault(
"VertexFinderTool", acc.popToolsAndMerge(
24 kwargs.setdefault(
"doVertexSorting",
True)
26 if flags.Tracking.perigeeExpression ==
"Vertex":
27 from xAODTrackingCnv.xAODTrackingCnvConfig
import (
28 BeamLineTrackParticleCnvAlgCfg)
29 from InDetConfig.TrackRecoConfig
import (
30 ClusterSplitProbabilityContainerName)
33 ClusterSplitProbabilityName = \
35 AssociationMapName =
"PRDtoTrackMapMerge_CombinedInDetTracks",
36 xAODTrackParticlesFromTracksContainerName = \
37 "InDetTrackParticlesTemporary"))
38 kwargs[
"TracksName"]=
"InDetTrackParticlesTemporary"
40 acc.addEventAlgo(CompFactory.InDet.InDetPriVxFinder(name, **kwargs))
◆ InDetTrigPriVxFinderCfg()
ComponentAccumulator python.InDetPriVxFinderConfig.InDetTrigPriVxFinderCfg |
( |
|
flags, |
|
|
str |
inputTracks, |
|
|
str |
outputVtx, |
|
|
str |
name = "InDetTrigPriVxFinder" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 43 of file InDetPriVxFinderConfig.py.
46 name: str =
"InDetTrigPriVxFinder",
47 **kwargs) -> ComponentAccumulator:
51 kwargs[
"TracksName"] = inputTracks
52 kwargs[
"VxCandidatesOutputName"] = outputVtx
54 if "VertexFinderTool" not in kwargs:
55 from InDetConfig.InDetPriVxFinderToolConfig
import (
56 TrigVertexFinderToolCfg)
57 kwargs.setdefault(
"VertexFinderTool", acc.popToolsAndMerge(
60 if "VertexCollectionSortingTool" not in kwargs:
61 from TrkConfig.TrkVertexToolsConfig
import (
62 SumPt2VertexCollectionSortingToolCfg)
63 kwargs.setdefault(
"VertexCollectionSortingTool", acc.popToolsAndMerge(
66 if "PriVxMonTool" not in kwargs:
67 from InDetPriVxFinder.InDetPriVxFinderMonitoring
import (
68 InDetPriVxFinderMonitoringTool)
71 kwargs.setdefault(
"doVertexSorting",
True)
73 acc.addEventAlgo(CompFactory.InDet.InDetPriVxFinder(name+flags.Tracking.ActiveConfig.input_name,
◆ primaryVertexFindingCfg()
ComponentAccumulator python.InDetPriVxFinderConfig.primaryVertexFindingCfg |
( |
|
flags, |
|
|
str |
name = "InDetPriVxFinder" , |
|
|
str |
vxCandidatesOutputName = "PrimaryVertices" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 78 of file InDetPriVxFinderConfig.py.
79 name: str =
"InDetPriVxFinder",
80 vxCandidatesOutputName: str =
"PrimaryVertices",
81 **kwargs) -> ComponentAccumulator:
85 VxCandidatesOutputName=vxCandidatesOutputName,
88 if flags.Tracking.perigeeExpression ==
"Vertex":
89 from xAODTrackingCnv.xAODTrackingCnvConfig
import TrackParticleCnvAlgCfg
90 from InDetConfig.TrackRecoConfig
import (
91 ClusterSplitProbabilityContainerName)
96 AssociationMapName=
"PRDtoTrackMapMerge_CombinedInDetTracks"))
98 from OutputStreamAthenaPool.OutputStreamConfig
import addToESD, addToAOD
100 excludedVtxAuxData =
"-vxTrackAtVertex.-MvfFitInfo.-isInitialized.-VTAV.-TruthEventMatchingInfos.-TruthEventRawMatchingInfos.-VertexMatchType"
101 verticesContainer = [
102 f
"xAOD::VertexContainer#{vxCandidatesOutputName}",
103 f
"xAOD::VertexAuxContainer#{vxCandidatesOutputName}Aux." + excludedVtxAuxData,
106 acc.merge(
addToAOD(flags, verticesContainer))
107 acc.merge(
addToESD(flags, verticesContainer))
◆ acc
python.InDetPriVxFinderConfig.acc = MainServicesCfg(flags) |
◆ Files
python.InDetPriVxFinderConfig.Files |
◆ flags
python.InDetPriVxFinderConfig.flags = initConfigFlags() |
◆ mlog
python.InDetPriVxFinderConfig.mlog = logging.getLogger("primaryVertexFindingConfigTest") |
◆ nestLevel
python.InDetPriVxFinderConfig.nestLevel |
◆ printDefaults
python.InDetPriVxFinderConfig.printDefaults |
◆ setup
python.InDetPriVxFinderConfig.setup |
def SumPt2VertexCollectionSortingToolCfg(flags, name="SumPt2VertexCollectionSortingTool", **kwargs)
ComponentAccumulator InDetPriVxFinderCfg(flags, str name="InDetPriVxFinder", **kwargs)
ComponentAccumulator InDetTrigPriVxFinderCfg(flags, str inputTracks, str outputVtx, str name="InDetTrigPriVxFinder", **kwargs)
def ClusterSplitProbabilityContainerName(flags)
def InDetPriVxFinderMonitoringTool(flags)
def VertexCollectionSortingToolCfg(flags, **kwargs)
def addToESD(flags, itemOrList, **kwargs)
def BeamLineTrackParticleCnvAlgCfg(flags, name="BeamLineTrackParticleCnvAlg", ClusterSplitProbabilityName="", AssociationMapName="", **kwargs)
ComponentAccumulator primaryVertexFindingCfg(flags, str name="InDetPriVxFinder", str vxCandidatesOutputName="PrimaryVertices", **kwargs)
def addToAOD(flags, itemOrList, **kwargs)
def TrackParticleCnvAlgCfg(flags, name="TrackParticleCnvAlg", ClusterSplitProbabilityName="", AssociationMapName="", **kwargs)
TrackParticleCnvAlg.