Create a plot of the data in cernstaff.root To create cernstaff.root, execute tutorial $ROOTSYS/tutorials/tree/cernbuild.C

Author: Rene Brun
This notebook tutorial was automatically generated with ROOTBOOK-izer from the macro found in the ROOT repository on Monday, September 20, 2021 at 03:08 PM.

In [1]:
auto f = TFile::Open("cernstaff.root");
TTree *T = nullptr;
if (gPad) gPad->Print("staff.C.png");
Info in <TGL5DDataSet::TGL5DDataSet>: Number of selected rows: 3354
Info in <TCanvas::Print>: png file staff.C.png has been created