Difference between revisions of "Data Acquisition System and Triggers"
Jump to navigation
Jump to search
Line 53: | Line 53: | ||
</ol> | </ol> | ||
− | <li> | + | <li>"Reset" and "Download" coda; |
<li>Check the ROC31/ROC20 coda window to make sure it's in mode 10; | <li>Check the ROC31/ROC20 coda window to make sure it's in mode 10; | ||
− | <li>Take runs; | + | <li>Take runs with trigger T1=T2=T3 for LHRS, and T4=T5=T6 for RHRS; |
− | <li>Decode a run with FADC decoder: | + | <li>Decode a run with FADC decoder: on a-onl@aonl1 |
<ol> | <ol> | ||
<li>gotritium; | <li>gotritium; | ||
Line 62: | Line 62: | ||
<li>./FADCcom | <li>./FADCcom | ||
</ol> | </ol> | ||
− | <li>check /chafs1/work1/tritium/FADC_rootfiles/fadc_*.root. Any under/overflow? Is signal | + | <li>check /chafs1/work1/tritium/FADC_rootfiles/fadc_*.root. Any under/overflow? |
+ | Is the window including entire signal? Is the start point of signal 20 samples away to the window beginning? | ||
<li>Also there is a txt in scripts/FADC_decode/results. Make sure all the overflow/underflow/bad pedestal are 0 percent for slot 6, 7, 8 (LHRS), and slot 13, 14, 15(RHRS); | <li>Also there is a txt in scripts/FADC_decode/results. Make sure all the overflow/underflow/bad pedestal are 0 percent for slot 6, 7, 8 (LHRS), and slot 13, 14, 15(RHRS); | ||
+ | <li>If any of the requirement above doesn't satisfied, call Mike or Hanjie to adjust it. |
Revision as of 23:45, 13 December 2017
Back to Installation and Commissioning
Overview
(see Tritium DAQ page)
Trigger Checkout Plan (Experts Only)
In general, we need one hall access if everything works fine.
Step 1
- Use remote scopes with inputs S0 (from FIFO), S2 (from FIFO), GC (from FIFO), S0&S2 (from Logic Unit) and S0||S2 (from Logic Unit)
- Verify that the S0 and S2 signals are as they should be (see picture (needs to be added!!!))
- Verify that the S0&&S2 signal is within the GC signal with the desired time distance (see picture (needs to be added!!!))
- Verify that the S0||S2 signal is within the GC signal with the desired time distance. Take also into account the extra cable delay from the S0|S2 logic unit to the (S0||S2)&&GC logic unit (see picture (needs to be added!!!))
- NOTE: The S0&&S2 and S0||S2 times could be also estimated from the S0 and S2 signals with the known delays from the trigger schematics if there is no remote scope available for the RHRS.
- If necessary go to the hall and change individual trigger delays!
- In parallel: Check S0, S2 and GC timings with Tong's and Jason's scripts.
Step 2
- Go to the hall and plug in the trigger signals and S2 on the 4-channel scopes.
- Check the individual trigger delays with respect to each and other and S2 (leads the time for S0&S2 and S0&S2&GC). Keep in mind to take also into account different cable length of the triggers from the logic unit to the TS input.
- If necessary go to the hall and modify the cables.
- In parallel: Check trigger time distributions with Shujie's script.
Remote Scope Access
FADC Check
- Modify FADC readout list to switch to raw sample mode:
- LHRS: on adaq@adaq1:
- "ssh -Y dvcs@intelha3"
- "cd fadc_mike/BlkRead"
- open "roc31_tritium_list.c"
- change "FADC_MODE" to "10"; save and exit;
- "make"
- RHRS: on adaq@adaq2:
- "ssh -Y adaq@halladaq8"
- "cd tritium_fadc/BlkRead/"
- open "roc20_tritium_list.c"
- change "FADC_MODE" to "10"; save and exit;
- "make"
- "Reset" and "Download" coda;
- Check the ROC31/ROC20 coda window to make sure it's in mode 10;
- Take runs with trigger T1=T2=T3 for LHRS, and T4=T5=T6 for RHRS;
- Decode a run with FADC decoder: on a-onl@aonl1
- gotritium;
- cd scripts/FADC_decode;
- ./FADCcom
- check /chafs1/work1/tritium/FADC_rootfiles/fadc_*.root. Any under/overflow? Is the window including entire signal? Is the start point of signal 20 samples away to the window beginning?
- Also there is a txt in scripts/FADC_decode/results. Make sure all the overflow/underflow/bad pedestal are 0 percent for slot 6, 7, 8 (LHRS), and slot 13, 14, 15(RHRS);
- If any of the requirement above doesn't satisfied, call Mike or Hanjie to adjust it.