ATLAS Offline Software
ActsPrdAssociationConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
7  name: str = "ActsPrdAssociationAlg",
8  *,
9  previousActsExtension: str = None,
10  **kwargs) -> ComponentAccumulator:
11  acc = ComponentAccumulator()
12  kwargs.setdefault('InputTrackCollection', f'{flags.Tracking.ActiveConfig.extension}ResolvedTracks')
13  kwargs.setdefault('OutputPrdMap', f'{flags.Tracking.ActiveConfig.extension}PrdMap')
14  if previousActsExtension is not None:
15  kwargs.setdefault('InputPrdMap', f'{previousActsExtension}PrdMap')
16  acc.addEventAlgo(CompFactory.ActsTrk.PrdAssociationAlg(name, **kwargs))
17  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ActsPrdAssociationConfig.ActsPrdAssociationAlgCfg
ComponentAccumulator ActsPrdAssociationAlgCfg(flags, str name="ActsPrdAssociationAlg", *str previousActsExtension=None, **kwargs)
Definition: ActsPrdAssociationConfig.py:6