Skip to content

PyHEP Upgrade Release

Compare
Choose a tag to compare
@gordonwatts gordonwatts released this 11 Aug 23:33
· 58 commits to master since this release
9e4b83c

These changes and fixes came from our stress test running on the CMS Run 1 AOD Data for the Higgs Rediscovery

  • Added more CMS AOD Type info (far from complete!)
  • Upgrade to modern version of awkward for behind-the-scenes work
  • Now possible to do null checks - isNonNull from CMS, specifically. Implemented as an add-on function, not something that is central to the design of the code generator, unfortunately.
  • One can now extract member variables of C++ structs and classes
  • If the top level Select statement is resolves to a dictionary, then a ROOT file with columns the names of the dictionary items will be written out automatically (no need for AsROOT or etc.). This brings it in line with uproot's transformer support.
  • Much like tuple resolution, one now has inline dict resolution. This should make it much easier to build new data models on the fly if need be.
  • Fixed a bug in scoping of representations, which should make deeply nested statement translation (more) robust.
  • Added the "**" python operator (pow in C++)
  • Technical debt, some of it at least, repaied.
  • Improvements to test coverage