How to generate Skelton class from MakeSelector

I use TSelector for analysing my data.
Earlier when I use MakeSelector to generate skelton class (.C and .h files) it uses fChain->SetBranchAddress. Then I have updated ROOT and now when I try to generate skelton class, It use TTreeReaderValue() function with which I am not much familiar with. Is there a way to generate skelton class with SetBranchAddress() function using new version of ROOT.

ROOT Version: 6.14/04
Platform: Ubuntu 18.04 LTS


Use the "=legacy" option.

The new version is safer to use (in cases of array or collection).
To get the old version you need to pass the string option "=legacy"' to MakeSelector`

Thank you. This is what I was looking for.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.