21   auto T = 
new TTree(
"T", 
"test circular buffers");
 
   22   T->Branch(
"px", &px, 
"px/F");
 
   23   T->Branch(
"py", &py, 
"px/F");
 
   24   T->Branch(
"pz", &pz, 
"px/F");
 
   25   T->Branch(
"random", &
randomNum, 
"random/D");
 
   26   T->Branch(
"i", &i, 
"i/s");
 
   27   T->SetCircular(20000); 
 
   28   for (i = 0; i < 65000; i++) {
 
   30      pz = px * px + py * py;
 
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
 
This is the base class for the ROOT Random number generators.
 
A TTree represents a columnar dataset.