Speeding up Tree reading on TTreeReader class

Dears,

In the TTree class we have the member class TTree::SetBranchStatus(…) to disable some branch we want in a Tree in analysis to speed up the process. I would like to know if the class TTreeReader is constructed to already take this property into account or we also should speed up the reading of a Tree using some TTreeReader class member (or is not possible to do such kind of thing). I look at the documentation of TTreeReader class but, there is no reference to a method that can do that or if it is already implemented inside TTreeReader. Does somebody know something about?

Hi,

TTreeReader takes care of treating all and only branches which are explicitly selected by the user. In other words, no optmisation nor special treatment is needed.

Cheers,
D