TOF OPS: How to collect the data and set the VPD TAC offsets in the Trigger system

collect 300k events, non-VPD-based trigger, include TRG+DAQ+TOF at least.

Liang or Yichun or Xiangli or Chi calculates the TAC offsets from that run and writes the data in the correct format to
be directly uploaded to startrg.  

Then log into the startrg machine: ssh staruser@startrg.starp.bnl.gov

copy the two new TAC offset files (one for BBQ and the other for MXQ) to the home directory of the startrg machine
with a timestamp in its name,
e.g.: vpd_tac_20110131.dat (for BBQ) and mvpd_tac_20110131.dat (for MXQ)

make the soft-links: 
ln -fs vpd_tac_[timestamp].dat vpd_tac.dat
ln -fs mvpd_tac_[timestamp].dat mvpd_tac.dat

 
run the apps that builds the settings files by entering 
create_bbq_offset
and
create_mxq_offset

*look* at the output of these commands in the terminal window and make sure that you
see the new values!

Reboot TRG.
You MUST also take a pedestal run (e.g. pedestal_rhicclock) to REALLY insure that the new values
are loaded.
 

check the online plots for the next physics run to insure the TAC offsets are equalized.