ATLAS Offline Software
RedoTruthLinksConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 from AthenaConfiguration.ComponentFactory import CompFactory
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 
5 def RedoTruthLinksAlgCfg(flags) :
7  if "xAODTruthLinks" not in flags.Input.Collections:
8  acc.addEventAlgo( CompFactory.xAODMaker.RedoTruthLinksAlg("GEN_AOD2xAOD_links") )
9  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
RedoTruthLinksConfig.RedoTruthLinksAlgCfg
def RedoTruthLinksAlgCfg(flags)
Definition: RedoTruthLinksConfig.py:5