Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
Legacy tutorials

Legacy Tutorials.

Demos and benchmarks

You can execute the scripts in $ROOTSYS/tutorials (or sub-directories) by setting your current directory in the script directory or from any user directory with write access.

Several tutorials create new files. If you have write access to the tutorials directory, the new files will be created in the tutorials directory, otherwise they will be created in the user directory.

You can start by executing the standard ROOT demos with a session like:

root > .x demos.C

or

root > .x $ROOTSYS/tutorials/demos.C

You can execute the standard ROOT graphics benchmark with

root > .x benchmarks.C

or

root > .x $ROOTSYS/tutorials/benchmarks.C

Some of ROOT's tutorials demonstrate interfaces that are not recommended anymore, because ROOT or C++ itself now offer superior ones. These have been moved here "for the record".

Topics

 Containers tutorials
 Examples showing the "containers' classes" usage.
 
 Legacy g3d tutorials
 Examples for ROOT's 3D NODES (obsolete)
 
 Legacy histogram tutorials
 Examples for ROOT's histograms (legacy)
 
 Net tutorials
 Examples showing the net classes.
 
 Spectrum tutorials
 Examples showing the TSpectrum and TSpectrumPainter usage.
 
 TSPlot tutorials
 This tutorial illustrates the use of class TSPlot.
 
 Math tutorials
 Examples showing the math classes usage.
 
 Multi Layer Perceptron tutorials
 Examples showing the Multi Layer Perceptron classes.
 
 Proof tutorials
 These examples aim to illustrate the usage of PROOF.
 
 Regexp tutorials
 Examples for ROOT's regular expressions.
 
 Thread tutorials
 Thread examples.
 
 TTree tutorials
 Example code which illustrates how to use ROOT trees and ntuples.
 

Files

file  benchmarks.C
 This macro run several tests and produces an benchmark report.
 
file  geant3tasks.C
 This script is a representation using TTasks of the Geant3 simulation program This example uses directly TTask objects.
 
file  htmlex.C
 This file demonstrates how THtml can document sources.
 
file  mp104_processH1.C
 Illustrate the usage of the multiproc to process the H1 analysis example.
 
file  mp_H1_lambdas.C
 Lambdas used to check and fit the result of the H1 analysis.
 
file  mt301_TTaskGroupSimple.C
 Shows how to run items of work asynchronously with a TTaskGroup.
 
file  MyTasks.cxx
 A set of classes deriving from TTask.
 
file  PhaseSpace.C
 Example of use of TGenPhaseSpace.
 
file  ProofNtuple.C
 Selector to fill a simple ntuple.
 
file  ProofNtuple.h
 Selector to fill a simple ntuple.
 
file  ProofPythia.C
 Selector to generate Monte Carlo events with Pythia8.
 
file  ProofPythia.h
 Selector to generate Monte Carlo events with Pythia8.
 
file  rootalias.C
 Defines aliases:
 
file  rootenv.C
 Produce a picture of the ROOT environment.
 
file  rootmarks.C
 Prints a summary of all ROOT benchmarks (must be run before).
 
file  tasks.C
 Example of TTasks.