# Install DCM threshold files
# from phoncs@phoncs0 - setuponcs before running.

# > install_thresh_files.csh

cd /home/phnxmvd/calib
setenv RUN `cat runnumber_new`
setenv DCM_THRESHOLDS /export/software/oncs/online_configuration/thresholds
echo $RUN

cd $DCM_THRESHOLDS/mvd
cp /home/phnxmvd/threshold_files/thresh$RUN.tar mvd_thresh_$RUN.tar
tar xf mvd_thresh_$RUN.tar
echo "MVD DCM THRESHOLD FILES UPDATED"

