back with another quick question in learning how to use uproot correctly. I am trying to load a Delphes output .root file and I am trying to transition from using uproot.open to using uproot.lazyarrays in order to use split MC files, and when I naively tried to approach this I had trouble getting some of the information from the .root file.
I can properly open any file with uproot.open and get all contents, and the "show" command lists them all.
Track TStreamerInfo asdtype('>i4')
Track.PT TStreamerBasicType asjagged(asdtype('>f4'))
LargeJet TStreamerInfo asdtype('>i4')
LargeJet.PT TStreamerBasicType asjagged(asdtype('>f4'))
events = uproot.lazyarrays("*.root","Delphes")
print(len(events)) # correct merged event number
print(events._contents["Track.PT"]) # shows correctly
print(events._contents["LargeJet.PT"]) # shows ([] [] [] ... [])
events = uproot.open("tag_1_delphes_events.root")["Delphes"]
events = events.arrays(["LargeJet.PT"],outputtype=tuple)
print(events) # shows correctly
I'd expect the lazyarrays to be loaded correctly for all contents, however it seems that I can't get some of the contents, and I can't understand which and by what rule. I'm using PyCharm and I can access the content of the loaded files and see which arrays are loaded and which are not.
What could be the reason for and/or how do I handle this?