Clement Helsens
2014-09-10 08:38:26 UTC
Dear ROOT support,
that might be an easy question to answer, but I can not find the solution to my problem.
I have a TTree containing a vector of integer: "jetsid : vector<int>"
To draw the size of it Im simply doing:
truth->Draw("@jetsid.size()")
now, I can not find a way to draw the number of elements of my vector that have a given value, for instance 5 to select b-quarks.
Thanks for the help!
Clement
that might be an easy question to answer, but I can not find the solution to my problem.
I have a TTree containing a vector of integer: "jetsid : vector<int>"
To draw the size of it Im simply doing:
truth->Draw("@jetsid.size()")
now, I can not find a way to draw the number of elements of my vector that have a given value, for instance 5 to select b-quarks.
Thanks for the help!
Clement