The AcdVetoCal script pulses the charge injection strobe in increasing values of tci_dac
and mesures the veto_dac values where the veto line fires
We only fit the curve in the low range (0-23 tci_dac) of the charge injection. We keep track of the
Offset: the tci_dac value that would be need to fire the veto if the veto_dac were set to 0
Slope: tci_dac / veto_dac.
MSE: Mean square error on the points
Note that the veto_dac step size is about the same as the tci_dac step size. This means that the curves are quite step-like.
The test points here are the "CPT" tests list in the full list of ACD test phases
At phase 12 we installed on the lat and used timing for LATTE.
At phase 14 we started running with LICOS, this changed the timing.
At phase 16 we increased the trg_seq delay by 9 counts to trq_seq=0x59.
It looks like this script is using a value of hitmap_delay that isn't right.
Plot of values
Plot of diff W.R.T. reference
Intercept of veto v. tci_dac curve.
Range: 0 - 80
Slope of veto v. tci_dac curve.
Range: -2. - 0
MSE of points in veto v. tci_dac curve.
Range: 0. - 40