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