#! /bin/tcsh -f # ----------------------------------------------------------------------------- # # Name : validate_passX.tcsh # # Purpose : For a given passtable, make plots of table cid verses run number # and table count versus run number, and copy these to webpage area # on fcdflnx3 # # Usage : validate_passtable.tcsh # # Arguements : = name of passtable to be validated. will take the highest un-retired passindex of this passname # = controls which plots are made # # Created : 02/07/2004 # # # Author : Ben Cooper # # ----------------------------------------------------------------------------- #setup the software source ~cdfsoft/cdf2.cshrc setup cdfsoft2 5.3.3 @ zero = 0 @ one = 1 set passName = $1 #now make table count plots cd /data1/cdfcalib/cron_scripts/monitoring/validate_passtable_count echo "making table count plots" ./validate_NumberOfTables_passtable_new_2.tcsh $1 $2 $3 convert tableCount_$1.eps tableCount_$1.gif scp tableCount_$1.gif cdfopr@fcdflnx3.fnal.gov:/cdf/home/www/usr/cdfopr/calibrations/plots_allruns/ rm tableCount_$1.gif rm tableCount_$1.eps #first make cid vs run number plots cd /data1/cdfcalib/cron_scripts/monitoring/validate_passtable mkdir passname_$1_eps mkdir passname_$1_gif echo "making cid vs run number plots" ./validate_passtable_new_2.tcsh $1 $2 $3 root -b -q 'make_passname_eps.C("'${passName}'")' ./multiple_eps_to_gif.tcsh passname_$1_eps passname_$1_gif scp passname_$1_gif/* cdfopr@fcdflnx3.fnal.gov:/cdf/home/www/usr/cdfopr/calibrations/plots_allruns/cidvsrun_$1 rm passname_$1_gif/* rm passname_$1_eps/*