Skip to content

Commit

Permalink
modified: common-tools/clas-detector/src/main/java/org/jlab/detector…
Browse files Browse the repository at this point in the history
…/decode/CodaEventDecoder.java
  • Loading branch information
Whitney Armstrong committed Feb 18, 2025
1 parent f0d2a2b commit 7da7614
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ else if(tiEntries.size()>1) {
long offsetT = 0;
if( tiEntries.get(i).getDescriptor().getCrate() == 78 ) offsetT = 5;
if(tiEntries.get(i).getDescriptor().getCrate()==this.tiMaster) deltaTS = deltaTS + 1; // add 1 click tolerance for tiMaster
if(Math.abs(tiEntries.get(i).getTimeStamp()+offsetT-tiEntries.get(i0).getTimeStamp())>deltaTS) { // not sure about the sign of offsetT
if(Math.abs(tiEntries.get(i).getTimeStamp()-offsetT-tiEntries.get(i0).getTimeStamp())>deltaTS) { // not sure about the sign of offsetT
tiSync=false;
if(this.timeStampErrors<100) {
System.err.println("WARNING: mismatch in TI time stamps: crate "
Expand Down

0 comments on commit 7da7614

Please sign in to comment.