JQ: First draft of correct timing and stitching of CAEN pulses.