HAPPEX Charge Asymmetry Feedback

From Hall A Wiki
Revision as of 10:37, 4 November 2008 by Moffit (Talk | contribs) (How to start)

Jump to: navigation, search

The HAPPEX DAQ is run to provide beam charge asymmetry feedback for the Polarized 3He experiments. This page will briefly describe the the system, and how to recover it if it does not work.

How To Start

Enabling Charge Asymmetry Feedback

Feedback must be enabled before starting a HAPPEX Run. Enabling during a run will only take effect after the next run starts.

  • In an xterm:
[adaq@adaql2 ~]$ ssh apar@adaql3
[apar@adaql3 ~]$ feedback on

Starting the HAPPEX CODA

  • In an xterm:
[adaq@adaql2 ~]$ ssh apar@adaql3
[apar@adaql3 ~]$ kcoda   
[apar@adaql3 ~]$ rcServer &   

wait a 5 seconds,then

[apar@adaql3 ~]$ runcontrol

Click Connect Click Configure Select the RunType:Transversity configuration and Click Ok Click Download Click Start Run

Watching the data online

This step is useful for checking the quality of data, and insuring that feedback is working to minimize the beam charge asymmetry. It is also set up to monitor the HAPPEX Luminosity monitors.

  • In an xterm:
[adaq@adaql2 ~]$ ssh apar@adaql3
[apar@adaql3 ~]$ gotran
[apar@adaql3 ~/transversity/pan]$ pan
root [0] online("transversity")

A light green GUI will pop up. The data contained in the pages will update as the HAPPEX Run continues.

Detailed Explanation - The Feedback Loop

Feedback loop.png

Summary of the components (pink boxes):

  • Polarized Source - IA Cell

The electron beam is created by illuminating a GaAs Photo Cathode with circularly polarized light. Before this light is circularly polarized (with a randomly flipped 30Hz Pockels Cell), the linearly polarized beam traverses through the "IA Cell". This system contains it's own Pockels Cell whose voltage is controlled at the same 30Hz random flip as the main Pockels Cell. It's purpose is to vary the intensity of the linearly polarized light, in a beam helicity correlated way. This provides the ability to control the amount of current is generated off of the photo cathode per helicity state.

  • Hall A - Beam Current Monitor

The beam current is measured by the Hall A Beam Current Monitor. The signals from this monitor is coupled to the RF of the beam, and is then down-converted to generate a voltage signal proportional to the beam current. There are two separate down converter electronics in the Hall A Counting house. One is used by the HAPPEX DAQ, and the other by the HRS (and BigBite) DAQ.

  • HAPPEX DAQ - Counting House Crate

The Counting House Crate of the HAPPEX DAQ contains special ADCs made to integrate over long periods (several milliseconds). The Timing/ADC Gate is supplied by a JLab custom built "timing board" which is triggered by the MPS helicity signal. The HAPPEX ADCs have TwinAx inputs, so the BCM signal must be converted from BNC to TwinAx.

  • Parity Analyzer (PAN) - compiled specifically for feedback

PAN is a ROOT based application, specifically built to analyze the data structure from the HAPPEX DAQ. A special version of PAN has been compiled to take in the input directly from CODA, sort the events in terms of helicity windows, and form pairs to calculate helicity differences and asymmetries. The information about the IA Cell's linear response to it's control voltage is then used to determine what voltage change must be made to minimize the beam charge asymmetry. Once a value is calculated (after a set 2 minutes of beam), it is communicated to the IA cell via EPICS.