Class HipoToHipoTagWriter
java.lang.Object
org.jlab.clara.std.services.AbstractService
org.jlab.clara.std.services.AbstractEventWriterService<org.jlab.jnp.hipo4.io.HipoWriterSorted>
org.jlab.io.clara.HipoToHipoWriter
org.jlab.io.clara.HipoToHipoTagWriter
- All Implemented Interfaces:
org.jlab.clara.engine.Engine
- Direct Known Subclasses:
HipoToHipoPostWriter
A port of the standard "decoder" to a CLARA I/O service.
1. Converts EVIO to HIPO, translation tables, pulse extraction
2. Copies special banks on-the-fly to new tag-1 events
3. Caches helicity states and scaler readouts, for later use in post-processing.
4. Upon close, writes the helicity sequence to HEL::flip banks in new tag-1 events.
- Author:
- baltzell
-
Field Summary
Fields inherited from class org.jlab.io.clara.HipoToHipoWriter
filename, schemaBankList
Fields inherited from class org.jlab.clara.std.services.AbstractEventWriterService
writer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected org.jlab.jnp.hipo4.io.HipoWriterSorted
createWriter
(Path file, org.json.JSONObject opts) protected void
writeEvent
(Object event) Methods inherited from class org.jlab.io.clara.HipoToHipoWriter
configure, getDataType, writeEvent
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
-
Constructor Details
-
HipoToHipoTagWriter
public HipoToHipoTagWriter()
-
-
Method Details
-
createWriter
protected org.jlab.jnp.hipo4.io.HipoWriterSorted createWriter(Path file, org.json.JSONObject opts) throws org.jlab.clara.std.services.EventWriterException - Overrides:
createWriter
in classHipoToHipoWriter
- Throws:
org.jlab.clara.std.services.EventWriterException
-
writeEvent
- Overrides:
writeEvent
in classHipoToHipoWriter
- Throws:
org.jlab.clara.std.services.EventWriterException
-
closeWriter
protected void closeWriter()- Overrides:
closeWriter
in classHipoToHipoWriter
-
closeRawWriter
protected void closeRawWriter()
-