27 TFile f(
"df009_FromScratchVSTTree_classic.root",
"RECREATE");
28 TTree t(
"treeName",
"treeName");
33 for (
int i = 0; i < 10; ++i) {
59 df.Define(
"b1", [&
b]() {
return b++; })
60 .Define(
"b2",
"(int) b1 * b1")
61 .Snapshot(
"treeName",
"df009_FromScratchVSTTree_df.root");
64void df009_FromScratchVSTTree()
ROOT's RDataFrame offers a high level interface for analyses of data stored in TTree,...
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
A TTree represents a columnar dataset.