SetBranchAddress strange behaviour or bug

Try with an “analysis skeleton”: