processor Frs/TpcS41 FRS.TPC times[0:7] <- FrsTpcCrate.tdc1[0:7] amplitudes[0:7] <- FrsTpcCrate.adc1[0:7] fiber <- FrsTpcCrate.tdc1[23] display x:y 500,-50,50:500,-50,50 in TPCs/TpcS41 display y 500,-50,50 in TPCs/TpcS41 display x 500,-50,50 in TPCs/TpcS41 display xs 500,-50,50 in TPCs/TpcS41 display ys 500,-50,50 in TPCs/TpcS41 # display x_fiber:y_fiber in TPCs/TpcS41 display checksums | gate_checksums 5000,-2000,3000 in TPCs/TpcS41/checksums end
To which data correspond the plots you sent (is it a primary beam and how long after the calibration runs?)?
TPC_cal_s4_mask_0131.lmd
If the new_prespec_Go4 plot is for the same data that the prespec code, can you please give them the same binning?
And also, can you please plot separately xc and yc. If you put them in a 2D plot they are plotted all vs all and then we cannot see if one of them is not fine. A plot with the supersposition of all xc and another plot wit all yc can possibly give us a hint.
display xc::yc display xc:::yc
display xc:yc
So you say that in any case, the calibration that you make in the new_prespec_Go4 does not work for the experimental data inside the same code?
So it means that the calibration changed at some point. Have you checked when does this happen? Is it a clear difference or the first files are still working with the calibration?
About the prespec code, what do you mean by not being able to replay the mask files?
Do you get an error message?
Unexpected geometry (0 instead of expected 9)...
Did you check that you have the correct channel for the mask input?
If you tell me the file name of the calibration mask at S4 I can run it with prespec code to try to understand what happens.
TPC_cal_s4_mask_0131.lmd
## Original calibration X (-5.45941 offset -left) ## cal_x[0] 6.9059240 0.071844 cal_x[1] 2.565379 0.073667 ## ## for S429 file 7 TPC projected at TARGET DSSSD were Y-centered at +25.6522 ## ## Target DSSSD was Y-centered at -1.51222 so the offset was set to match ## cal_y[0] 30.523964 -0.036214 cal_y[1] 30.971966 -0.036226 cal_y[2] 32.407504 -0.036935 cal_y[3] 32.488682 -0.036932
## Original calibration (+1.3447 offset -right) ## cal_x[0] -1.708523 0.073670 cal_x[1] 0.423916 0.074975 ## ## for S429 file 7 TPC projected at TARGET DSSSD were Y-centered at +25.6522 ## ## Target DSSSD was Y-centered at -1.51222 so the offset was set to match ## cal_y[0] 22.986629 -0.038519 cal_y[1] 22.733846 -0.038766 cal_y[2] 21.329802 -0.038116 cal_y[3] 20.819015 -0.037600