Class EvioToEvioSource
java.lang.Object
org.jlab.clara.std.services.AbstractService
org.jlab.clara.std.services.AbstractEventReaderService<EvioSource>
org.jlab.io.clara.EvioToEvioSource
- All Implemented Interfaces:
org.jlab.clara.engine.Engine
public class EvioToEvioSource
extends org.jlab.clara.std.services.AbstractEventReaderService<EvioSource>
Converter service that converts EvIO persistent data to EvIO transient data
(i.e. Reads EvIO events from an input file)
-
Field Summary
Fields inherited from class org.jlab.clara.std.services.AbstractEventReaderService
reader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected EvioSourcecreateReader(Path file, org.json.JSONObject opts) protected org.jlab.clara.engine.EngineDataTypereadEvent(int eventNumber) intMethods 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
-
EvioToEvioSource
public EvioToEvioSource()
-
-
Method Details
-
createReader
protected EvioSource createReader(Path file, org.json.JSONObject opts) throws org.jlab.clara.std.services.EventReaderException - Specified by:
createReaderin classorg.jlab.clara.std.services.AbstractEventReaderService<EvioSource>- Throws:
org.jlab.clara.std.services.EventReaderException
-
closeReader
protected void closeReader()- Specified by:
closeReaderin classorg.jlab.clara.std.services.AbstractEventReaderService<EvioSource>
-
readEventCount
public int readEventCount() throws org.jlab.clara.std.services.EventReaderException- Specified by:
readEventCountin classorg.jlab.clara.std.services.AbstractEventReaderService<EvioSource>- Throws:
org.jlab.clara.std.services.EventReaderException
-
readByteOrder
- Specified by:
readByteOrderin classorg.jlab.clara.std.services.AbstractEventReaderService<EvioSource>- Throws:
org.jlab.clara.std.services.EventReaderException
-
readEvent
- Specified by:
readEventin classorg.jlab.clara.std.services.AbstractEventReaderService<EvioSource>- Throws:
org.jlab.clara.std.services.EventReaderException
-
getDataType
protected org.jlab.clara.engine.EngineDataType getDataType()- Specified by:
getDataTypein classorg.jlab.clara.std.services.AbstractEventReaderService<EvioSource>
-