This tutorial shows how to create a dataset from scratch with RDataFrame
import ROOT
ROOT.gRandom.SetSeed(1)
df_1 = df.Define("rnd", "gRandom->Gaus()")
df_1.Snapshot("randomNumbers", "df008_createDataSetFromScratch_py.root")
ROOT's RDataFrame offers a high level interface for analyses of data stored in TTrees,...
- Date
- June 2017
- Author
- Danilo Piparo
Definition in file df008_createDataSetFromScratch.py.