ROOT

Table of Contents

CERN ROOT

C++ library for data analysis and visualization

1. Overview

Original C++ interactive interpreter called Cling in the CLI: root

TF1 class contains function that can be drawn with .Draw() The function can be given in string, reference to C++(Python?) function

TF2 contains bivariate function

TGraph is the superclass that can contain data TGraphPolar contains polar data TGraphErrors contains datapoints and errors that can be drawn with .Draw("<options>") inherited from TGraph

  • A axis
  • L polyline
  • F fill area
  • C smooth curve
  • B bar chart
  • P "current" marker

TGraph2DErrors contains R³ data points with errors.

TH1 class contains histogram

  • TH1F is subclass of TH1 with data in type float.

TCanvas is the interactive display panel

TMultiGraph takes multiple data object with .Add() and plot them overlayed with .Draw()

gPad global pointer to the interactive panel

Author: Jeemin Kim

Created: 2026-07-16 Thu 21:33