Tutorials

ROOT offers a rich set of tutorials that allow you to see ROOT’s building blocks “in action”, as part of more complex programs. They are separated in two categories: C++ or Python scripts and Jupyter Notebooks.

The tutorials are available for all major ROOT releases. These are the links for their latest version.

Most tutorials are also available in a form of a ROOTBook which can be visualized in a NBViewer or run interactively using SWAN, indicated with View in nbviewer Open in SWAN badges respectively.

Once you properly setup the ROOT environment, all the tutorials are available on your machine in the $ROOTSYS/tutorials folder. You can then execute/read the macros to learn from the examples. Do not hesitate to comment out or add your own code to these tutorials macros to interactively learn how ROOT works.

From the long list of tutorials, we suggest that you start with: