41 tree->SetAutoFlush(4000000);
42 tree->Branch(
"px",&px);
43 tree->Branch(
"py",&py);
50 for (
int i = 0; i < 25000000; ) {
THist< 1, float, THistStatContent, THistStatUncertainty > TH1F
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
virtual void Show(const char *name)
Stops Benchmark name and Prints results.
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=1, Int_t netopt=0)
Create / open a file.
virtual void Start(const char *name)
Starts Benchmark with the specified name.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString...
virtual void SetSeed(ULong_t seed=0)
Set the random generator seed.
R__EXTERN TBenchmark * gBenchmark
R__EXTERN TRandom * gRandom
A TTree object has a header with a name and a title.
THist< 2, float, THistStatContent, THistStatUncertainty > TH2F