updated scripts after the suggestions from the tracker week, plot tof difference and select particles with process type=2