39 T->Branch(
"Run",&run,
"Run/I");
40 T->Branch(
"Event",&
evt,
"Event/I");
41 T->Branch(
"x",&
x,
"x/F");
42 T->Branch(
"y",&
y,
"y/F");
43 T->Branch(
"z",&z,
"z/F");
45 for (
Int_t i=0;i<10000;i++) {
46 if (i < 5000) run = 1;
56 Int_t n = T->Draw(
"x:y:z:Run:Event:sin(x):cos(x)",
"Run==1",
"goff");
57 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.