dir.Append(
"/tree/cernstaff.C");
 
      gROOT->ProcessLine(
".x cernbuild.C");
 
   }
   
   T->Draw("Nation:Division>>hN","","text");
 
   
   gPad->SetLeftMargin(0.12);
 
   T->Draw("Cost:Nation>>hNation","","prof,goff");
   hNation->SetTitle(
"Average Cost per Nation");
 
 
   
    T->Draw("Grade>>hFR","Nation==\"FR\"");
    T->Draw("Grade>>hCH","Nation==\"CH\"");
    T->Draw("Grade>>hIT","Nation==\"IT\"");
    T->Draw("Grade>>hDE","Nation==\"DE\"");
    T->Draw("Grade>>hGB","Nation==\"GB\"");
 
   
   T->Draw("Age");
   T->Draw("Age>>hRetired","Age>(65-2002+1988)","same");
 
   arrow->SetFillStyle(1001);
 
 
 
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
R__EXTERN TSystem * gSystem
 
Draw all kinds of Arrows.
 
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
 
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
 
1-D histogram with a float per channel (see TH1 documentation)
 
2-D histogram with a float per channel (see TH1 documentation)
 
The Histogram stack class.
 
This class displays a legend box (TPaveText) containing several legend entries.
 
A Pave (see TPave) with text, lines or/and boxes inside.
 
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
 
void Draw(Option_t *option="") override
Draw this pavetext with its current attributes.
 
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
Returns FALSE if one can access a file using the specified access mode.
 
A TTree represents a columnar dataset.