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:
Type of calibration: = 1 Gain version 1 = 2 Walk version 1 = 3 Walk version 2
= 0 Use dqcr and dqch to determine if a channel is online. = 1 Assume all PMTs are online.
Source of laserball data: = 1 CAST banks = 2 TPCA 1 (below)
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.
These are the start date/time and end date/time when using absolute validity.
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
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
These are the number of days after and before the PCA calibration when using relative validity.
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_calwhere
$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