TSelector empty

Is there a way to create a TSelector skeleton? I mean, not using TTree::MakeSelector()?
Thanks in advance.

Hi Helena,

TTree::MakeSelector is the only automatic tool to create a TSelector skeleton. The other alternative is to take one of the existing example and adapt. You can also call MakeSelector on an empty TTree:TTree t("tree",""); t.MakeSelector("skeleton");


Great! I was missing the empty TTree
TTree t(“tree”,"");
Fits perfectly my needs.

Many Thanks!