FreeHEP API
Version v1.2.2

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] Lenght of baskets on file
 int[] getBasketEntry()
          [fMaxBaskets] Table of first entry in eack basket
 TObjArray getBaskets()
          -> List of baskets of this branch
 int[] 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)
 double getEntries()
          Number of entries
 int 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 getNEntries()
           
 int getOffset()
          Offset of this branch
 double getTotBytes()
          Total number of bytes in all leaves before compression
 int getWriteBasket()
          Last basket number written
 double getZipBytes()
          Total number of bytes in all leaves after compression
 RootInput setPosition(TLeaf leaf, int 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] Lenght of baskets on file


getBasketEntry

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


getBasketSeek

public int[] 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 double getEntries()
Number of entries


getEntryNumber

public int 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


getNEntries

public int getNEntries()

getOffset

public int getOffset()
Offset of this branch


setPosition

public RootInput setPosition(TLeaf leaf,
                             int index)
                      throws IOException
IOException

getTotBytes

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


getWriteBasket

public int getWriteBasket()
Last basket number written


getZipBytes

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


FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.