ATLAS Offline Software
OverlayUtilitiesConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
3 from AthenaConfiguration.ComponentFactory import CompFactory
4 
5 
6 def OverlayVertexSkimmingAlgCfg(flags, name="OverlayVertexSkimmingAlg", **kwargs):
8  kwargs.setdefault("PrimaryVertexContainerName", f"{flags.Overlay.BkgPrefix}PrimaryVertices")
9  acc.addEventAlgo(CompFactory.OverlayVertexSkimmingAlg(name, **kwargs))
10  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
OverlayUtilitiesConfig.OverlayVertexSkimmingAlgCfg
def OverlayVertexSkimmingAlgCfg(flags, name="OverlayVertexSkimmingAlg", **kwargs)
Definition: OverlayUtilitiesConfig.py:6