This tutorial shows how to create a dataset from scratch with TDataFrame.
Definition in file tdf008_createDataSetFromScratch.C.