This tutorial shows how to fill a TGraph using the Dataframe.
import ROOT
ROOT.ROOT.EnableImplicitMT(2)
dd = d.Alias("x", "rdfentry_").Define("y", "x*x")
graph = dd.Graph("x", "y")
graph.Sort()
graph.Draw("APL")
ROOT's RDataFrame offers a high level interface for analyses of data stored in TTrees,...
- Date
- July 2018
- Authors
- Enrico Guiraud, Danilo Piparo, Massimo Tumolo
Definition in file df021_createTGraph.py.