TTreeReader does not find branch, TTree::Draw finds it

Applying the patch is fairly simple, you can create a new git branch in which you pull the changes from that patch:

$ cd path/to/root_sources
$ git checkout -b eguiraud-fix_10702
$ git pull https://github.com/eguiraud/root.git fix_10702

At this point you just have to recompile.

Indeed TTreeReader has several advantages with respect to raw TTree usage, but sometimes it also has bugs :sweat_smile:

If you are looking for a high-level C++ interface for ROOT data processing, you might also be interested in RDataFrame (see here for the advertising forum post), which is based on TTreeReader but offers a nicer interface.

Cheers,
Enrico