I have a root file that that has a branch with leaves of all sort. I want to iterate and plot histograms with specific headings.
From this picture, I am attempting to read and plot data on everything that starts with “numberOf” within the InDetTrackParticles.
Right now I have:
f = ROOT.TFile.Open(filename)
t = ROOT.xAOD.MakeTransientTree(f, tree_name)
for i in t:
for j in i.InDetTrackParticles:
But I can’t iterate through j to grab out the stuff I want. Any help would be appreiciated