TTree::Draw and TVector Branches

I have a TTree with two branches. One branch is an std::vector and the other is a TVectorD, containing the same actual values.

I can do tree->Draw(“vect”) or tree->Draw(“vect:Iteration$”,“Entry$==1”) to visualize the std::vector branch, but if I try the same with the TVectorD, it says:

It seems strange that the standard library here is better supported than the ROOT-equivalent. Though I suppose std::vectors and TVectors are not really equivalent. Is there any plan to add this functionality to TTree::Draw?



You might be able to use ‘vectord->fElements’ to force the looping in TTree::Draw.