ATLAS Offline Software
Loading...
Searching...
No Matches
TruthTrackRetrieverConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
3from AthenaConfiguration.ComponentFactory import CompFactory
4
5
6def 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
TruthTrackRetrieverCfg(flags, name="TruthTrackRetriever", **kwargs)