62#include "../test/Event.h" 
   68  TFile f(
"tree4.root",
"RECREATE");
 
   71  TTree t4(
"t4",
"A Tree with Events");
 
   77  t4.Branch(
"event_split", &event,16000,99);
 
   78  t4.Branch(
"event_not_split", &event,16000,0);
 
   90    event->SetType(etype);
 
   91    event->SetHeader(
ev, 200, 960312, 
random);
 
   95    event->SetTemperature(
random+20.);
 
  142  branch->SetAddress(&event);
 
  152    if (event->GetNtrack() > 587)
continue;
 
  155    nb += 
t4->GetEntry(i);
 
  165  if (
gROOT->IsBatch()) 
return;
 
#define R__LOAD_LIBRARY(LIBRARY)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
R__EXTERN TRandom * gRandom
 
A TTree is a list of TBranches.
 
Using a TBrowser one can browse all ROOT objects.
 
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
 
virtual Double_t Gaus(Double_t mean=0, Double_t sigma=1)
Samples a random number from the standard Normal (Gaussian) Distribution with the given mean and sigm...
 
Double_t Rndm() override
Machine independent random number generator.
 
virtual void Rannor(Float_t &a, Float_t &b)
Return 2 numbers distributed following a gaussian with mean=0 and sigma=1.
 
A TTree represents a columnar dataset.