Create a plot of the data in cernstaff.root
To create cernstaff.root
, execute tutorial $ROOTSYS/tutorials/io/tree/tree500_cernbuild.C
{
T->
Draw(
"Grade:Age:Cost:Division:Nation",
"",
"gl5d");
gPad->Print(
"staff.C.png");
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
A TTree represents a columnar dataset.
void Draw(Option_t *opt) override
Default Draw method for all objects.
- Author
- Rene Brun
Definition in file tree502_staff.C.