We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39a2eff commit f7b1ac4Copy full SHA for f7b1ac4
common-tools/clas-detector/src/main/java/org/jlab/detector/decode/CLASDecoder.java
@@ -745,10 +745,12 @@ public void initEvent(DataEvent event){
745
746
int runNumberCoda = codaDecoder.getRunNumber();
747
this.setRunNumber(runNumberCoda);
748
-
749
- detectorDecoder.translate(dataList);
750
- detectorDecoder.fitPulses(dataList);
751
- detectorDecoder.filterTDCs(dataList);
+
+ if (runNumberCoda > 0) {
+ detectorDecoder.translate(dataList);
+ detectorDecoder.fitPulses(dataList);
752
+ detectorDecoder.filterTDCs(dataList);
753
+ }
754
755
if(this.decoderDebugMode>0){
756
System.out.println("\n>>>>>>>>> TRANSLATED data");
0 commit comments