ATLAS Offline Software
Loading...
Searching...
No Matches
DiTauAnalysisToolsConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory import CompFactory
5
6def DiTauSelectionToolCfg(flags, name, **kwargs):
7 """Configure the ditau selection tool"""
8 acc = ComponentAccumulator()
9 DiTauSelectionTool = CompFactory.TauAnalysisTools.DiTauSelectionTool
10 acc.setPrivateTools(DiTauSelectionTool(name, **kwargs))
11 return acc
12
13def DiTauTruthMatchingToolCfg(flags, name, **kwargs):
14 acc = ComponentAccumulator()
15 tool = CompFactory.TauAnalysisTools.DiTauTruthMatchingTool(name, **kwargs)
16 acc.setPrivateTools(tool)
17 return acc
18
DiTauTruthMatchingToolCfg(flags, name, **kwargs)
DiTauSelectionToolCfg(flags, name, **kwargs)