hep.io.root.interfaces
Interface TBranch

All Superinterfaces:
RootObject, TNamed, TObject
All Known Subinterfaces:
TBranchClones, TBranchElement, TBranchObject
All Known Implementing Classes:
TBranchClonesRep, TBranchElementRep, TBranchRep

public interface TBranch
extends RootObject, TNamed


Field Summary
static int rootCheckSum
           
static int rootIOVersion
           
 
Method Summary
 int[] getBasketBytes()
          [fMaxBaskets] Length of baskets on file
 long[] getBasketEntry()
          [fMaxBaskets] Table of first entry in eack basket
 TObjArray getBaskets()
          -> List of baskets of this branch
 long[] getBasketSeek()
          [fMaxBaskets] Addresses of baskets on file
 int getBasketSize()
          Initial Size of Basket Buffer
 TObjArray getBranches()
          -> List of Branches of this branch
 TBranch getBranchForMangledName(String name)
           
 TBranch getBranchForName(String name)
           
 int getCompress()
          (=1 branch is compressed, 0 otherwise)
 long getEntries()
          Number of entries
 long getEntryNumber()
          Current entry number (last one filled in this branch)
 int getEntryOffsetLen()
          Initial Length of fEntryOffset table in the basket buffers
 String getFileName()
          Name of file where buffers are stored ("" if in same file as Tree header)
 TObjArray getLeaves()
          -> List of leaves of this branch
 int getMaxBaskets()
          Maximum number of Baskets so far
 int getOffset()
          Offset of this branch
 long getTotBytes()
          Total number of bytes in all leaves before compression
 int getWriteBasket()
          Last basket number written
 long getZipBytes()
          Total number of bytes in all leaves after compression
 RootInput setPosition(TLeaf leaf, long index)
           
 
Methods inherited from interface hep.io.root.interfaces.TNamed
getName, getTitle
 
Methods inherited from interface hep.io.root.interfaces.TObject
getBits, getUniqueID
 
Methods inherited from interface hep.io.root.RootObject
getRootClass
 

Field Detail

rootIOVersion

static final int rootIOVersion
See Also:
Constant Field Values

rootCheckSum

static final int rootCheckSum
See Also:
Constant Field Values
Method Detail

getBasketBytes

int[] getBasketBytes()
[fMaxBaskets] Length of baskets on file


getBasketEntry

long[] getBasketEntry()
[fMaxBaskets] Table of first entry in eack basket


getBasketSeek

long[] getBasketSeek()
[fMaxBaskets] Addresses of baskets on file


getBasketSize

int getBasketSize()
Initial Size of Basket Buffer


getBaskets

TObjArray getBaskets()
-> List of baskets of this branch


getBranchForMangledName

TBranch getBranchForMangledName(String name)

getBranchForName

TBranch getBranchForName(String name)

getBranches

TObjArray getBranches()
-> List of Branches of this branch


getCompress

int getCompress()
(=1 branch is compressed, 0 otherwise)


getEntries

long getEntries()
Number of entries


getEntryNumber

long getEntryNumber()
Current entry number (last one filled in this branch)


getEntryOffsetLen

int getEntryOffsetLen()
Initial Length of fEntryOffset table in the basket buffers


getFileName

String getFileName()
Name of file where buffers are stored ("" if in same file as Tree header)


getLeaves

TObjArray getLeaves()
-> List of leaves of this branch


getMaxBaskets

int getMaxBaskets()
Maximum number of Baskets so far


getOffset

int getOffset()
Offset of this branch


setPosition

RootInput setPosition(TLeaf leaf,
                      long index)
                      throws IOException
Throws:
IOException

getTotBytes

long getTotBytes()
Total number of bytes in all leaves before compression


getWriteBasket

int getWriteBasket()
Last basket number written


getZipBytes

long getZipBytes()
Total number of bytes in all leaves after compression



Copyright © 2000-2013 FreeHEP. All Rights Reserved.