I would like to use regular expressions in setting the branch status of a TTree. I envision this as being useful for skimming and slimming ntuples. According to the documentation:
I should be able to use TRegex to pick which branches to set the status of. So I try this:
But nothing is left. I also try this:
still no connected branches. Finally I do this:
t->SetBranchStatus(“tau_*”); and this works. But I really want the regex.
Is root thinking that I am trying to split branches by adding the ‘.’? If so then this should be documented more clearly. This does work:
I do see the ‘WARNING WARNING WARNING’ but this does not immediately tell me that the ‘.’ will not work in the SetBranchStatus command the way I might expect. A blurb about ‘.*’ would help. Also I am confused how this works:
is ‘’ converted '.’?