39 auto T =
new TTree(
"T",
"test friend trees");
40 T->Branch(
"Run", &run,
"Run/I");
41 T->Branch(
"Event", &
evt,
"Event/I");
42 T->Branch(
"x", &
x,
"x/F");
43 T->Branch(
"y", &
y,
"y/F");
44 T->Branch(
"z", &z,
"z/F");
46 for (
Int_t i=0; i<10000; i++) {
59 Int_t n = T->Draw(
"x:y:z:Run:Event:sin(x):cos(x)",
"Run==1",
"goff");
60 printf(
"The arrays' dimension is %d\n",
n);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void gc
A TGraph is an object made of two arrays X and Y with npoints each.
This is the base class for the ROOT Random number generators.
A TTree represents a columnar dataset.