From b10d3032f809ce0a231197897c443bb214070b8d Mon Sep 17 00:00:00 2001 From: Andre Sailer Date: Tue, 10 Dec 2024 16:49:27 +0100 Subject: [PATCH] HitTupleAction: use a better name for the tree so we can use root cli to scan it --- examples/DDG4/src/HitTupleAction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/DDG4/src/HitTupleAction.cpp b/examples/DDG4/src/HitTupleAction.cpp index d7d5f0db1..fc42eb70d 100644 --- a/examples/DDG4/src/HitTupleAction.cpp +++ b/examples/DDG4/src/HitTupleAction.cpp @@ -151,7 +151,7 @@ void myanalysis::HitTupleAction::end(const G4Event* event) { // Name Option Title m_outFile = TFile::Open(m_outFileName.c_str(), "RECREATE", "DDG4 User file"); if ( m_outFile && !m_outFile->IsZombie() ) { - m_outTree = new TTree("DDG4 User Test","DDG4 data"); + m_outTree = new TTree("DDG4_User_Test","DDG4_data"); printout(ALWAYS,"HitTupleAction","+++ Successfully opened ROOT file %s and created TTree:%s", m_outFile->GetName(), "DDG4 User Test"); if ( m_containers.size() == 1 && (m_containers[0] == "*" || m_containers[0] == "ALL") ) {