How to do a harp scan |
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. Old version of HAC can be found here.
¡¡
From the HallA General Tools window, there is a P0 SET field for each spectrometer in which you can eneter the desired momentum setting. To change to a lower momentum from a higher previous setting, you just need to enter the momentum value. To bring momentum setting up, you need to recycle the magnets for Q2 and Q3 of either arm. That is increasing the current of Left Q2/Q3 to 1600 A or 1400 for Right arm, wait for 2 minutes after they reach max, then tuning down the value to the desired setting. More detailed instructions are on the white board of the counting house. There's no need to recycle magnets for Q1, Dipole and Septum.
Septum magnets are controlled by currect. For both 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 a left HRS momentum of 1.960 GeV/c, the left septum should be at 181.46 Amps. Read back current ( labeled PS 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. 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. )
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.
As HAC control window, press the "StripTool" label in tools lancher, which allows to plot any EPICS variables versus time.
Logon to "adaqs2" or "adaqs3" as user "adaq"
cd to ~adaq/ACCOUNT
type "atable"
password: you find passwords for specified usrs logging in counting house machines in a paper to the top-right of white board
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.
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.
¡¡
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 distance of the RCS calorimeter
from the target, and then press "Download" and wait for it
to finish. The trigsetup script does call an RCS
specific script to adjust delays on RCS arm, and it also adjusts
delays on the Left spectrometer. 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.
¡¡
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.
logon to 'adaql1' as user 'adaq'
type tkABU from any directory
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
Logon to 'adaqs2' 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.
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 Page6, T6,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
VDC status can be checked on the HallA General Tools window (see above). High Voltages and Gas Flows are constantly being monitored.
The target temperature is displayed on the target GUIs,tgtcharts£¬running 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 temperatures for the three loops on three white temperature controllers, with loop 1 at the top and loop 3 on the bottom. Ask the TO for help if you can't find the temperature or it doesn't make sense.
Click here
for instructions.
If GUI for LeCroy HV is white (blank): do reset
to the Arcnet - reset key is located on the "crate resets"
window of the Right Spectrometer.
If the reset doesn't help you
need to call MCC and request contact software expert on call. After
such person will call explain him the problem.
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.
¡¡
(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.
¡¡
Log in adaql5 (or adaql6) machine as adaq, then enter onlana directory,
[adaq@adaql5 adaq]$ cd ~/e01015/onlana/
Run Analyzer,
[adaq@adaql5 onlana]$ analyzer
Under CPP Analyzer, run onlana.C script,
analyzer [0] .x onlana.C
After input the run number, the script will automatically analyze first 50000 events.
Then, you can run online.C with specified .cfg file to see histograms stored in the new generated Afile.root file.
Histograms are ready. To look at them type:
.x online.C+("detectorR")
.x online.C+("detectorL")
.x online.C+("summary")
¡¡
More info in README file
¡¡
analyzer [1] .x online.C+("summary")
you can find
detailed instruction for onlana directory in onlana.html
Call Run Coordinator A.S.A.P.
How to do a harp scan is explained on this page.
Ran Shneor 2004 Aug 20