General Procedures -- TWIST

back to the main Run page

Most of the interaction is done at the machine midtwist in the M13 Counting Room's "Executive Class". The login at that machine is twistonl, with the usual TWIST password. You can also log into midtwist with the usual TWIST account name and password.

Below, you'll find procedures for the following tasks:

Changing Electronics Settings Through Software

PACT Sparsification

Information from Dave Gill and Renee Poutissou...

When PACT sparsification is off, ADC outputs from all PACT channels are recorded; when it is on, only ADC outputs with signals are recorded. To turn sparsification off/on, go to the Midas status page and click on FBusC1 (the link just below the row of buttons at the top of the page); then scroll down to "C_Start_sparsified" and set it to 0 (for sparsification off) or 1 (for sparsification on). Do the same with FBusC2 or you'll only affect one crate!

When sparsification is turned on, the PPC (computer controlling the Fastbus crate) will read the file ~/online/ppcobj/ped.dat looking for pedestal values. At the moment, it will load for each individual channel a threshold:

threshold = pedestal + n*deviation
where n = 2 (hardcoded for now, will become a param in settings soon).

These thresholds are loaded in memory when the PPC boots or when the mode is changed from NO_SPARSIFY to SPARSIFY. There is no mechanism yet to tell the PPC that the contents of the pedestal file has changed. This will be coming soon. If you change the values, shutdown the PPC program and reboot.

Turning the PACT Readout ON/OFF

To turn target PACT readout OFF:
---------------------------------
 From the Status page
 Select FbusC1 on 3rd row from the top
    Select end_link , set it to 4
    Select C_Start_ntdc, set it to 0
Back to Status page
 Select FbusC2 on 3rd row from the top
    Select end_link , set it to 4
    Select C_Start_ntdc, set it to 0

To turn target PACT readout ON:
---------------------------------
 From the Status page
 Select FbusC1 on 3rd row from the top
    Select end_link , set it to 3
    Select C_Start_ntdc, set it to 1
Back to Status page
 Select FbusC2 on 3rd row from the top
    Select end_link , set it to 3
    Select C_Start_ntdc, set it to 1

PACT Pedestal Runs

A pulser run (pulsing only the trigger, not the chambers or the postamps) is taken to establish the PACT pedestals. To take a pedestal run:
  1. Turn PACT sparsification off.
  2. Turn off the B1 magnet and put in the beamblocker.
  3. Go downstairs and set up the pulser trigger, and ensure the pulser is pulsing the FastBus ("FB"), not the chambers.
  4. Take some data (a few times 10^4 events should be plenty).
  5. Turn PACT sparsification on.
  6. Switch the trigger back to whatever's appropriate.
After taking a pedestal run, you need to determine the pedestals and tell the Fastbus PPC's to use them:
  1. login to twistonl@midtwist
  2. cd online_qod
  3. setenv MTIN /twist/data_onl/current/... (use your run)
  4. ./qod
  5. @ped
  6. ana 10000
  7. func 21
  8. exit
  9. observe that there are new SC_ADC.xxx and PC_ADC.xxx files.
  10. cp PC_ADC.xxx /home/twistonl/online/ppcobj/
  11. cp PC_ADC.xxx /home/twistonl/online/ppcobj/ped.dat
  12. reboot both PPCs.

Efficiency Scans

To determine a good operating point for the chambers, we need to measure chamber (plane) efficiency as a function of High Voltage at some threshold. (The threshold is determined from other factors, usually.) Efficiency measurements rely on tracking, and at low HV's the efficiency is low enough that tracking can be unreliable, so the HV's are varied in groups: half the planes are held at a "reasonable" HV while the other half are varied, and vice versa. The DC's are also usually varied separately from the PC's.

DC's are varied from 2000 V down to 1600 V in 50 V steps. PC's are varied from 2200 V down to 1600 V in 50 V steps. Any planes not being varied are to be set to their nominal voltages (see the "nominal settings" file).

DC planes in group A:
1,2,5,6,9,10,13,14,17,18,21,22,25,26,29,30,33,34,37,38,41,42
DC planes in group B:
3,4,7,8,11,12,15,16,19,20,23,24,27,28,31,32,35,36,39,40,43,44

PC planes in group A:
1,2,5,6,9,10
PC planes in group B:
3,4,7,8,11,12

Time Zero Calibration

Drift times in DCs and PCs are measured relative to the trigger, but there is an offset due to electronics, cable lengths, etc. These offsets ("time zeroes") must be measured. Art Olin describes procedures for measuring time zeroes.

back to the main Run page