21 execution_provider = flags.AthOnnx.ExecutionProvider
22 pathToHFVetoModels =
'TauAnalysisTools/00-04-00/HFVeto'
23 model_fname_bveto1p = f
'{pathToHFVetoModels}/bveto1p.onnx'
24 model_fname_bveto3p = f
'{pathToHFVetoModels}/bveto3p.onnx'
25 model_fname_cveto1p = f
'{pathToHFVetoModels}/cveto1p.onnx'
26 model_fname_cveto3p = f
'{pathToHFVetoModels}/cveto3p.onnx'
27 from AthOnnxComps.OnnxRuntimeInferenceConfig
import OnnxRuntimeInferenceToolCfg
28 kwargs.setdefault(
"bveto1p", acc.popToolsAndMerge(
31 kwargs.setdefault(
"bveto3p", acc.popToolsAndMerge(
34 kwargs.setdefault(
"cveto1p", acc.popToolsAndMerge(
37 kwargs.setdefault(
"cveto3p", acc.popToolsAndMerge(
40 tool = CompFactory.TauAnalysisTools.TauHFVetoTool(name, **kwargs)
41 acc.setPrivateTools(tool)