it seems that TTree::Branch(name, class_name, *pobj) works for template class with only 1 typename. for 2 and more, i have to use Branch(name, *pobj). I’m not sure if this is some kind of bug or a feature?
They are a priori no such limitation. Can you be more specific (a complete running example is best) showing the case where it fails for you?