Hi,
I see that the TTree structure include fBaskets/fBasketEvent, why TTree needs them? I don’t find the reason in ROOT User’s Guide. Is “Basket” a capacity in memory? Can anyone explain that in a layman’s word?
Best,
Li
ROOT Version: Not Provided Platform: Not Provided Compiler: Not Provided
Hi,
I’m not ROOT’s I/O expert so maybe Philippe will correct some details, but the simple version should be:
ROOT reads TTree entries one “cluster” at a time. A cluster is a bunch of entries that have been compressed and written to disk together.
Within a cluster, the entry values of each branch are stored in buffers called “baskets”.
So in short a TBasket contains a bunch of entry values of a given TBranch.