Skip to content

Commit

Permalink
Merge pull request #714 from bl0x/fix_root_output_component_names
Browse files Browse the repository at this point in the history
Fix root output component names.
  • Loading branch information
kochebina authored Jan 7, 2025
2 parents 39f753d + f5c16ac commit 145ee0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/digits_hits/src/GateToTree.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
}
Expand Down Expand Up @@ -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]);
}
}
Expand Down Expand Up @@ -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]);
}
}
Expand Down

0 comments on commit 145ee0e

Please sign in to comment.