The calibGenAcd/runVetoCalib.exe script extracts veto set points. This is done by comparing the PHA values for all events (black curve) to the PHA values for only those events with veto signals (blue curve) and finding the 50% point (red line).
A veto scan consists of taking data at several veto set points and then fitting the 50% points against the set points. We extract two parameters from a veto scan.
Slope: The veto_dac setting / pha 50% point relationship
Offset: The veto_dac setting that would be needed be equivalent firing at PHA of 0.