ATLAS Offline Software
TruthTrackRetrieverConfig.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 TruthTrackRetrieverCfg(flags, name="TruthTrackRetriever", **kwargs):
7  # Based on TruthJiveXML_DataTypes.py (and JiveXML_RecEx_config.py)
8  result = ComponentAccumulator()
9  kwargs.setdefault("StoreGateKey", "TruthEvent")
10  the_tool = CompFactory.JiveXML.TruthTrackRetriever(name, **kwargs)
11  result.addPublicTool(the_tool, primary=True)
12  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
TruthTrackRetrieverConfig.TruthTrackRetrieverCfg
def TruthTrackRetrieverCfg(flags, name="TruthTrackRetriever", **kwargs)
Definition: TruthTrackRetrieverConfig.py:6