ROOT

{{Short description|Data analysis software}}

{{About|the computing library developed by CERN|the part of a plant|Root|other uses|Root (disambiguation)}}

{{Infobox software

| name = ROOT

| logo = ROOT Logo.png

| logo_size = 297px

| screenshot = CMS ROOT plot.png

| caption = The CMS experiments presented on July 4, 2012, the status of the Standard Model Higgs search. All plots presented that day used ROOT.

| developer = CERN{{Cite web|url=https://root.cern/about/team/|title=ROOT Team|website=root.cern|language=en|access-date=2022-02-10}}

| latest_release_version = 6.32.12

| latest_release_date = {{Start date and age|2025|04|08}}

| author = René Brun, Fons Rademakers {{Cite web|url=https://root.cern/about/project_founders/|title=Project Founders|website=root.cern|language=en|access-date=2019-06-19}}

| programming language = C++

| operating_system = Microsoft Windows, OS X, Linux, Solaris, IBM AIX

| platform = IA-32, x86-64

| size = 86–327 MB

| genre = Data analysis, Plotting

| license = LGPL/GPL

| website = {{URL|root.cern}}

}}

ROOT is an object-oriented computer program and library developed by CERN. It was originally designed for particle physics data analysis and contains several features specific to the field, but it is also used in other applications such as astronomy and data mining. The latest minor release is 6.34, as of 2025-04-08.{{Cite web |title=ROOT Version 6.34 Release Notes |url=https://root.cern/doc/v634/release-notes.html |access-date=2025-04-14 |website=root.cern |language=en}}

Description

CERN maintained the CERN Program Library written in FORTRAN for many years. Its development and maintenance were discontinued in 2003 in favour of ROOT, which is written in the C++ programming language.

ROOT development was initiated by René Brun and Fons Rademakers in 1994. Some parts are published under the GNU Lesser General Public License (LGPL) and others are based on GNU General Public License (GPL) software, and are thus also published under the terms of 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 in version 5, cling in version 6), object serialization and persistence.

The packages provided by ROOT include those for

File:Atlas_ROOT_plot.png

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 is designed for high computing efficiency, as it is required to process data from the Large Hadron Collider's experiments estimated at several petabytes per year. {{As of|2009}} ROOT is mainly used in data analysis and data acquisition in particle physics (high energy physics) experiments, and most {{As of|2009|alt=current}} experimental plots and results in those subfields are obtained using ROOT.

The inclusion of a C++ interpreter (CINT until version 5.34, Cling from version 6.00) 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.

On July 4, 2012 the ATLAS and CMS LHC's experiments presented the status of the Standard Model Higgs search. [https://root.cern/gallery/#higgs-plots All data plotting presented that day used ROOT].

Applications

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

Criticisms

Criticisms of ROOT include its difficulty for beginners, as well as various aspects of its design and implementation. Frequent causes of frustration include extreme code bloat, heavy use of global variables,{{cite web|url=http://insectnation.org/articles/problems-with-root.html|title=The problem with ROOT (a.k.a. The ROOT of all Evil)|last=Buckley|first=Andy|work=InsectNation|access-date=3 May 2016|date=2007-08-27}} and an overcomplicated class hierarchy. From time to time these issues are discussed on the ROOT users mailing list.{{cite web|url=http://root.cern.ch/root/roottalk/roottalk06/0763.html|title=Re: Wikipedia criticism about root|access-date=3 May 2016}}{{cite web|url=http://root.cern.ch/root/roottalk/roottalk06/0782.html|title=RE: Re: Wikipedia criticism about root|access-date=3 May 2016}} While scientists dissatisfied with ROOT have in the past managed to work around its flaws,{{cite web|url=https://root.cern/about/|title=What is ROOT?|date=1 June 2009|access-date=3 May 2016}} some of the shortcomings are regularly addressed by the ROOT team. The CINT interpreter, for example, has been replaced by the Cling interpreter,{{cite web|url=https://root.cern/releases/release-60600/|title=ROOT Version 6.06 Release Notes|date=2 June 2015|access-date=3 May 2016}} and numerous bugs are fixed with every release.

See also

{{Portal|Free and open-source software}}

References

{{Reflist}}