Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-21 23:14:25

0001 #!/bin/bash
0002 
0003 dir=${1:-plots}
0004 outdir=${dir}/toymcval
0005 base=SKL-SP_ToyMC_FullDet
0006 
0007 echo "Moving plots and text files locally to ${outdir}"
0008 mkdir -p ${outdir}
0009 mv ${base}_*.png ${outdir}
0010 for build in BH STD CE
0011 do
0012     vbase=validation_${base}_${build}
0013     mv ${vbase}/totals_${vbase}.txt ${outdir}
0014 done
0015 
0016 host=kmcdermo@lxplus.cern.ch
0017 whost=${host}":~/www"
0018 echo "Moving plots and text files remotely to ${whost}"
0019 scp -r ${dir} ${whost}
0020 
0021 echo "Executing remotely ./makereadable.sh ${outdir}"
0022 ssh ${host} bash -c "'
0023 cd www
0024 ./makereadable.sh ${outdir}
0025 exit
0026 '"
0027 
0028 echo "Removing local files"
0029 for build in BH STD CE
0030 do
0031     testbase=${base}_${build}
0032     rm -rf validation_${testbase}
0033     rm -rf log_${testbase}_NVU8int_NTH24_val.txt 
0034 done
0035 
0036 rm -rf ${dir}