Logo ROOT   6.18/05
Reference Guide
Files
IO tutorials

These tutorials illustrate some of the capabilities of the ROOT IO subsystem.

Files

file  copyFiles.C
  View in nbviewer Open in SWAN Example of script showing how to copy all objects (including directories) from a source file.
 
file  dirs.C
  View in nbviewer Open in SWAN This macro illustrates how to create a hierarchy of directories in a Root file.
 
file  double32.C
  View in nbviewer Open in SWAN Tutorial illustrating use and precision of the Double32_t data type You should run this tutorial with ACLIC: a dictionary will be automatically created.
 
file  fildir.C
  View in nbviewer Open in SWAN This macro displays the ROOT Directory data structure
 
file  file.C
  View in nbviewer Open in SWAN This macro displays the physical ROOT file structure
 
file  float16.C
  View in nbviewer Open in SWAN Tutorial illustrating use and precision of the Float16_t data type.
 
file  hadd.C
  View in nbviewer Open in SWAN Macro to add histogram files This macro is kept for didactical purposes only: use instead the executable $ROOTSYS/bin/hadd !
 
file  importCode.C
  View in nbviewer Open in SWAN Example of script showing how to create a ROOT file with subdirectories.
 
file  loopdir.C
  View in nbviewer Open in SWAN Example of script to loop on all the objects of a ROOT file directory and print on Postscript all TH1 derived objects.
 
file  loopdir11.C
  View in nbviewer Open in SWAN Example of script to loop on all the objects of a ROOT file directory and print on Postscript all TH1 derived objects.
 
file  mergeSelective.C
  View in nbviewer Open in SWAN Merge only part of the content of a set of files.
 
file  readCode.C
  View in nbviewer Open in SWAN Example of script showing how to navigate in a ROOT file with sub-directories and read the objects in each sub-directory.
 
file  testMergeCont.C
  View in nbviewer Open in SWAN Macro demonstrating the merging of containers.