ROOT Tutorials


  1. Starting an Interactive Session
  2. The Hello World Example
  3. Using CINT as Command Line and Macro Interpreter
  4. An Example of Object Oriented User Interface
  5. Reading an ascii file and making an ntuple
  6. An Example Creating Histograms/Ntuples on a File
  7. Filling Several Histograms and Some Graphics Options
  8. Creation of a hierarchy of histograms in direrctories
  9. Simple Formula and Functions
  10. Using the TLatex class
  11. Drawing Feynman diagrams
  12. Various axis formats
  13. Histograms with Random Numbers from a Function
  14. A Simple Fitting Example
  15. Using Minuit to fit non-equidistant points
  16. How to fit in a sub-range of an histogram
  17. Fitting with a user-defined function
  18. Fitting signal + background
  19. Fittings slices of a 2-d histogram
  20. Drawing Options for 1D Histograms
  21. Example of a Simple Graph with axis titles
  22. Example of a Graph with error bars
  23. Example of several graphs with errors in the same pad
  24. A complex example with several graphs and annotations
  25. Superimposing two histograms with two different scales
  26. Surfaces drawing options
  27. The 2-D histograms drawing options
  28. Examples of 3-D Polymarkers
  29. The Geometry Shapes and the X3D viewer
  30. Creating and Viewing Geometries
  31. Ntuples and Selections
  32. Creation of a ROOT Tree (program)
  33. Reading all events of a ROOT Tree (macro)
  34. Copying a subset of a Tree to a new Tree (macro)
  35. Copying a subset of a Tree to a new file (macro)
  36. Reading selected events of a ROOT Tree (macro)
  37. Example of analysis code with Chains (macro)
  38. Example of Minimization (program)
  39. Three "fun" examples (including fully functional Tetris game)
  40. Example of a Menu Controlbar
  41. Using the Collection Classes
  42. Adding Your Own Classes to ROOT
  43. Using CINT as Dictionary Generator
  44. Example of Client-Server communication: the Client
  45. Example of Client-Server communication: the Server
  46. Example of Shared memory: producer
  47. Example of Shared memory: consumer
  48. Extending ROOT with Shared Libraries and an Example of Object I/O
  49. Automatic HTML Document Generation
  50. Use of the time mode on the axis
  51. Example of analysis class for the H1 data
  52. Principal Components Analysis (PCA) Example
  53. Multi Dimensional Fit Example

To run the tutorials yourself download the ROOT Development Kit (RDK).

The examples have been designed to run on a color workstation. Opaque moving of objects in the canvas requires a machine with a reasonable response time. If you run these examples on a slow machine or saturated time sharing system, you can remove the line Rint.Canvas.MoveOpaque: true from the file .rootrc to improve dragging performance.


Rene Brun, Fons Rademakers
Last update 9/5/2001 by RB