3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
7 """Configure the tau selection tool"""
9 TauSelectionTool = CompFactory.TauAnalysisTools.TauSelectionTool
10 acc.setPrivateTools(TauSelectionTool(name, **kwargs))
15 tool = CompFactory.TauAnalysisTools.TauTruthMatchingTool(name, **kwargs)
16 acc.setPrivateTools(tool)
21 execution_provider = flags.AthOnnx.ExecutionProvider
22 pathToHFVetoModels =
'TauAnalysisTools/00-04-00/HFVeto'
23 from AthOnnxComps.OnnxRuntimeInferenceConfig
import OnnxRuntimeInferenceToolCfg
24 for model
in (
"bveto1p",
"bveto3p",
"cveto1p",
"cveto3p"):
25 kwargs.setdefault(model, acc.popToolsAndMerge(
28 tool = CompFactory.TauAnalysisTools.TauHFVetoTool(name, **kwargs)
29 acc.setPrivateTools(tool)