FreeHEP API
Version current

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

Source Code:
TBranch.java

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.RootObject
getRootClass
 
Methods inherited from interface hep.io.root.interfaces.TNamed
getName, getTitle
 
Methods inherited from interface hep.io.root.interfaces.TObject
getBits, getUniqueID
 

Field Detail

rootIOVersion

public static final int rootIOVersion
See Also:
Constant Field Values

rootCheckSum

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

getBasketBytes

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


getBasketEntry

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


getBasketSeek

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


getBasketSize

public int getBasketSize()
Initial Size of Basket Buffer


getBaskets

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


getBranchForMangledName

public TBranch getBranchForMangledName(String name)

getBranchForName

public TBranch getBranchForName(String name)

getBranches

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


getCompress

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


getEntries

public long getEntries()
Number of entries


getEntryNumber

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


getEntryOffsetLen

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


getFileName

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


getLeaves

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


getMaxBaskets

public int getMaxBaskets()
Maximum number of Baskets so far


getOffset

public int getOffset()
Offset of this branch


setPosition

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

getTotBytes

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


getWriteBasket

public int getWriteBasket()
Last basket number written


getZipBytes

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


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.