DIRC Expert Instructions

From Hall D Ops Wiki
Revision as of 11:11, 19 February 2019 by Jrsteven (Talk | contribs) (Threshold Scan Procedure (2/14/19):)

Jump to: navigation, search

Threshold Scan Procedure (2/14/19):

  1. Stop the rcGUI if there’s anything running, then press "STOP" on rcm GUI to change configuration.
  2. Stop DIRC LED pulser and turn off DIRC HV via CSS GUIs.
  3. On rcm GUI, change “RUN” to EXPERT and change “SETUP” to hd_all.tsg_dirc (note: lower case dirc, upper case version hd_all.tsg_DIRC is for production), change “CONFIG” to DIRC_calib.conf. Then press “START” to start the rcGUI.
  4. Find the CRATE_ROCDIRC terminal and be ready to monitor it.
  5. On rcGUI, go through the normal procedure of “Configure”, “Download” and “Prestart”. After pressing “Prestart”, the threshold scan should start, and numbers will pop up in the CRATE_ROCDIRC terminal, and the rcGUI will show “waiting for… ROCDIRC” as the threshold scan is being conducted.
  6. As the threshold scan begins, there are several things to note:
    • in the CRATE_ROCDIRC terminal, we will see the progress with the scan. The scan will start with slot 4 with threshold values from 150 to 250, and then move on to slot 5 with threshold values again from 150 to 250. A lot numbers will pop up: for each row, it will show the slot, threshold, and scalar rates etc.
    • the DAQmon GUI scalar rates should freeze as the threshold scan is in progress
  7. After the scan is done, the data will pop up at: /gluex/CALIB/ALL/DIRC and will look something like “dirc_thr_#####.dat” with ##### indicating the run number
  8. Go to /gluex/CALIB/ALL/DIRC directory. Run the analyzeRun.csh script with the following command, which should create a ROOT file dirc_scan_#####.root and 2 PNG files dirc_graph1_#####.png and dirc_graph2_#####.png:
    • $ ./analyzeRun.csh #####
  9. After the threshold scan is complete, the rcGUI will show “Prestart succeeded”. We can continue to move on with the program. Remember to press “STOP” on the rcm GUI, change the “SETUP” and “CONFIG” files to desired ones.

Sergey noted that if somehow the threshold scan is stopped/interrupted before it is completed successfully, remember to go to the ROC control GUI and double-click rocDIRC and press “Restart shmem_srv” to restart the shared memory. Otherwise, the scalars on the DAQmon will stay frozen.