Contents
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
configure, destroy, execute, executeGroup, getInputDataTypes, getOutputDataTypes, reset
-
Constructor Details
-
Method Details
-
setMaxEvents
public void setMaxEvents(int __nevents) -
setMaxSize
public void setMaxSize(int __nsize) -
createReader
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 classorg.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>
- Throws:
org.jlab.clara.std.services.EventReaderException
-
closeReader
protected void closeReader()- Specified by:
closeReader
in classorg.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>
-
readEventCount
public int readEventCount() throws org.jlab.clara.std.services.EventReaderException- Specified by:
readEventCount
in classorg.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>
- Throws:
org.jlab.clara.std.services.EventReaderException
-
readByteOrder
- Specified by:
readByteOrder
in classorg.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>
- Throws:
org.jlab.clara.std.services.EventReaderException
-
readEvent
- Specified by:
readEvent
in classorg.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>
- Throws:
org.jlab.clara.std.services.EventReaderException
-
getDataType
protected org.jlab.clara.engine.EngineDataType getDataType()- Specified by:
getDataType
in classorg.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>
-