30 name: str =
"InDetPriVxFinder",
33 vxCandidatesOutputName: str =
None,
34 **kwargs) -> ComponentAccumulator:
36 if not vxCandidatesOutputName:
37 vxCandidatesOutputName =
"PrimaryVertices"
38 from AthenaConfiguration.Enums
import ProductionStep
39 if flags.Common.ProductionStep
in [ProductionStep.MinbiasPreprocessing]:
40 vxCandidatesOutputName = f
"{flags.Overlay.BkgPrefix}{vxCandidatesOutputName}"
46 VxCandidatesOutputName = vxCandidatesOutputName,
47 TracksName = TracksName,
51 from OutputStreamAthenaPool.OutputStreamConfig
import addToESD, addToAOD
53 excludedVtxAuxData =
"-vxTrackAtVertex.-MvfFitInfo.-isInitialized.-VTAV.-TruthEventMatchingInfos.-TruthEventRawMatchingInfos.-VertexMatchType"
55 f
"xAOD::VertexContainer#{vxCandidatesOutputName}",
56 f
"xAOD::VertexAuxContainer#{vxCandidatesOutputName}Aux." + excludedVtxAuxData,
59 acc.merge(
addToAOD(flags, verticesContainer))
60 acc.merge(
addToESD(flags, verticesContainer))