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 Link icon

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

    writer
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    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 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

    • EvioToEvioWriter Link icon

      public EvioToEvioWriter()
  • Method Details Link icon

    • createWriter Link icon

      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 Link icon

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

      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 Link icon

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