Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

3.7.0rc1

Compare
Choose a tag to compare
@jpivarski jpivarski released this 14 Jun 23:47
· 462 commits to master since this release
5b26faf

First version with lazy profiles:

a = uproot.lazyarrays("nanoaod*.root", "Events", profile="cms.nanoaod")
a.electrons              # jagged array of electron objects
a.electrons.pt           # jagged array of electron pT
a.electrons.photon       # jagged, masked array of the photons linked to each electron (if any)
a.electrons.photon.pt    # their pT
a.photons.pt             # this is different

The profile restructures the lazy array so that—without triggering any reads—it has a physics-friendly nested structure.