Class EvioToEvioWriter

java.lang.Object
org.jlab.clara.std.services.AbstractService
org.jlab.clara.std.services.AbstractEventWriterService<org.jlab.coda.jevio.EventWriter>
org.jlab.io.clara.EvioToEvioWriter
All Implemented Interfaces:
org.jlab.clara.engine.Engine

public class EvioToEvioWriter extends org.jlab.clara.std.services.AbstractEventWriterService<org.jlab.coda.jevio.EventWriter>
Converter service that converts EvIO transient data to EvIO persistent data (i.e. writes EvIO events to an output file).
  • Field Summary

    Fields inherited from class org.jlab.clara.std.services.AbstractEventWriterService

    writer
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected org.jlab.coda.jevio.EventWriter
    createWriter(Path file, org.json.JSONObject opts)
     
    protected org.jlab.clara.engine.EngineDataType
     
    protected void
     

    Methods inherited from class org.jlab.clara.std.services.AbstractEventWriterService

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

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

    getAuthor, getDescription, getName, getStates, getVersion

    Methods inherited from class java.lang.Object

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

    • EvioToEvioWriter

      public EvioToEvioWriter()
  • Method Details

    • createWriter

      protected org.jlab.coda.jevio.EventWriter createWriter(Path file, org.json.JSONObject opts) throws org.jlab.clara.std.services.EventWriterException
      Specified by:
      createWriter in class org.jlab.clara.std.services.AbstractEventWriterService<org.jlab.coda.jevio.EventWriter>
      Throws:
      org.jlab.clara.std.services.EventWriterException
    • closeWriter

      protected void closeWriter()
      Specified by:
      closeWriter in class org.jlab.clara.std.services.AbstractEventWriterService<org.jlab.coda.jevio.EventWriter>
    • writeEvent

      protected void writeEvent(Object event) throws org.jlab.clara.std.services.EventWriterException
      Specified by:
      writeEvent in class org.jlab.clara.std.services.AbstractEventWriterService<org.jlab.coda.jevio.EventWriter>
      Throws:
      org.jlab.clara.std.services.EventWriterException
    • getDataType

      protected org.jlab.clara.engine.EngineDataType getDataType()
      Specified by:
      getDataType in class org.jlab.clara.std.services.AbstractEventWriterService<org.jlab.coda.jevio.EventWriter>