Hi,
I would like to suggest a small improvement in the documentation of TTree that could save some debugging time to users. Due to a bug in my program, I started to find only events with length 0. After a lot of cross-checks I discovered that all the branches were disabled ( SetBranchStatus( “name”, 0 ) ). Even if the behaviour of ROOT is perfectly consistent, I suggest to add in the documentation a caveat for a situation like this. In fact, in such a case TTree::GetEntry throws no error, but IMO this is still a symptom of something weird going on with branch statuses.
Regards,
Riccardo