Creating data files for practice

Hello
I’m a total newbie and I need data files for practising various root functions. Can anyone guide me on how to create root files?

Edit: I mean how to create a random raw data file. I know how to install random data in a histogram, but I want to know how to create a file in a similar fashion.


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


ROOT Primer

${ROOTSYS}/tutorials/hsimple.C
${ROOTSYS}/tutorials/tree/cernbuild.C
${ROOTSYS}/tutorials/hist/fillrandom.C

ROOT User’s Guide

please look at the edit

The example hsimple.C @Wile_E_Coyote pointed, is a good start. It creates random histograms and ntuple et save them in a root file.