File indexing completed on 2024-04-06 12:28:24
0001
0002
0003 dir=${1:-plots}
0004 outdir=${dir}/cmsswval-ttbar
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 for seed in SimSeed CMSSeed
0011 do
0012 fulldir=${outdir}/${ttbar}/${seed}
0013 mkdir -p ${fulldir}
0014
0015 mv ${base}_${ttbar}_${seed}_*.png ${fulldir}
0016 for build in BH STD CE
0017 do
0018 vbase=validation_${base}_${ttbar}_${seed}_${build}
0019 mv ${vbase}/totals_${vbase}.txt ${fulldir}
0020 done
0021 done
0022 done
0023
0024 host=kmcdermo@lxplus.cern.ch
0025 whost=${host}":~/www"
0026 echo "Moving plots and text files remotely to ${whost}"
0027 scp -r ${dir} ${whost}
0028
0029 echo "Executing remotely ./makereadable.sh ${outdir}"
0030 ssh ${host} bash -c "'
0031 cd www
0032 ./makereadable.sh ${outdir}
0033 exit
0034 '"
0035
0036 echo "Removing local files"
0037 for ttbar in NoPU PU35 PU70
0038 do
0039 for seed in SimSeed CMSSeed
0040 do
0041 for build in BH STD CE
0042 do
0043 testbase=${base}_${ttbar}_${seed}_${build}
0044 rm -rf validation_${testbase}
0045 rm -rf log_${testbase}_NVU8int_NTH24_val.txt
0046 done
0047 done
0048 done
0049
0050 rm -rf ${dir}