Package org.jlab.detector.serial
Class SerialHoncho
java.lang.Object
org.jlab.detector.serial.SerialHoncho
- Author:
- baltzell
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Zero all the sequences.voidclosure(org.jlab.jnp.hipo4.io.HipoWriterSorted writer) Add helicity and unixtime sequence banks.org.jlab.jnp.hipo4.data.SchemaFactoryvoidprocess(org.jlab.jnp.hipo4.data.Event event) Modify a physics event's helicity and charge information.org.jlab.jnp.hipo4.data.Eventread(org.jlab.jnp.hipo4.data.Event event) Register an event's serial data and return a (possibly empty) tag-1 event.voidRecreate the HelicitySequence from the TreeSet of helicity states.
-
Constructor Details
-
SerialHoncho
public SerialHoncho(org.jlab.jnp.hipo4.data.SchemaFactory schema)
-
-
Method Details
-
read
public org.jlab.jnp.hipo4.data.Event read(org.jlab.jnp.hipo4.data.Event event) Register an event's serial data and return a (possibly empty) tag-1 event.- Parameters:
event-- Returns:
- new tag-1 event
-
process
public void process(org.jlab.jnp.hipo4.data.Event event) Modify a physics event's helicity and charge information.- Parameters:
event-
-
closure
public void closure(org.jlab.jnp.hipo4.io.HipoWriterSorted writer) Add helicity and unixtime sequence banks.- Parameters:
writer-
-
clear
public void clear()Zero all the sequences. -
getHelicities
-
getScalers
-
getConstantsManager
-
getSchemaFactory
public org.jlab.jnp.hipo4.data.SchemaFactory getSchemaFactory() -
updateHelicitySequence
public void updateHelicitySequence()Recreate the HelicitySequence from the TreeSet of helicity states.
-