diff --git a/common-tools/clas-detector/src/main/java/org/jlab/detector/decode/CLASDecoder.java b/common-tools/clas-detector/src/main/java/org/jlab/detector/decode/CLASDecoder.java index 663444dc63..45af4c9293 100644 --- a/common-tools/clas-detector/src/main/java/org/jlab/detector/decode/CLASDecoder.java +++ b/common-tools/clas-detector/src/main/java/org/jlab/detector/decode/CLASDecoder.java @@ -15,6 +15,7 @@ import org.jlab.io.base.DataEvent; import org.jlab.io.evio.EvioDataEvent; +import org.jlab.io.hipo.HipoDataEvent; import org.jlab.jnp.hipo4.data.Bank; import org.jlab.jnp.hipo4.data.Event; @@ -795,4 +796,9 @@ public Event getDecodedEvent(EvioDataEvent rawEvent, int run, int counter, Doubl public Event getDecodedEvent(EvioDataEvent rawEvent) { return getDecodedEvent(rawEvent, -1, -1, null, null); } -} + + public HipoDataEvent getDecodedDataEvenet(EvioDataEvent rawEvent) { + return new HipoDataEvent(getDecodedEvent(rawEvent), schemaFactory); + } + +} \ No newline at end of file