Skip to content

Commit d34f497

Browse files
bug fix
1 parent f710706 commit d34f497

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎common-tools/clas-detector/src/main/java/org/jlab/detector/scalers/StruckScalers.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ else if (Input.equals(Input.CLOCK, chan)) {
121121
// ignore banks with more than the tegular 4 ( (tsettle+tstable) x (gated+ungated) ) readings
122122
// or unbalance between gated/ungated readngs (allow difference by 1)
123123
if(this.size()>(Interval.values().length-1)*StruckScaler.NSLOT ||
124-
Math.abs(this.count(StruckScaler.SLOT_GATED)-count(StruckScaler.SLOT_UNGATED))<=1)
124+
Math.abs(this.count(StruckScaler.SLOT_GATED)-count(StruckScaler.SLOT_UNGATED))>1)
125125
this.clear();
126126
}
127127

0 commit comments

Comments
 (0)