From f5c16acd2d53677d44a2b54a1cecf535922321fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20L=C3=B6her?= Date: Fri, 15 Dec 2023 00:23:19 +0100 Subject: [PATCH] Fix root output component names. --- source/digits_hits/src/GateToTree.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/digits_hits/src/GateToTree.cc b/source/digits_hits/src/GateToTree.cc index f85f06eaa..0fa5671ef 100644 --- a/source/digits_hits/src/GateToTree.cc +++ b/source/digits_hits/src/GateToTree.cc @@ -495,7 +495,7 @@ void GateToTree::RecordBeginOfAcquisition() { if (!m_outputIDHasName[k][depth]) continue; std::stringstream ss; - ss << system->GetOwnName() << "/" << m_outputIDName[k][depth]; + ss << system->GetOwnName() << "_" << m_outputIDName[k][depth]; mm.write_variable(ss.str(), &m_outputID[0][k][depth]); } } @@ -648,7 +648,7 @@ void GateToTree::RecordBeginOfAcquisition() { if (!m_outputIDHasName[k][depth]) continue; std::stringstream ss; - ss << system->GetOwnName() << "/" << m_outputIDName[k][depth]; + ss << system->GetOwnName() << "_" << m_outputIDName[k][depth]; mm.write_variable(ss.str(), &m_outputID[0][k][depth]); } } @@ -822,7 +822,7 @@ void GateToTree::RecordBeginOfAcquisition() { if (!m_outputIDHasName[k][depth]) continue; std::stringstream ss; - ss << system->GetOwnName() << "/" << m_outputIDName[k][depth] << side; + ss << system->GetOwnName() << "_" << m_outputIDName[k][depth] << side; mm.write_variable(ss.str(), &m_outputID[side - 1][k][depth]); } }