Nov 4 – 8, 2019
Adelaide Convention Centre
Australia/Adelaide timezone

A new PyROOT: Modern, Interoperable and more Pythonic

Nov 7, 2019, 3:30 PM
Hall F (Adelaide Convention Centre)

Hall F

Adelaide Convention Centre

Poster Track 6 – Physics Analysis Posters


Enric Tejedor Saavedra (CERN)


PyROOT is the name of ROOT’s automatic Python bindings, which allow to access all the ROOT functionality implemented in C++ from Python. Thanks to the ROOT type system and the Cling C++ interpreter, PyROOT creates Python proxies for C++ entities on the fly, thus avoiding to generate static bindings beforehand.

PyROOT has been enhanced and modernised to meet the demands of the HEP Python community. On the one hand, it has been redesigned on top of the new Cppyy library, in order to benefit from the modern C++ features supported by the latter. On the other hand, PyROOT is now interoperable with other tools from the Python data science ecosystem, such as NumPy and pandas, being able to expose ROOT data to those tools and vice-versa. Moreover, PyROOT improved on customizing Python language features for C++ objects to blend in seamlessly in the Python ecosystem.

Consider for promotion No

Primary authors

Enric Tejedor Saavedra (CERN) Stefan Wunsch (KIT - Karlsruhe Institute of Technology (DE)) Massimiliano Galli

Presentation materials