forked from cms-analysis/flashggFinalFit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustCopyFiles.sh
More file actions
executable file
·23 lines (21 loc) · 889 Bytes
/
justCopyFiles.sh
File metadata and controls
executable file
·23 lines (21 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#EXT="preappFinal2016"
EXT="approvalFinal2016"
OUTDIR="outdir_${EXT}"
if [ ! -d "Signal/$OUTDIR" ]; then
echo "Signal/$OUTDIR doesn't exist, maybe your EXT is wrong? Exiting..."
exit 1
fi
cd Plots/FinalResults
ls ../../Signal/$OUTDIR/CMS-HGG_*sigfit*oot > tmp.txt
while read p;
do
q=$(basename $p)
cp $p ${q/$EXT/mva}
echo " cp $p ${q/$EXT/mva} "
done < tmp.txt
echo "cp ../../Signal/$OUTDIR/CMS-HGG_sigfit_${EXT}.root CMS-HGG_mva_13TeV_sigfit.root"
cp ../../Signal/$OUTDIR/CMS-HGG_sigfit_${EXT}.root CMS-HGG_mva_13TeV_sigfit.root
echo "cp ../../Background/CMS-HGG_multipdf_${EXT}${FAKE}.root CMS-HGG_mva_13TeV_multipdf${FAKE}.root"
cp ../../Background/CMS-HGG_multipdf_${EXT}${FAKE}.root CMS-HGG_mva_13TeV_multipdf${FAKE}.root
echo "cp ../../Datacard/Datacard_13TeV_$EXT.txt CMS-HGG_mva_13TeV_datacard.txt"
cp ../../Datacard/Datacard_13TeV_$EXT.txt CMS-HGG_mva_13TeV_datacard.txt