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 as ROOTBook which can be visualized in NBViewer or tried interactively in SWAN. Such tutorials are marked with these badges: View in nbviewer Open in SWAN

Once you have properly setup the ROOT environment, all the tutorials will be available on your machine in the $ROOTSYS/tutorials folder. You can then execute/read the macros there to learn from the examples. Do not hesitate to comment out/ add code to these tutorials macros to learn interactively how ROOT works. Among the long list of tutorials you may want to start with: histograms, graphs, graphics and trees.