001 #!/bin/sh
002 export PATH=/usr/krb5/bin:/usr/bin:/bin:${PATH}
003
004 #fkw usage of this script:
005 #as executable line in CafGui use:
006 # ./caf.sh $ Zee
007 #This assumes that there's a file Zee.lst that defines
008
009 export inum=$1
010 export tmp=` awk "{if (NR == $inum ) print $N }" dataDefinition/$2.lst`
011 export inFile="root://fcdfdata013.fnal.gov/"$tmp
012
013 export outFile=${2}-${1}-v5_1_0pre2.root
014
015 export fcpLocation="cdfdata@fcdfdata034.fnal.gov:/cdf/scratch/cdfdata/fkw/"$2"/"
016
017 echo "Input file = "$inFile
018 echo "Output filename = "$outFile
019 echo "Ouput fcp location = "$fcpLocation
020
021 ./runProd.sh $inFile $outFile $fcpLocation
022
023
024
025
Send problems or questions to cdfcode@fnal.gov