next up previous contents
Next: TPCA 2/3/4 Up: User Control Previous: FILE PCA 1: Output   Contents


TPCA 1

Titles bank TPCA 1 is the overall PCA control bank and determines the calibration type. In this, and the following section, bank addresses are given in their mnemonic form, consult:- Companion / Titles banks / TPCA for the absolute values. The full list of entries is:

_CAL_TYPE
Type of calibration:
 = 1 Gain version 1
 = 2 Walk version 1
 = 3 Walk version 2

_BAD_DQCRCH
 = 0 Use dqcr and dqch to determine if a channel is online.
 = 1 Assume all PMTs are online.

_LRBP_MODE
Source of laserball data:
 = 1 CAST banks
 = 2 TPCA 1 (below)

_VAL_MODE
Validity mode:
 = 1 use relative time for the validity range of the output
     titles banks.
 = 2 use absolute time for the validity range of the output
     titles banks.

_VDATE_START,_VTIME_START,_VDATE_END,_VTIME_END
These are the start date/time and end date/time when using
absolute validity.

_MPLP_MODE
Whether or not to use the PMT mask
 = 0 Do not use the PMT mask (i.e. all PMTs calibrated from all laserball 
     positions
 = 1 Use the PMT mask to determine which PMTs are calibrated from which 
     laserball positions

_TCORR_MODE
Whether or not to use the time-of-flight correction
 = 0 Do not use the ToF correction for off-center laserball positions
 = 1 Use the ToF correction for off-center laserball positions

_VDAYS_AFTER,_VDAYS_BEFORE
These are the number of days after and before the PCA
calibration when using relative validity.

_LASER_X.._LASER_Z
Laserball x, y and z position (for _LRBP_MODE = 2)

_LASER_DX.._LASER_DZ
Error on x, y and z position (for _LRBP_MODE = 2)

_LASER_WAVL
Laserball wavelength (for _LRBP_MODE = 2)

There are a number of symbolic commands for use with the PCA in the symbol table under the section 'Calibration Control'. To set the type of calibration one of the following may be used:

  $pca_control $pca_wkv1_cal
  $pca_control $pca_walk_cal
  $pca_control $pca_gain_cal
where $pca_wkv1_cal is version 1 of the walk calibration and $pca_walk_cal is version 2.

To make the output constants valid for one day before and sixty days after the PCA laserball run use:

  $pca_control  $pca_rel_validity
  $pca_gain $pca_rel_set 1. 60.

To specify the exact validity range of the output constants use:

  $pca_control  $pca_abs_validity
  $pca_gain $pca_abs_start 20010103 21000000
  $pca_gain $pca_abs_end   20010304 00000100

To turn the PMT mask on or off:

  $pca_control $pca_mplp_nomask
  $pca_control $pca_mplp_mask

To turn the time-of-flight correction on or off

  $pca_control $pca_tcorr_off
  $pca_control $pca_tcorr_on

There are also symbols for both settings of _LRBP_MODE:

  $pca_control $lrbp_perm
  $pca_control $lrbp_ttl


next up previous contents
Next: TPCA 2/3/4 Up: User Control Previous: FILE PCA 1: Output   Contents
sno Guest Acct 2009-09-09