Input/Output

The ROOT Input/Output module is designed to easily store and retrieve extremely large data sets to and from any C++ program or library:

  • Save data.  You can save your data (and any C++ object) in a compressed binary form in a ROOT file.  The object format is also saved in the same file.  ROOT provides a data structure that is extremely powerful for fast access of huge amounts of data - orders of magnitude faster than accessing a normal file.
  • Access data.  Data saved into one or several ROOT files can be accessed from your PC, from the web and from large-scale file delivery systems used e.g. in the GRID.  ROOT trees spread over several files can be chained and accessed as a unique object, allowing for loops over huge amounts of data.