Hypernuclear Spectroscopy Experiment

High Resolution 1p-Shell Hypernuclear Spectroscopy (JLab 94-107) Home

How to bring up HAC control window

How to download and check the trigger

What/where to check target information

How to change momentum setting of HRS and Septum

How to start HALOG

How to reboot HRS crates

How to bring up the Alarm Handler

How to start beam counting script

How do the ROCs connect to the port server

Plot time dependences of EPICS variables

How to reset the VDC high voltage

How to print in the counting house

How to bring up the Beamtime Counting Table

How to start spot++ and check raster

 

How to run CODA

How to start xscaler (HRS) and check trigger rate 

How to start online analysis

Cold start

What/where to check VDC

What to do for other/unsolved problems

How to do a harp scan

 

 

 

How to bring up HAC control window

         The machine to run HAC is hacsbc2, the second machine from left. At the bottom of the screen is the linux taskbar. The Sixth symbol is tools luncher. Pressing the arrowhead opens a menu which has:

Alarm Handler, bogies_LEFT, bogies_RIGHT, bogies_SetSpec, JavaArchiverClient,

Menu_Accelerator, Menu_ESR, Menu_HallA, snapshot, StripTool

         Pressing the "Menu_HallA" label launches a subscreen titled "Hall A Main Menu". One of the entries is labled "Tools" .   Pressing on the "Tool" button opens the "Hall A General Tools" screen as following, which is often refered as the HAC window. Make sure the spectrometers are set for 6 Degrees. Old version of HAC can be found here.

 

How to change momentum setting of HRS and Septum

         From the HallA General Tools window, there is a P0 SET field for each spectrometer in which you can enter the desired momentum setting. To change to a lower momentum from a higher previous setting, you just need to enter the momentum value. To increase the momentum setting, you need to cycle the magnets for Q2 and Q3 of either arm. That means increasing the current of the Left Q2/Q3 to 1600 A (or 1400 A for the Right arm), waiting for 2 minutes after the quadrupoles reach their maximum currents, then turning down the current to the desired setting by entering the correct spectrometer momentum into the main GUI. More detailed instructions are on the white board of the counting house. There's no need to cycle magnets for Q1, Dipole and Septum.

         Septum magnets are controlled by current.

For the right septa, this means the current can be calculated as I = 92.58*P0 where P0 is the spectrometer momentum is GeV/c and the current is Amps. For the left septum, the current is calculated as I = 94.22*P0 where P0 is the spectrometer momentum is GeV/c and the current is Amps. Note this is new as of 6/06/05! For a left HRS momentum of 1.960 GeV/c, the left septum should be at 184.67 Amps. Read back current (labeled Magnet Current on the septum controls page or showing as the only septum current on the Hall A tools page) should be within 0.5 Amps of this value (using a strip tool will help you filter out the noise on the readback of the magnet current). For a right HRS momentum of 1.570 GeV/c, the right septum should be at 145.35 Amps. (Conscientious and/or bored shift workers will double check the arithmetic.)

 

How to bring up the Alarm Handler

         As HAC control window, press the "Alarm Handler" label in tools lancher. When an alarm is triggered, the bottom "Alarm Handler" will flash, then you can press that bottom to see where the problem is.

Plot time dependences of EPICS variables

         As HAC control window, press the "StripTool" label in tools lancher, which lets you plot any EPICS variables versus time.

How to bring up the Beamtime Counting Table

         Logon to "adaqs2" or "adaqs3" as user "adaq"

         cd to ~adaq/ACCOUNT

         type "atable"

         password:  you will find passwords for various experiment/equipment user accounts (on the counting house machines) on a piece of paper taped to the top-right of the counting house white board.

How to run CODA

         Logon to "adaql2" as user "a-onl"

         Normally, runcontrol will be already running.   If not, see section Cold start below.   To start and stop runs, push the buttons "Start Run" and "End Run".  Start Run is the same as the sequence prestart, go.

         To change configurations, use the "Run Type" button. If you've been running, you will first have to push "Abort" button. Choose the configuration from the dialog box, then press "Download".

         More details about Hall-A DAQ and trigger see in Bob Michaels guide.html and guide2.html.

Cold start

         Kill all CODA process on the workstation where CODA is running by typing from anywhere on the relevant account and relevant computer
> kcoda

         For data monitoring type
> datamon

         Run
> rcServer
in any window and leave it.

         Start CODA by
> runcontrol
It will start runcontrol GUI. Then press the Connect button. After "connect", wait 10 seconds, then press "Run Type"; a dialog box pops up and you must choose the configuration you want, which is presumably "COINC". Then press download and wait about 30 seconds. Now you can "Start Run" to start a run (see section How to run CODA before).

         More details about Hall-A DAQ and trigger see in Bob Michaels guide.html and guide2.html.

 

How to download and check the trigger

         Logon to an ADAQ Linux box like adaql1 or adaql2 as  user 'atrig'.

         Run
> trigsetup

         A self-explanatory graphical user interface pops up, where you must enter the Left spectrometer momentum and particle ID, and the right spectrometer momentum and particle ID, and then press "Download" and wait for it to finish. The trigsetup script does call a specific script to adjust delays on both of the HRS pair. The user should look for suspicious error messages in the window from which trigsetup was launched, e.g. to check if connection to the crate is ok.
More details are described in Bob Michaels page Loading and Checking the Hall A HRS Trigger.

 

How to start HALOG

         As user 'adaq' on any 'adaq..' machine, simply type
> halog

         Entering text is easy and straightforward. After submitting the entry, the white text on blue background in the lower right corner of the window should read  'Entry complete',  otherwise something is wrong.

         Entering graphics: Click 'Grab Screen' in the bottom  button row of the  halog window.  The halog window will disappear,  and the window the cursor is in will become the active window, its outline flashing.  By moving the cursor you can select any window to be selected,  by clicking  on the  left mouse button.  You also can  select an arbitrary part of the screen by holding down the left mouse button and dragging the  cursor along.  All the time a  rectangle will flash that indicates the selected area.  Releasing the  mouse button  will then cause this screen area to be included into the entry.  It will show up as a thumbnail picture in  the halog window,  where you can discard it or accept it, or go for a second screen grab.  The images are in GIF format.

         More details about HALOG see in halog HOWTO and FAQ page.

How to start beam counting script

         logon to 'adaql1' as user 'adaq'

         type tkABU from any directory

How to reset the VDC high voltage

         Bring up the HallA General Tools window per the above instructions

         In the "VDC HV" section, set HV to 0

         In the "Miscellaneous" section, click on the "Crate Resets" button.

         In the "Hall A Slow Controls" window, press the "Reset" button associated with the tripped HV crate.

         Go back to set HV values to 4.0 kV

How to start spot++ and check raster

         Logon to 'adaqlN' (where N is a integer) in account 'adaq',  which is the first machine from left.

         Make sure CODA is running with beam

         Type spot++ from any directory, after about 30 seconds, 3 plots will pop up.

How to start xscaler (HRS) and check trigger rate

         Log on to "adaqs3" as user "adaq", which is the top machine in the far right

         Type golscaler or gorscaler to goto left or right scaler dir

         Type xscaler

         You can find all trigger rates in Left-Arm xcaler window: T1-T5 in Page6T6,T7 in Page7

         Trigger type:  T1- R Scint/ T2- R effic/ T3- L Scint/ T4- L effic/ T5- T1&T3/ T6- T3&!A1&A2/ T7- T1&T6/ T8- 1kH pulser

What/where to check VDC

         VDC status can be checked on the HallA General Tools window (see above). High Voltages and Gas Flows are constantly being monitored.

What/where to check target information

         The target temperature is displayed on the target GUIs,tgtchartsrunning on cryotarg as well as on the camera monitors on the shelves above the computers. Look at the camera monitor labeled "Control Rack", third top little monitor. It displays the information for the waterfall and solid targets although the display is normally used for cryotargets. Ask the RC for help if you can't find the what you need or it doesn't make sense.

