Logo ROOT   6.21/01
Reference Guide
staff.C File Reference

Detailed Description

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

pict1_staff.C.png
void staff() {
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");
}
Author
Rene Brun

Definition in file staff.C.