|
ROOT 6.16/01 Reference Guide |
Public Member Functions | |
| Long64_t | GetNextEntry () |
| Long64_t | GetStartEntry () |
| Long64_t | Next () |
| Move on to the next cluster and return the starting entry of this next cluster. More... | |
| Long64_t | operator() () |
| Long64_t | Previous () |
| Move on to the previous cluster and return the starting entry of this previous cluster. More... | |
Protected Member Functions | |
| TClusterIterator (TTree *tree, Long64_t firstEntry) | |
| Regular constructor. More... | |
Private Member Functions | |
| Long64_t | GetEstimatedClusterSize () |
| Estimate the cluster size. More... | |
Private Attributes | |
| Int_t | fClusterRange |
| Long64_t | fEstimatedSize |
| Long64_t | fNextEntry |
| Long64_t | fStartEntry |
| TTree * | fTree |
Friends | |
| class | TTree |
#include <TTree.h>
|
private |
Estimate the cluster size.
In almost all cases, this quickly returns the size of the auto-flush in the TTree.
However, in the case where the cluster size was not fixed (old files and case where autoflush was explicitly set to zero), we need estimate a cluster size in relation to the size of the cache.
After this value is calculated once for the TClusterIterator, it is cached and reused in future calls.
| Long64_t TTree::TClusterIterator::Next | ( | ) |
| Long64_t TTree::TClusterIterator::Previous | ( | ) |