Logo ROOT   6.10/09
Reference Guide
Files
Multicore tutorials

These examples aim to illustrate the multicore features of ROOT, such as thread awareness and safety, multithreading and multiprocessing.

Files

file  imt001_parBranchProcessing.C
 Demonstrate how to activate and use the implicit parallelisation of TTree::GetEntry.
 
file  imt101_parTreeProcessing.C
 Illustrate the usage of the TTreeProcessorMT::Process method.
 
file  mp001_fillHistos.C
  View in nbviewer Open in SWAN Fill histograms in parallel and write them on file.
 
file  mp101_fillNtuples.C
  View in nbviewer Open in SWAN Fill n-tuples in distinct workers.
 
file  mp102_readNtuplesFillHistosAndFit.C
  View in nbviewer Open in SWAN Read n-tuples in distinct workers, fill histograms, merge them and fit.
 
file  mp103_processSelector.C
  View in nbviewer Open in SWAN Illustrate the usage of the multiproc TSelector interfaces with the h1 analysis example.
 
file  mp104_processH1.C
  View in nbviewer Open in SWAN Illustrate the usage of the multiproc to process the H1 analysis example.
 
file  mp105_processEntryList.C
  View in nbviewer Open in SWAN Illustrate the usage of the multiproc to process TEntryList with the H1 analysis example.
 
file  mp201_parallelHistoFill.C
  View in nbviewer Open in SWAN Parallel fill of a histogram This tutorial shows how a histogram can be filled in parallel with a multiprocess approach.
 
file  mp_H1_lambdas.C
  View in nbviewer Open in SWAN Lambdas used to check and fit the result of the H1 analysis.
 
file  mt001_fillHistos.C
 Fill histograms in parallel and write them on file.
 
file  mt101_fillNtuples.C
 Fill n-tuples in distinct workers.
 
file  mt102_readNtuplesFillHistosAndFit.C
 Read n-tuples in distinct workers, fill histograms, merge them and fit.
 
file  mt103_fillNtupleFromMultipleThreads.C
 Fill the same TNtuple from different threads.
 
file  mt201_parallelHistoFill.C
 Parallel fill of a histogram.
 
file  mtbb001_fillHistos.C
 Fill histograms in parallel and write them on file.
 
file  mtbb101_fillNtuples.C
 Fill n-tuples in distinct workers.
 
file  mtbb201_parallelHistoFill.C
 Parallel fill of a histogram.