Difference between revisions of "Active Collimator"

From GlueXWiki
Jump to: navigation, search
(High Speed ROOT File Writer)
(Analyze the Raw Data)
Line 34: Line 34:
  
 
=== Analyze the Raw Data ===
 
=== Analyze the Raw Data ===
 
+
Analyzing the data from the active collimator can be done in two ways.
 
; From Active Collimator GUI:
 
; From Active Collimator GUI:
# Click the '''Analyzer''' button in the PXI Fast DAQ section.
+
# Click the '''Analyzer''' button in the active collimator GUI.
 +
# 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:
 
; From a Linux terminal:
# log onto a gluon machine, e.g. '''gluon30.jlab.org''', using account '''hdops''': <code>ssh -X hdops@gluon30</code>
+
# Log onto a gluon machine, e.g. '''gluon30.jlab.org''', using account '''hdops''': <code>ssh -X hdops@gluon30</code>
# enter acanalyzer directory: <code>cd ~\acanalyzer</code>
+
# Enter acanalyzer directory: <code>cd ~/acanalyzer</code>
# start the analyzer script:  <code>./run</code>
+
# Start the analyzer script:  <code>./run</code>
# in the analyzer, open a collection of raw data files or a processed ROOT file and start the analysis.
+
# 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 ===
 
=== List of EPICS PVs ===

Revision as of 20:55, 23 October 2014

Notes from meetings with Accelerator Group

High Speed DAQ for the Active Collimator

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:

  • iochdcol:BPM:N9:raw_XP
  • iochdcol:BPM:N9:raw_XM
  • iochdcol:BPM:N9:raw_YP
  • iochdcol:BPM:N9:raw_YM
  • 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):

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

And the gains:

  • IPMHDACI_GainSub
  • IPMHDACI_GAINXP
  • IPMHDACI_GAINXM
  • IPMHDACI_GAINYP
  • IPMHDACI_GAINYM
  • IPMHDACO_GainSub
  • IPMHDACO_GAINXP
  • IPMHDACO_GAINXM
  • IPMHDACO_GAINYP
  • IPMHDACO_GAINYM