Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .containers/coatjava.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ ARG REF_NAME=development
# build coatjava
RUN java --version && cd /opt && \
git clone https://code.jlab.org/hallb/alert/coatjava.git && cd coatjava && \
git fetch origin && git checkout ${REF_NAME} && ./build-coatjava.sh --quiet
git fetch origin && git checkout ${REF_NAME} && ./build-coatjava.sh --quiet && \
./install-clara /opt/clara
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ else if(tiEntries.size()>1) {
for(int i=0; i<tiEntries.size(); i++) {
long deltaTS = this.timeStampTolerance;
long offsetT = 0;
if( tiEntries.get(i).getDescriptor().getCrate() == 78) offsetT = 5;
if( tiEntries.get(i).getDescriptor().getType() == DetectorType.ATOF) 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) {
Expand Down