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

Hello,

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;
vec.clear();

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

TTree::Reset

Rene

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: