Welcome to the ROOT Student Guide
This resource is designed to help university students develop the programming and data analysis skills required for experimental physics. The guide combines theoretical explanations, practical C++ examples, interactive visualisations and exercises within a single learning environment.
Explore the guide
-
Fundamentals
Discover the ROOT framework, configure your development environment and review essential C++ concepts.
-
Data storage
Learn how scientific datasets are stored, organised and accessed using ROOT files, trees and branches.
-
Histograms
Construct, manipulate and interpret one-dimensional and multidimensional histograms.
-
Visualisation
Create scientific figures, customise graphical objects and present your analysis results.
-
Statistical analysis
Explore mathematical functions, statistical quantities, probability distributions and function fitting.
Learning objectives
After completing this guide, you should be able to:
- Understand the fundamental structure of ROOT.
- Navigate and inspect ROOT files.
- Read data stored in trees and branches.
- Implement event-level and particle-level analysis.
- Construct and manipulate histograms.
- Apply selection criteria to experimental datasets.
- Perform basic statistical analysis and function fitting.
- Create scientifically meaningful visualisations.
- Interpret and validate your numerical results.
- Independently navigate the official ROOT documentation.
How to use this guide
Each chapter contains theoretical explanations, practical code examples, interactive demonstrations and exercises.
The guide is intended to serve both as a learning resource and as a reference during scientific programming assignments.
Students are encouraged to modify the examples, investigate the behaviour of ROOT objects and develop their own solutions.
Learning through experimentation
Do not simply copy and execute the provided examples. Change the parameters, predict the expected behaviour and compare your predictions with the actual results.
Prerequisites
The guide assumes a basic understanding of:
- C++ programming
- Probability and statistics
- Fundamental concepts of experimental physics
Previous experience with ROOT is not required.
Relevant programming and mathematical concepts are introduced throughout the guide where necessary.
External resources
-
ROOT website
The official CERN ROOT project website.
-
ROOT Manual
Comprehensive documentation of ROOT functionality.
-
Class Reference
Detailed documentation of ROOT classes and methods.
-
ROOT Forum
Community discussions and technical assistance.
An educational resource for university-level scientific programming and experimental data analysis.