Run21100 to run21136 were used. Cuts were:
trig[0] & TRIG_PIBETA_HI && mwpc->wc1_n_hits==0 && mwpc->wc2_n_hits==0 && asum->csi_sum<200.so that gammas from decay of nutral pion generated from prompt events were used to set time zero. The timing of the clump which registered the largest energy depositon would be filled into histogram corresponding to this specific channel. The time offset then was determined as following:
t0 = (Pm+m*P0)/(m+1) to = (n*Pm-m*Pn)/(n-m) n,m>0we then average all t0's we got from above to get T0 for this specific channel . Three programms were used to get above work done, namely,slix.kumac which is used to fit 6 peaks for each channel and write data to tof.dat. time0.pl which reads tof.dat and calculates the timing offset for each channel and then write results to time0.dat. newtof.pl reads time0.dat and a runxxx.odb file to calculate new odbfile and write data into ntofxxx.odb. There is a README file explaining how to use these programms in detail.
2. Using only run21136.odb
All runs were analyzed with run21136.odb.
After adjusting TDC offsets once.