Skip to content

ROOT

ROOT is the common framework used for analyzing data inside particle physics environments. It contains tools for storing data, visualizing results, statistical tests and many other common tasks.

For new users:

One you understand the basics:

  • ROOT Manual: Extensive manual about all ROOT functionality.
  • ROOT Tutorials: The tutorials contain examples of common workflows.
  • Reference Guide: ROOT API documentation. Class functions are described in details here.

ROOT and Python

There are two ways to interact with ROOT files in Python. Either using the official ROOT bindings (PyROOT) or by using popular Python libarires and uproot to open files.

PyROOT

These are the official python bindings for ROOT. They are just a Python wrapper around the C++ ROOT.

uproot

This is a lightweight implementation of the ROOT I/O with a more modern API. It is designed as Python-first and interacts libraries that most students might already know from courses (ie: matplotlib for plotting).

Tips and Tricks