What happens with a TTree created without a file after SaveAs() method is called?
Is it possible to recover the tree or the only way to continue is to reload it from the file?
As I understand, the problem is that after SaveAs is called, the file created by ROOT is closed.
The Print() method still shows the correct tree structure, only “All baskets in memory”
change to “File Size = [some_number is here]”
The Show() method gives error:
Error in TTree::Show(): Cannot read entry 0 (I/O error)
Does that mean that the branch data was removed from the memory? If not, is there a way to remedy the problem?
ROOT Version (e.g. 5.34/36) - have to stick with this to support Windows users of our package
Win7 MSVC2013