Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:28:24

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