jasext.root
Class RootEventSource

java.lang.Object
  |
  +--jasext.root.RootEventSource
All Implemented Interfaces:
jas.jds.module.AnnotatedEventSource, hep.analysis.EventSource, jas.util.tree.TreeObjectSource

public class RootEventSource
extends java.lang.Object
implements jas.jds.module.AnnotatedEventSource


Constructor Summary
RootEventSource(java.lang.String fileName)
           
 
Method Summary
 void afterLastEvent()
           
 void beforeFirstEvent()
           
 void close()
          Close the EventSource and free all the resources associated with it.
 void finalize()
           
 java.lang.Class getEventDataClass()
           
 java.lang.Object getItem(jas.util.tree.TreeItem item)
           
 jas.util.tree.TreeItem[] getItems()
           
 java.lang.String getName()
           
 hep.analysis.EventData getNextEvent()
           
 int getTotalNumberOfEvents()
           
static void setClassLoader(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootEventSource

public RootEventSource(java.lang.String fileName)
                throws jas.jds.module.ModuleException
Method Detail

close

public void close()
Close the EventSource and free all the resources associated with it.
Specified by:
close in interface hep.analysis.EventSource

finalize

public void finalize()
Overrides:
finalize in class java.lang.Object

getName

public java.lang.String getName()
Specified by:
getName in interface hep.analysis.EventSource

getItems

public jas.util.tree.TreeItem[] getItems()
Specified by:
getItems in interface jas.jds.module.AnnotatedEventSource

getItem

public java.lang.Object getItem(jas.util.tree.TreeItem item)
Specified by:
getItem in interface jas.jds.module.AnnotatedEventSource

getTotalNumberOfEvents

public int getTotalNumberOfEvents()
Specified by:
getTotalNumberOfEvents in interface hep.analysis.EventSource

beforeFirstEvent

public void beforeFirstEvent()
Specified by:
beforeFirstEvent in interface hep.analysis.EventSource

afterLastEvent

public void afterLastEvent()
Specified by:
afterLastEvent in interface hep.analysis.EventSource

getNextEvent

public hep.analysis.EventData getNextEvent()
                                    throws hep.analysis.EndOfDataException
Specified by:
getNextEvent in interface hep.analysis.EventSource

getEventDataClass

public java.lang.Class getEventDataClass()
Specified by:
getEventDataClass in interface hep.analysis.EventSource

setClassLoader

public static void setClassLoader(java.lang.Object obj)