ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
TTree::TClusterIterator Class Reference

Helper class to iterate over cluster of baskets.

Definition at line 249 of file TTree.h.

Public Member Functions

Long64_t Next ()
 Move on to the next cluster and return the starting entry of this next cluster. More...
 
Long64_t GetStartEntry ()
 
Long64_t GetNextEntry ()
 
Long64_t operator() ()
 

Protected Member Functions

 TClusterIterator (TTree *tree, Long64_t firstEntry)
 Regular constructor. More...
 

Private Member Functions

Long64_t GetEstimatedClusterSize ()
 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. More...
 

Private Attributes

TTreefTree
 
Int_t fClusterRange
 
Long64_t fStartEntry
 
Long64_t fNextEntry
 

Friends

class TTree
 

#include <TTree.h>

Constructor & Destructor Documentation

TTree::TClusterIterator::TClusterIterator ( TTree tree,
Long64_t  firstEntry 
)
protected

Regular constructor.

TTree is not set as const, since we might modify if it is a TChain.

Definition at line 500 of file TTree.cxx.

Member Function Documentation

Long64_t TTree::TClusterIterator::GetEstimatedClusterSize ( )
private

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.

Definition at line 543 of file TTree.cxx.

Referenced by TClusterIterator().

Long64_t TTree::TClusterIterator::GetNextEntry ( )
inline

Definition at line 282 of file TTree.h.

Referenced by TTreeCache::FillBuffer(), and TTreeCacheUnzip::FillBuffer().

Long64_t TTree::TClusterIterator::GetStartEntry ( )
inline

Definition at line 277 of file TTree.h.

Long64_t TTree::TClusterIterator::Next ( )

Move on to the next cluster and return the starting entry of this next cluster.

Definition at line 574 of file TTree.cxx.

Referenced by TTreeCache::FillBuffer(), and operator()().

Long64_t TTree::TClusterIterator::operator() ( )
inline

Definition at line 286 of file TTree.h.

Friends And Related Function Documentation

friend class TTree
friend

Definition at line 260 of file TTree.h.

Member Data Documentation

Int_t TTree::TClusterIterator::fClusterRange
private

Definition at line 253 of file TTree.h.

Referenced by TClusterIterator().

Long64_t TTree::TClusterIterator::fNextEntry
private

Definition at line 255 of file TTree.h.

Referenced by GetNextEntry(), and TClusterIterator().

Long64_t TTree::TClusterIterator::fStartEntry
private

Definition at line 254 of file TTree.h.

Referenced by GetStartEntry(), and TClusterIterator().

TTree* TTree::TClusterIterator::fTree
private

Definition at line 252 of file TTree.h.

Referenced by TClusterIterator().

Collaboration diagram for TTree::TClusterIterator:
[legend]

The documentation for this class was generated from the following files: