From ff671de5832561954312173836def48d22ff2760 Mon Sep 17 00:00:00 2001 From: Matthias Kleiner Date: Sun, 3 Mar 2024 10:54:35 +0100 Subject: [PATCH] DebugStreamer: remove suffix from tree name - The suffix is just a number like "_0" - where the number corresponds to n-th call to fill the tree --- Common/Utils/src/DebugStreamer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/Utils/src/DebugStreamer.cxx b/Common/Utils/src/DebugStreamer.cxx index 5aafb3467365e..46ff9be83d415 100644 --- a/Common/Utils/src/DebugStreamer.cxx +++ b/Common/Utils/src/DebugStreamer.cxx @@ -166,7 +166,7 @@ void o2::utils::DebugStreamer::mergeTrees(const char* inpFile, const char* outFi TFile fOut(outFile, "RECREATE"); for (auto& list : lists) { auto tree = TTree::MergeTrees(&list.second, option); - fOut.WriteObject(tree, tree->GetName()); + fOut.WriteObject(tree, list.first.data()); } }