Class HipoFrameReader

java.lang.Object
org.jlab.clara.std.services.AbstractService
org.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>
org.jlab.io.clara.HipoFrameReader
All Implemented Interfaces:
org.jlab.clara.engine.Engine

public class HipoFrameReader extends org.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>
Author:
gavalian
  • Field Summary Link icon

    Fields inherited from class org.jlab.clara.std.services.AbstractEventReaderService Link icon

    reader
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    protected void
     
    protected org.jlab.jnp.hipo4.io.HipoReader
    createReader(Path file, org.json.JSONObject opts)
     
    protected org.jlab.clara.engine.EngineDataType
     
     
    readEvent(int eventNumber)
     
    int
     
    void
    setMaxEvents(int __nevents)
     
    void
    setMaxSize(int __nsize)
     

    Methods inherited from class org.jlab.clara.std.services.AbstractEventReaderService Link icon

    configure, destroy, execute, executeGroup, getInputDataTypes, getOutputDataTypes, reset

    Methods inherited from class org.jlab.clara.std.services.AbstractService Link icon

    getAuthor, getDescription, getName, getStates, getVersion

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

    • HipoFrameReader Link icon

      public HipoFrameReader()
  • Method Details Link icon

    • setMaxEvents Link icon

      public void setMaxEvents(int __nevents)
    • setMaxSize Link icon

      public void setMaxSize(int __nsize)
    • createReader Link icon

      protected org.jlab.jnp.hipo4.io.HipoReader createReader(Path file, org.json.JSONObject opts) throws org.jlab.clara.std.services.EventReaderException
      Specified by:
      createReader in class org.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>
      Throws:
      org.jlab.clara.std.services.EventReaderException
    • closeReader Link icon

      protected void closeReader()
      Specified by:
      closeReader in class org.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>
    • readEventCount Link icon

      public int readEventCount() throws org.jlab.clara.std.services.EventReaderException
      Specified by:
      readEventCount in class org.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>
      Throws:
      org.jlab.clara.std.services.EventReaderException
    • readByteOrder Link icon

      public ByteOrder readByteOrder() throws org.jlab.clara.std.services.EventReaderException
      Specified by:
      readByteOrder in class org.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>
      Throws:
      org.jlab.clara.std.services.EventReaderException
    • readEvent Link icon

      public Object readEvent(int eventNumber) throws org.jlab.clara.std.services.EventReaderException
      Specified by:
      readEvent in class org.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>
      Throws:
      org.jlab.clara.std.services.EventReaderException
    • getDataType Link icon

      protected org.jlab.clara.engine.EngineDataType getDataType()
      Specified by:
      getDataType in class org.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>