Staff


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 (Beta) from the macro found in the ROOT repository on Tuesday, January 17, 2017 at 02:43 PM.


In [1]:
auto f = TFile::Open("cernstaff.root");
TTree *T = nullptr;
f->GetObject("T",T);
T->Draw("Grade:Age:Cost:Division:Nation","","gl5d");
if (gPad) gPad->Print("staff.C.png");


cling::DynamicLibraryManager::loadLibrary(): libGLU.so.1: cannot open shared object file: No such file or directory
IncrementalExecutor::executeFunction: symbol '_ZN12TGL5DDataSetC1EP5TTree' unresolved while linking [cling interface function]!
You are probably missing the definition of TGL5DDataSet::TGL5DDataSet(TTree*)
Maybe you need to load the corresponding shared library?
Info in <TCanvas::Print>: png file staff.C.png has been created