diff --git a/NPLib/IORoot/RootOutput.cxx b/NPLib/IORoot/RootOutput.cxx index 736de7f9a23556c0ecb7a38cb046bcb231c565fd..28e3eddba5505c8369786d5bc3ba4d8e0f812eb5 100644 --- a/NPLib/IORoot/RootOutput.cxx +++ b/NPLib/IORoot/RootOutput.cxx @@ -134,7 +134,7 @@ RootOutput::~RootOutput() cout << endl; cout << "Got histograms and Tree !" << endl; cout << " - Number of entries in the Tree: " << pRootTree->GetEntries() << endl; - cout << " - Number of bites written to file: " << pRootTree->Write() << endl; + cout << " - Number of bites written to file: " << pRootTree->Write("", TObject::kOverwrite) << endl; // write TAsciiFile if used // EventGenerator