Skip to content

Commit 3dd600f

Browse files
committed
feat: print ccdb vals
1 parent 778ab97 commit 3dd600f

File tree

1 file changed

+2
-0
lines changed
  • common-tools/clas-detector/src/main/java/org/jlab/detector/scalers

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ protected void calibrate(IndexedTable fcupTable,IndexedTable slmTable,double sec
7878
// complain if a hard-coded clock frequency was used
7979
String prefix = String.format("clockbug [%s]", this.getClass().getSimpleName());
8080
boolean clockbug = false;
81+
System.err.println(String.format("%s: -----------", prefix));
8182
if(Math.abs(this.clockFreq - ((1e6)+1)) < 0.1) {
8283
System.err.println(String.format("%s: used hard-coded clockFreq from Dsc2Scaler(bank,table,table,seconds)", prefix));
8384
clockbug = true;
@@ -129,6 +130,7 @@ else if(Math.abs(this.clockFreq - ((1e6)+3)) < 0.1) {
129130
}
130131

131132
// print the beam charge
133+
System.err.println(String.format("%s: fcup_offset=%f fcup_slope=%f fcup_atten=%f", prefix, fcup_offset, fcup_slope, fcup_atten));
132134
System.err.println(String.format("%s: clockFreq=%f beamCharge=%f beamChargeGated=%f", prefix, this.clockFreq, this.beamCharge, this.beamChargeGated));
133135
}
134136
}

0 commit comments

Comments
 (0)