This tutorial shows how to create a dataset from scratch with TDataFrame
void tdf008_createDataSetFromScratch()
{
auto tdf_1 = tdf.Define("rnd", [&rnd](){return rnd.Gaus();});
auto hgaus = tdf_1.Histo1D("rnd");
tdf_1.Snapshot("randomNumbers", "tdf008_createDataSetFromScratch.root");
}
- Date
- June 2017
- Author
- Danilo Piparo
Definition in file tdf008_createDataSetFromScratch.C.