Jump to content

ROOT

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 129.67.120.106 (talk) at 06:49, 26 April 2008 (Application of ROOT: CRESST page currently being worked on). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

For other uses of "root", see root (disambiguation).
ROOT
Developer(s)CERN
Stable release
5.18/00 / January 17th, 2008
Repository
Operating systemCross-platform
TypeData Analysis
LicenseLGPL/GPL
WebsiteROOT home page

ROOT is an object-oriented software package developed by CERN. It was originally designed for particle physics data analysis and contains several features specific to this field, but it is also commonly used in other applications such as astronomy and data mining.

Description

Development was initiated by René Brun and Fons Rademakers in 1994. ROOT is written in C++. Some parts are published under the LGPL, while others are based on GPL software and thus are also published under the GPL. It provides platform independent access to a computer's graphics subsystem and Operating System using abstract layers. Parts of the abstract platform are: a graphical user interface and a gui builder, container classes, reflection, a C++ script and command line interpreter (CINT), object serialization and persistence.

The packages provided by ROOT include those for

A key feature of ROOT is a data container called tree, with its substructures branches and leaves. A tree can be seen as a sliding window to the raw data, as stored in a file. Data from the next entry in the file can be retrieved by advancing the index in the tree. This avoids memory allocation problems associated with object creation, and allows the tree to act as a lightweight container while handling buffering invisibly.

ROOT's focus on performance is caused by the amount of data that the Large Hadron Collider's experiments will collect, estimated to several petabytes per year. Physicists are expected to analyze this data using ROOT. ROOT is currently mainly used in data analysis and data acquisition in high energy physics experiments — most current experimental plots and results are obtained using ROOT.

The inclusion of the CINT C++ interpreter makes this package very versatile as it can be used in interactive, scripted and compiled modes in a manner similar to commercial products like Matlab.

Criticisms

ROOT has been criticised by users, claiming it has a monolithic design, a tendency to re-invent existing technologies, a too-strong reliance on the CINT interpreter, and poor use of object-oriented programming methods, including OO antipatterns.[1] In attempting to provide all the functionality required by any data analysis task through a single interface, ROOT has attracted "no silver bullet" criticisms. Many of ROOT's fundamental design elements, such as global state, STL-incompatibility and aggressive single-owner based memory management, can make integration of ROOT functionality with stand-alone code difficult. The C++ wrapping is superficial as most common actions are performed by passing cryptic text commands to ROOT object member functions, so users must navigate a C++ interface plus multiple ad-hoc scripting languages.

Additionally, some users fault ROOT for generally poor documentation. ROOT classes do not always behave as advertised or as expected.

From time to time, issues of ROOT's design and implementation are discussed on the ROOT users mailing list.[2][3]

Application of ROOT

Several particle physics experiments have written software based on ROOT, often in favor of using more generic solutions (i.e. using ROOT containers instead of STL).

See also