Skip to content

Commit

Permalink
HitTupleAction: use a better name for the tree so we can use root cli…
Browse files Browse the repository at this point in the history
… to scan it
  • Loading branch information
andresailer committed Dec 10, 2024
1 parent de6495c commit 7c07fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/DDG4/src/HitTupleAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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") ) {
Expand Down

0 comments on commit 7c07fe0

Please sign in to comment.