Skip to content

Commit 2db0966

Browse files
raffaelladevitatongtongcao
authored andcommitted
prevent loading of translation tables if run=0 (#1175)
1 parent 5b10aa7 commit 2db0966

File tree

1 file changed

+1
-1
lines changed
  • common-tools/clas-detector/src/main/java/org/jlab/detector/decode

1 file changed

+1
-1
lines changed

common-tools/clas-detector/src/main/java/org/jlab/detector/decode/CLASDecoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,9 +744,9 @@ public void initEvent(DataEvent event){
744744
}
745745

746746
int runNumberCoda = codaDecoder.getRunNumber();
747-
this.setRunNumber(runNumberCoda);
748747

749748
if (runNumberCoda > 0) {
749+
this.setRunNumber(runNumberCoda);
750750
detectorDecoder.translate(dataList);
751751
detectorDecoder.fitPulses(dataList);
752752
detectorDecoder.filterTDCs(dataList);

0 commit comments

Comments
 (0)