41         tree->SetAutoFlush(4000000);
 
   42         tree->Branch(
"px",&px);
 
   43         tree->Branch(
"py",&py);
 
   50   for (
int i = 0; i < 25000000; ) {
 
R__EXTERN TBenchmark * gBenchmark
 
R__EXTERN TRandom * gRandom
 
virtual void Start(const char *name)
Starts Benchmark with the specified name.
 
virtual void Show(const char *name)
Stops Benchmark name and Prints results.
 
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
 
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.
 
1-D histogram with a float per channel (see TH1 documentation)}
 
2-D histogram with a float per channel (see TH1 documentation)}
 
virtual void SetSeed(ULong_t seed=0)
Set the random generator seed.
 
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
 
A TTree represents a columnar dataset.