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
Fields inherited from class org.jlab.clara.std.services.AbstractEventReaderService
reader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected org.jlab.jnp.hipo4.io.HipoReadercreateReader(Path file, org.json.JSONObject opts) protected org.jlab.clara.engine.EngineDataTypereadEvent(int eventNumber) intvoidsetMaxEvents(int __nevents) voidsetMaxSize(int __nsize) Methods inherited from class org.jlab.clara.std.services.AbstractEventReaderService
configure, destroy, execute, executeGroup, getInputDataTypes, getOutputDataTypes, resetMethods inherited from class org.jlab.clara.std.services.AbstractService
getAuthor, getDescription, getName, getStates, getVersion
-
Constructor Details
-
HipoFrameReader
public HipoFrameReader()
-
-
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:
createReaderin 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:
closeReaderin 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:
readEventCountin classorg.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>- Throws:
org.jlab.clara.std.services.EventReaderException
-
readByteOrder
- Specified by:
readByteOrderin classorg.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>- Throws:
org.jlab.clara.std.services.EventReaderException
-
readEvent
- Specified by:
readEventin 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:
getDataTypein classorg.jlab.clara.std.services.AbstractEventReaderService<org.jlab.jnp.hipo4.io.HipoReader>
-