How to reboot HRS crates

         If the GUI for the LeCroy HV is white (blank): reset the Arcnet - the reset key is located on the "crate resets" window of the tools menus.
If the reset doesn't help you need to call the RC for advice.

How are the ROCs connected to the port server:

         ROC2 : telnet hatsv4 2002

         ROC3 : telnet hatsv4 2003

         ROC4 : telnet hatsv6 2009

         ROC14 : telnet hatsv5 2014

         TS1 : telnet hatsv4 2014

         TS2 : telnet hatsv6 2010

         If the portserver ask you the login name, use "adaq" as the user. The password is the same as in the counting house computers.

How to print in the counting house

 

(This is from Ole Hansen, 16-April-2004) There are apparently some problems with printing in the counting house.  The problem is with the configuration of the "pdq" utility and the "cha2hp" printer. The Computer Center is aware of the problem, but to my knowledge they haven't fixed it yet. For the moment, please use the following workarounds:

Printing from the command line:

         rlpr -Pcha2hp -Hjlabprt file.ps

Printing form Mozilla:

         File->Print...

         Choose to print to printer, not file

         Click on "Properties" (or "Configuration"?) of printer

         In the field for "Print command", enter: 5 /apps/bin/rlpr -Pcha2hp -Hjlabprt (you should only have to do this once for each account)

         Click "Print"

Alternatively, you can have Mozilla print to a Postscript file, which you can then print from the command line.

Trying to print to cha2hp from a CUE machine (e.g. jlabl1) using pdq will also fail. This is not a problem specific to the counting house computers.  Only lpr and rlpr will work with this printer.

 

How to start online analysis

      

 For DETECTOR REPLAY:

   1. Login to adaql5 as "adaq" account.
  
2. Type
           "goonlana"   (without the quotes).  
[This takes you to directory ~/$EXPERIMENT/onlana and sets $DB_DIR environment variable].
   3. Type "analyzer"   (without the quotes)
   4. At the analyzer prompt, type
              ".x detReplay.C"
and don't forget the dot(.) before the x. You will be asked for the run number AND for the number of events to analyse. Usually a reasonable number is 20000 (or more). Speed of replay is roughly 100 Hz (quite low also due to the large number of histograms in output)
  5. After the analysis is done (step 4), type the following either at the analyzer prompt or in a separate root session.
             .x online.C+("detectorL")
          .x online.C+("detectorR")
          .x online.C+("detphysics")
   6. COMPARE with REFERENCE plots (located near ADAQL2)
   7. Quit the analyzer with ".q" (w/o quotes) and then goto step (3) for the next run.

For PHYSICS REPLAY (when in production):

    1. Login to adaql5 as "adaq" account.
    2. Type "goonlana" AND then go into the directory ../ana:
                   cd ../ana
 
   3. Type "analyzer"   (without the quotes)
    4. At the analyzer prompt, type ".x physReplay.C" (w/o quotes).   You will be asked for the run number AND for the number of events
to analyze. For production data shift workers should analyze ALL events, so type "-1". Speed of the physics replay is roughly 300 Hz (for now), so that a "typical" 1M event takes ~ 1hr to analyze.  Therefore, it is important to start the replay as soon as the run ends.
   5. After the analysis is done (step 4), you can have a quick look at the results by typing the following either at the analyzer prompt or in a separate root session.
                  .x online.C+("physics", run #)
    The first page of the online GUI should give histograms for ctTot5, ctTot7, ctAeroK, and emKe.
   6. COMPARE with REFERENCE plots located into HALOG.     (There will be printed copies when all of the calibrations will be fixed). 
   7. Edit the file "runlist" and add the list of runs you are analysing (located in ./adaq/e94107/ana)
   8. Quit the analyzer with ".q" (w/o quotes) and then goto step (3) for the next run
   9. To speed things up, a second run can be replayed using a different machine (adaql6).



If you have questions or other problems that can not be solved

         Call the Run Coordinator  A.S.A.P.

How to do a harp scan

         How to do a harp scan is explained on this page.

Hypernuclear (JLab 94-107) Home


Pete Markowitz   2005 May 20