49   TH1F h(
"h",
"h",1000,-3,3);
 
   50   h.FillRandom(
"gaus",50000);
 
   60   printf(
"billw%d  : RT=%7.3f s, Cpu=%7.3f s, File size= %9d bytes, CX= %g\n",
compress,
timer.RealTime(),
timer.CpuTime(),
 
   61          (
Int_t)
f.GetBytesWritten(),
f.GetCompressionFactor());
 
   68   TIter next(
f.GetListOfKeys());
 
   73   TH1F *
hmean = 
new TH1F(
"hmean",
"hist mean from keys",100,0,1);
 
   75   while ((key=(
TKey*)next())) {
 
   90   h->FillRandom(
"gaus",50000);
 
   92   T->Branch(
"event",
"TH1F",&
h,64000,0);
 
  103   printf(
"billtw%d : RT=%7.3f s, Cpu=%7.3f s, File size= %9d bytes, CX= %g\n",
compress,
timer.RealTime(),
timer.CpuTime(),
 
  104                    (
Int_t)
f.GetBytesWritten(),
f.GetCompressionFactor());
 
  146   printf(
"******************************************************************\n");
 
  148   printf(
"******************************************************************\n");
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
R__EXTERN TRandom * gRandom
 
R__EXTERN TSystem * gSystem
 
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
 
1-D histogram with a float per channel (see TH1 documentation)
 
static void AddDirectory(Bool_t add=kTRUE)
Sets the flag controlling the automatic add of histograms in memory.
 
Book space in a file, create I/O buffers, to fill them, (un)compress them.
 
virtual TObject * ReadObj()
To read a TObject* from the file.
 
Double_t Rndm() override
Machine independent random number generator.
 
virtual const char * UnixPathName(const char *unixpathname)
Convert from a local pathname to a Unix pathname.
 
virtual TString GetDirName(const char *pathname)
Return the directory name in pathname.
 
virtual int Unlink(const char *name)
Unlink, i.e.
 
A TTree represents a columnar dataset.
 
virtual Int_t SetBranchAddress(const char *bname, void *add, TBranch **ptr=nullptr)
Change branch address, dealing with clone trees properly.