Answering to 5:
For deleting the previous cycle and just stay with the newest one, use instead:
tree->Write("",kWriteDelete);
Answering to 5:
For deleting the previous cycle and just stay with the newest one, use instead:
tree->Write("",kWriteDelete);