Timing, PID and Trigger Check Instructions 

Last updated: 11/13/2009, by X. Zheng

This page describes how to check timing, PID, and triggers of PVDIS DAQ using spectrometer runs. VDC can be on or off. It is intended for experts only.
Detailed PID check, including efficiencies, are provided elsewhere.

Basic timing, threshold and trigger checks

page 1, fbTDC of Left arm group 4:
Left arm group 4 fbTDCs
What to watch for:
  1. All histograms on this page should be nice and narrow single-peaks.
  2. TSH and PSH should be aligned (same time)
  3. Electron narrow is earlier than electron wide by 10ns (20channels), and should have roughly the same shape. If there is clear cutoff on the right side of electron narrow, it indicates a late electron VETO, which causes event loss.
  4. Electron narrow and electron wide should have roughly the same # of events under the peak. Typically they do if there is no cutoff from the VETO.
  5. points 3 and 4 apply to pion triggers in the same way.

 
Note: on right arm they do not look as clean as left arm.
page 2, fbTDC of VETO, GC and T1, common for all groups
Left arm group 5 VETO fbTDC
What to watch for?
  1. GC should be slightly earlier than T1. On both arms this timing difference have been tuned to 10ns. Too much below or above 10ns will cause either electron or pion VETOs to function incorrectly.
  2. GC&SC is the electron VETO.
  3. .not.GC & SC is the pion VETO.
  4. If you checked this for one group and it looks fine, then there is no need to plot this page for other groups (it's the same for all groups).
page 3: Cherenkov histogram for left arm group 4
Left arm group 4 Cerenkov
What to watch for?
  1. Top center: this is after the electron VETO cut. You should see that the sharp peak near zero be largely suppressed. Otherwise the GC cut in the VETO circuit is not working
  2. Top right: this is after the pion VETO cut. You should see that ONLY the sharp peak near zero is here. Ideally, the sum of this and the top center plot gives you the total spectrum in the top left plot.
  3. Middle left: this is with GC only cut. Similar to #2, the sharp peak near zero should be largely suppressed. Otherwise the GC discriminator is not working
  4. Middle center, middle right and bottom left: These are after electron wide and narrow cuts of this group. Two TDC narrow cuts can be defined in the macro in case there are double peaks in EN trigger. Usually one of them is the main peak. 
    • They should show only the electron peak away from zero; 
    • The entry numbers of the MAIN trigger peak should be almost the same in narrow and wide paths. 
  5. bottom center and bottom right: These are after pion narrow and wide cut of this group. Contrary to electrons, they should ONLY have a sharp peak near zero. Also, the entry number should be similar in these two plots.
page 4: Preshower histogram for left arm group 4
Preshower
What to watch for?
  1. Top right plot should show a clear cutoff compared to top left.
  2. The bottom two plots will have suppression of in the lower channels but the cutoff will not be as sharp as with the PSH cut (top right).
page 5: Preshower+Shower for left arm group 4
Total shower
What to watch for?
  1. Top right plot should show a clear cutoff compared to top left. 
  2. Two different TSH cuts can be defined in the macro in case if the TSH fbTDC shows double peaks and if you want to take a closer look. Here they are defined as the same since there is no double peak (or I don't care about double peaks).
  3. For right arm this plot is for Preshower*2+Shower.
page 6: Preshower vs. Shower 2D plots for left arm group 4
2D PS vs SH
What to watch for?
  1. the plot with TDC TSH cut should show a diagonal cut at channel 1200;
  2. the plot with TDC TSH cut should have a horizontal-line cut near 500;
  3. the plot with ENA and EWA cuts should have both the diagonal and horizontal cuts. And show nice electron distribution. (Note this plot currently have two ENA cuts. The 2nd one is the main trigger).
  4. The plot with PINA and PIWA cut should have a small diagonal cut. And the electron events should be largely suppressed.
  5. The last three plots show the hit position in PRL1. They should correspond to the blocks of this group. Each group should occupya different rectangular region of the focal plane. A hole coulde indicate missing lead glass block channel. Usually these should have already been checked during commissioning and should not have problem.  THese plots will be meaningful for VDC ON runs ONLY. For VDC off runs you will see only zero values.
page 7: PS vs SH 2D histogram for global electron and pion triggers

Left arm run 25455 (high rate, VDC off)
PS vs SH for global triggers

Right arm run 4921
Right arm global triggers
What to watch for?
  1. The timing peak (top two) would not be as clean as single groups but should still be a single peak somewhat;
  2. The 2nd row shows L.prl1.asum_c vs. L.prl2.asum_c and L.cer.asum_c, without cut.
  3. The 3rd row shows L.prl1.asum_c vs. L.prl2.asum_c with cuts on fbTDC of the global EN and EW triggers. They should show a distinct electron "blob" and little events at low energies. The two plots should have roughly the same # of entries, with EW slightly higher than EN.
  4. The 4th row shows Cerenkov spectrom with EN and EW cuts. They should show the electron peak (large amplitude) and the peak near zero should be somewhat largely suppressed. This particular run, however, seems to have only a 1/100 suppression compared to the no-cut plot. Thresholds might need to be increased.
  5. The 5th row shows Cerenkov spectrum with pionN and pionW cut. They should show zero electron yield (large amplitude), and a sharp peak near zero since this is where pions are supposed to be.
The right arm plot (here is run 4921), shows a much better PID behavior in electron spectrums.

Detailed timing check for PS and SH coincidence and VETO

page 1, timing difference between PS and SH, left arm run 25363.
TSminusPS
What do these mean?
  1. What you see here are fbTDC TS minus PS, 0.5ns per channel. Red shows events that do not trigger narrow electron path, and blue shows events that do not trigger wide electron path;
  2. In general, you will see both sides of the peak to be red, and the cutoff will be 120 channels, or 60ns wide. This is because the narrow path is 30ns wide and if the two signals miss each other by 60ns, they would not trigger narrow paths;
  3. In the plot on the left we also see small loss of both red and blue (here blue completely covers the red), in the middle of the peak. This could be because of loss due to Cherenkov cuts. But the loss should be very small.

What to watch for?
  1. If the red (narrow loss) shows up only on one edge of the peak and cause a large loss, the timing of either PS or TS of that group should be adjusted.
page 2, timing between VETO and PS/TS signals, left arm

Run 25363
veto minus PS/SH, run 25363

Run 25325
veto
What do these mean?
  1. What you see here are electron VETO minus the smaller value of PS and TS. Since smaller TDC reading means later signal, min(TS,PS) would be the starting edge of TS.and.PS that goes to the ANDing module.
  2. red and blue, again, shows events that do not trigger narrow and wide paths.
  3. If there is no loss from late VETOs, you should no see any red or blue.

What to watch for?
  1. Any red or blue distribution would be a warning sign. For run 25325, for example, the VETO is too late by about 10ns (20 channels) for 4 out of 6 groups, as you can see from the plot on the left. This means we should add 12-16ns delay cables to PS and TS of all groups. We did this during one of the accesses, on Nov. 7 (?)

How to increase slug # without flipping IHWP

If you want to increase the slug number without flipping the IHWP, such as after kinematics change: