Skip to content

Commit 0b2e6f3

Browse files
committed
fix?
1 parent 3177e72 commit 0b2e6f3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎common-tools/clara-io/src/main/java/org/jlab/io/clara/Clas12Writer.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import org.jlab.detector.calib.utils.ConstantsManager;
66
import org.jlab.detector.serial.SerialHoncho;
77
import org.jlab.detector.serial.Occupancer;
8+
import org.jlab.jnp.hipo4.data.Bank;
89
import org.jlab.jnp.hipo4.data.Event;
910
import org.jlab.jnp.hipo4.data.SchemaFactory;
1011
import org.jlab.jnp.hipo4.io.HipoWriterSorted;
@@ -26,6 +27,7 @@ public class Clas12Writer extends HipoToHipoWriter {
2627
SerialHoncho serial;
2728
ConstantsManager conman;
2829
SchemaFactory fullSchema;
30+
Bank runConfig;
2931

3032
HipoWriterSorted paraWriter;
3133
long paraCount;
@@ -38,6 +40,7 @@ private void init(JSONObject opts) {
3840
fullSchema.initFromDirectory(FileUtils.getEnvironmentPath("CLAS12DIR","etc/bankdefs/hipo4"));
3941
serial = new SerialHoncho(fullSchema);
4042
conman = new ConstantsManager();
43+
runConfig = new Bank(fullSchema.getSchema("RUN::config"));
4144
conman.init("/runcontrol/hwp","/runcontrol/helicity");
4245
paraTriggerMask = opts.optLong("paraTriggerMask", 0);
4346
paraTriggerPrescale = opts.optInt("paraTriggerPrescale", 0);

0 commit comments

Comments
 (0)