How to do Clear() for a TTree? Help :(


I am looking for a way to delete all the entries from a Tree without deleting the Tree itself.

For example for STL containers:

vector vec;

Please help me f you know how do that.
Thanks :slight_smile:



Thanks a lot :slight_smile:

A little suggestion: it would be nice to extend the comment in the source code for
this function (Reset). At least I did not catch from it what the function really does :wink: