13 auto T =
new TTree(
"T",
"test circular buffers");
21 T->
Branch(
"random",&random,
"random/D");
24 for (i = 0; i < 65000; i++) {
virtual void Rannor(Float_t &a, Float_t &b)
Return 2 numbers distributed following a gaussian with mean=0 and sigma=1.
virtual Double_t Rndm(Int_t i=0)
Machine independent random number generator.
virtual Int_t Fill()
Fill all branches.
virtual void Print(Option_t *option="") const
Print a summary of the tree contents.
This is the base class for the ROOT Random number generators.
virtual Int_t Branch(TCollection *list, Int_t bufsize=32000, Int_t splitlevel=99, const char *name="")
Create one branch for each element in the collection.
virtual void SetCircular(Long64_t maxEntries)
Enable/Disable circularity for this tree.
A TTree object has a header with a name and a title.