diff --git a/common-tools/clas-detector/src/main/java/org/jlab/detector/decode/CLASDecoder4.java b/common-tools/clas-detector/src/main/java/org/jlab/detector/decode/CLASDecoder4.java index 566ae9912..bd62c4512 100644 --- a/common-tools/clas-detector/src/main/java/org/jlab/detector/decode/CLASDecoder4.java +++ b/common-tools/clas-detector/src/main/java/org/jlab/detector/decode/CLASDecoder4.java @@ -764,6 +764,7 @@ public static void decodeEvio2Hipo2Evio(OptionParser parser){ hr.nextEvent(hevent); Node evn = hevent.read(1, 11); + Node trg = hevent.read(5, 5); byte[] buffer = evn.getByte(); // this next few lines may seem wierd for untrained observer, @@ -834,6 +835,7 @@ public static void decodeEvio2Hipo2Evio(OptionParser parser){ writer.addEvent(scalerEvent, 1); } + decodedEvent.write(trg); writer.addEvent(decodedEvent,0); counter++;