FreeHEP API
Version v1.2.2

hep.io.root.interfaces
Interface TKey

All Superinterfaces:
RootObject, TNamed, TObject
All Known Subinterfaces:
TBasket
All Known Implementing Classes:
TBasketRep, TKeyRep

public interface TKey
extends RootObject, TNamed

Version:
$Id: TKey.java,v 1.10 2003/05/23 20:59:15 duns Exp $
Author:
Tony Johnson (tonyj@slac.stanford.edu)

Field Summary
 
Fields inherited from interface hep.io.root.interfaces.TNamed
rootIOVersion
 
Method Summary
 short getCycle()
          Get the cycle number for this key
 RootObject getObject()
          Get the object associated with this key.
 RootClass getObjectClass()
          Get the class of the object associated with this key.
 
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
 

Method Detail

getCycle

public short getCycle()
Get the cycle number for this key


getObject

public RootObject getObject()
                     throws RootClassNotFound,
                            IOException
Get the object associated with this key.

RootClassNotFound
IOException

getObjectClass

public RootClass getObjectClass()
                         throws RootClassNotFound,
                                IOException
Get the class of the object associated with this key.

RootClassNotFound
IOException

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.