Skip to content

Commit 129f670

Browse files
committed
break early
1 parent 5b53c99 commit 129f670

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ public void fitPulses(List<DetectorDataDgtz> detectorData){
201201
adc.setTime((int) (mvtFitter.timeMax));
202202
adc.setIntegral((int) (mvtFitter.integral));
203203
adc.setTimeStamp(mvtFitter.timestamp);
204+
// first one wins:
205+
break;
204206
}
205207
else if(daq.hasEntryByHash(hash)==true){
206208
int nsa = daq.getIntValueByHash("nsa", hash);

0 commit comments

Comments
 (0)