Active Collimator

From GlueXWiki
Jump to: navigation, search

Notes from meetings with Accelerator Group

High Speed DAQ for the Active Collimator

Active Collimator Naming Convention

  • For EPICS PVs
    • N9 corresponds to inner wedges
    • N10 corresponds to outer wedges
  • For Monticello plots
    • I corresponds to inner wedges
    • O corresponds to outer wedges
  • Common to both EPICS and Monticello
    • XP corresponds to X, plus
    • XM corresponds to X, minus
    • YP corresponds to Y, plus
    • YM corresponds to Y, minus
  • Cable diagram
AC cable labels.JPG

High Speed ROOT File Writer

An EPICS IOC server is set up on gluon29.jlab.org:26064 to write the raw waveform data to /gluonraid1/Users/ac directory on demand.

The control of this High Speed DAQ can be found in Hall-D's EPICS GUI:

  1. Open CSS EPICS Control following these instructions
  2. From the Main Action Bar under the Beam heading, open the Active Collimator GUI.
  3. Start or Stop the High Speed ROOT File by clicking the button underneath the title.
  4. Once started, make sure the a new ROOT file is created and the File Size is increasing. In the box next to ROOT File it should say /gluonraid1/Users/ac/ac_YYYYMMDD_XXXXXX.root.

In very rare occasions, e.g. some one rebooted the AC DAQ server, the writer IOC needs to be restarted

Reboot using command lines
  1. Log onto gluon29 using hdsys account
  2. telnet localhost 26064
  3. Restart the IOC by keyboard combination Ctrl+X
  4. Exit the IOC proServer by keyboard combination Ctrl+]
  5. Exit the telnet by typing quit

Analyze the Raw Data

Analyzing the data from the active collimator can be done in two ways.

From Active Collimator GUI
  1. Click the Analyzer button in the active collimator GUI.
  2. This will open a new window. In the upper left select Open and select in the rawdata folder the root file to be analyzed.
From a Linux terminal
  1. Log onto a gluon machine, e.g. gluon30.jlab.org, using account hdops: ssh -X hdops@gluon30
  2. Enter acanalyzer directory: cd ~/acanalyzer
  3. Start the analyzer script: ./run
  4. A new window will appear. In the upper left select Open and select in the rawdata folder the root file to be analyzed.

List of EPICS PVs

Here are the waveform records with size of 8192, N9 are inner and N10 are outer:

  • Inner
    • iochdcol:BPM:N9:raw_XP
    • iochdcol:BPM:N9:raw_XM
    • iochdcol:BPM:N9:raw_YP
    • iochdcol:BPM:N9:raw_YM
  • Outer
    • iochdcol:BPM:N10:raw_XP
    • iochdcol:BPM:N10:raw_XM
    • iochdcol:BPM:N10:raw_YP
    • iochdcol:BPM:N10:raw_YM

These are the 16-bit count readings for individual plates that are always available and filtered down to ~1Hz (same order as above):

  • Inner
    • IOCHDCOL:VMICADC1_1
    • IOCHDCOL:VMICADC2_1
    • IOCHDCOL:VMICADC3_1
    • IOCHDCOL:VMICADC4_1
  • Outer
    • IOCHDCOL:VMICADC1_2
    • IOCHDCOL:VMICADC2_2
    • IOCHDCOL:VMICADC3_2
    • IOCHDCOL:VMICADC4_2

And the gains:

  • Inner
    • IAC5H01I_GAINXP
    • IAC5H01I_GAINXM
    • IAC5H01I_GAINYP
    • IAC5H01I_GAINYM
  • Outer
    • IAC5H01I_GAINXP
    • IAC5H01I_GAINXM
    • IAC5H01I_GAINYP
    • IAC5H01I_GAINYM

Expert view of raw AC waveforms in Monticello

The following is for experts only

  1. Connect to a gluon machine in the Hall D counting house
  2. In the terminal window type the command monticello
  3. In the Monticello screen, move the mouse to the BPM menu item and click the left-most button to reveal a pop-up menu. Select Hall D Active Collimator Diagnostics from the bottom of the popup menu. This will pop up a new window with the active collimator information.
  4. Make sure the following are selected
    1. iochdcol
    2. SEE Norm Ops
    3. FastSee Light On
    4. Update Mode Continuous
  5. To change the sampling rate go to the lower left corner of the GUI where it says samples to avg (500kHz) and change it to the desired value. This will reduce the rate by the factor you enter.
  6. On the left-hand side the gains for each wedge can be changed, if required.
  7. Go to Raw Wire Data Graph button near the bottom right and you can open the plots for the inner and outer plates.
  8. Within this new window you can change the axes ranges by right clicking on an axis. This will pop up a new window that has options for the min and max for each axis.