How to read a std::vector values stored in TTree branch?

Do

root [ ] B5->GetEntries()

and if this number is lower than what you see in the plot, yes (unless all vectors have only 1 element or there are many empty vectors! but you get the idea).
To read the vectors and access each element, there are many examples searching this forum, for instance this:

1 Like