i’m trying to access a vector in a tree, say JetsPt, which contains various numbers of jets depending on the event and the Pt for each of them.
Directly from the command line in root, I can access say JetsPt and plot it fine with
I can also, from the command line, do tree->Draw("@JetsPt.size()") and this returns the number of jets in each event.
Trying to do this in pyroot though does not seem to work. I can draw JetsPt but not the size… Is there a way to do this properly?
Thanks in advance!