Package org.jlab.io.clara
Class HipoToHipoWriter
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
- All Implemented Interfaces:
- org.jlab.clara.engine.Engine
- Direct Known Subclasses:
- HipoToHipoTagWriter
public class HipoToHipoWriter
extends org.jlab.clara.std.services.AbstractEventWriterService<org.jlab.jnp.hipo4.io.HipoWriterSorted>
Service that converts HIPO transient data to HIPO persistent data
 (i.e. writes HIPO events to an output file).
- 
Field SummaryFields inherited from class org.jlab.clara.std.services.AbstractEventWriterServicewriter
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidprotected voidconfigure(org.jlab.jnp.hipo4.io.HipoWriterSorted writer, org.json.JSONObject opts) protected org.jlab.jnp.hipo4.io.HipoWriterSortedcreateWriter(Path file, org.json.JSONObject opts) protected org.jlab.clara.engine.EngineDataTypeprotected voidwriteEvent(Object event) Methods inherited from class org.jlab.clara.std.services.AbstractEventWriterServiceconfigure, destroy, execute, executeGroup, getInputDataTypes, getOutputDataTypes, resetMethods inherited from class org.jlab.clara.std.services.AbstractServicegetAuthor, getDescription, getName, getStates, getVersion
- 
Constructor Details- 
HipoToHipoWriterpublic HipoToHipoWriter()
 
- 
- 
Method Details- 
createWriterprotected org.jlab.jnp.hipo4.io.HipoWriterSorted createWriter(Path file, org.json.JSONObject opts) throws org.jlab.clara.std.services.EventWriterException - Specified by:
- createWriterin class- org.jlab.clara.std.services.AbstractEventWriterService<org.jlab.jnp.hipo4.io.HipoWriterSorted>
- Throws:
- org.jlab.clara.std.services.EventWriterException
 
- 
configureprotected void configure(org.jlab.jnp.hipo4.io.HipoWriterSorted writer, org.json.JSONObject opts) 
- 
closeWriterprotected void closeWriter()- Specified by:
- closeWriterin class- org.jlab.clara.std.services.AbstractEventWriterService<org.jlab.jnp.hipo4.io.HipoWriterSorted>
 
- 
writeEvent- Specified by:
- writeEventin class- org.jlab.clara.std.services.AbstractEventWriterService<org.jlab.jnp.hipo4.io.HipoWriterSorted>
- Throws:
- org.jlab.clara.std.services.EventWriterException
 
- 
getDataTypeprotected org.jlab.clara.engine.EngineDataType getDataType()- Specified by:
- getDataTypein class- org.jlab.clara.std.services.AbstractEventWriterService<org.jlab.jnp.hipo4.io.HipoWriterSorted>
 
 
-