From 731fbc6f7243e69f44d2e3b8e0008599c9a27065 Mon Sep 17 00:00:00 2001
From: Manuel Guth <manuel.guth@cern.ch>
Date: Fri, 23 Apr 2021 11:12:36 +0200
Subject: [PATCH] DL2 adaptions to be able to run umami

---
 PhysicsAnalysis/JetTagging/FlavorTagDiscriminants/Root/DL2.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PhysicsAnalysis/JetTagging/FlavorTagDiscriminants/Root/DL2.cxx b/PhysicsAnalysis/JetTagging/FlavorTagDiscriminants/Root/DL2.cxx
index 24997df8793c..c057b8edc839 100644
--- a/PhysicsAnalysis/JetTagging/FlavorTagDiscriminants/Root/DL2.cxx
+++ b/PhysicsAnalysis/JetTagging/FlavorTagDiscriminants/Root/DL2.cxx
@@ -29,7 +29,7 @@ namespace FlavorTagDiscriminants {
            std::map<std::string, std::string> out_remap,
            OutputType output_type):
     m_input_node_name(""),
-    m_graph(new lwt::LightweightGraph(graph_config)),
+    m_graph(new lwt::LightweightGraph(graph_config,graph_config.outputs.begin()->first)),
     m_variable_cleaner(nullptr)
   {
     using namespace internal;
-- 
GitLab