ATLAS Offline Software
TauAnalysisToolsConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def TauSelectionToolCfg(ConfigFlags, name, **kwargs):
7  """Configure the tau selection tool"""
9  TauSelectionTool = CompFactory.TauAnalysisTools.TauSelectionTool
10  acc.setPrivateTools(TauSelectionTool(name, **kwargs))
11  return acc
12 
13 def TauTruthMatchingToolCfg(ConfigFlags, name, **kwargs):
14  acc = ComponentAccumulator()
15  tool = CompFactory.TauAnalysisTools.TauTruthMatchingTool(name, **kwargs)
16  acc.setPrivateTools(tool)
17  return acc
18 
19 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
TauAnalysisToolsConfig.TauTruthMatchingToolCfg
def TauTruthMatchingToolCfg(ConfigFlags, name, **kwargs)
Definition: TauAnalysisToolsConfig.py:13
TauAnalysisToolsConfig.TauSelectionToolCfg
def TauSelectionToolCfg(ConfigFlags, name, **kwargs)
Definition: TauAnalysisToolsConfig.py:6