Nevis Labs ROOT tutorial
Release: May-2025
Generated: 29-May-2025
Contents
- Introduction
- Getting Started
- The Basics
- Walkthrough: Starting ROOT
- Walkthrough: Plotting a function
- Exercise 1: Detective work
- Walkthrough: Working with Histograms
- Walkthrough: Saving and printing your work
- Walkthrough: The ROOT browser
- Walkthrough: Fitting to a Gaussian distribution
- Walkthrough: Fitting to a user-defined function
- Walkthrough: Saving your work, part 2
- Example experiment n-tuple
- Using the Treeviewer
- The Notebook Server
- Decisions
- The RDataframe Path
- RDataFrame concepts
- Walkthrough: Defining an RDataFrame
- Walkthrough: Making Histograms
- Exercise 2: Modifying a histogram
- Exercise 3: Displaying fit parameters
- Walkthrough: Defining our own variables
- Exercise 4: Plotting a derived variable
- Walkthrough: Apply a cut and a count
- Walkthrough: Making scatterplots
- Exercise 5: Two histograms at the same time
- Exercise 6: Trig functions
- Transformations and Actions
- Lazy Evaluation
- Exercise 7: Picking a physics cut
- Exercise 8: A bit more physics
- Exercise 9: Writing the n-tuple
- Writing your own functions
- The Python Path
- A brief review
- Walkthrough: Simple analysis using the Draw command
- Walkthrough: Simple analysis using the Draw command, part 2
- Walkthrough: Using Python to analyze a Tree
- Walkthrough: Using the Python Analyze script (10 minutes)
- Exercise 2: Adding error bars to a histogram
- Exercise 3: Two histograms in the same loop
- Exercise 4: Displaying fit parameters
- Exercise 5: Scatterplot
- Walkthrough: Calculating our own variables
- Exercise 6: Plotting a derived variable
- Exercise 7: Trig functions
- Walkthrough: Applying a cut
- Exercise 8: Picking a physics cut
- Exercise 9: A bit more physics
- Exercise 10: Writing histograms to a file
- Exercise 11: Stand-alone program (optional)
- The C++ Path
- Differences between C++ and Python
- Walkthrough: A simple analysis using the Draw command
- Pointers: A too-short explanation (for those who don’t know
C++ or C) - Walkthrough: A simple analysis using the Draw command, part 2
- Creating a macro…
- Exercise 2: Add error bars to a histogram
- Exercise 3: Drawing two histograms in the same loop
- Exercise 4: Display fit parameters
- Exercise 5: Scatterplots
- Walkthrough: Calculate our own variables
- Exercise 6: Plot a derived variable
- Exercise 7: Trigonometric functions
- Walkthrough: Apply a cut
- Exercise 8: Pick a physics cut
- Exercise 9: A little more physics
- Exercise 10: Write histograms to a file
- Exercise 11: A stand-alone program (optional)
- Intermediate Topics
- Advanced Exercises
- Expert Exercises