-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathhadd_files.sh
37 lines (28 loc) · 1.83 KB
/
hadd_files.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
dir16="/eos/uscms/store/user/cmantill/bstar_select_deep/"
dir17="/eos/uscms/store/user/cmantill/bstar_select_deep/"
dir18="/eos/uscms/store/user/cmantill/bstar_select_deep/"
#dir16="/eos/uscms/store/user/lcorcodi/CMSDAS_bstar/"
#dir17="/eos/uscms/store/user/lcorcodi/CMSDAS_bstar/"
#dir18="/eos/uscms/store/user/lcorcodi/CMSDAS_bstar/"
odir="/eos/uscms/store/user/cmantill/bstar_inputs/"
#wp="tau32medium_default"
wp="deepak8_default"
hadd -f $odir/TWpreselectionRun2_data_${wp}.root ${dir16}/*data*.root ${dir17}/*data*.root ${dir18}/*data*.root
cp ${dir16}/Presel_ttbar_bstar16.root $odir/TWpreselection16_ttbar_${wp}.root
cp ${dir17}/Presel_ttbar_bstar17.root $odir/TWpreselection17_ttbar_${wp}.root
cp ${dir18}/Presel_ttbar_bstar18.root $odir/TWpreselection18_ttbar_${wp}.root
cp ${dir17}/Presel_ttbar-semilep_bstar17.root $odir/TWpreselection17_ttbar-semilep_${wp}.root
cp ${dir18}/Presel_ttbar-semilep_bstar18.root $odir/TWpreselection18_ttbar-semilep_${wp}.root
cp ${dir16}/Presel_singletop_tW_bstar16.root $odir/TWpreselection16_singletop_tW_${wp}.root
cp ${dir17}/Presel_singletop_tW_bstar17.root $odir/TWpreselection17_singletop_tW_${wp}.root
cp ${dir18}/Presel_singletop_tW_bstar18.root $odir/TWpreselection18_singletop_tW_${wp}.root
cp ${dir16}/Presel_singletop_tWB_bstar16.root $odir/TWpreselection16_singletop_tWB_${wp}.root
cp ${dir17}/Presel_singletop_tWB_bstar17.root $odir/TWpreselection17_singletop_tWB_${wp}.root
cp ${dir18}/Presel_singletop_tWB_bstar18.root $odir/TWpreselection18_singletop_tWB_${wp}.root
for m in {1400..4200..200}
do
cp ${dir16}/Presel_signalLH${m}_bstar16.root $odir/TWpreselection16_signalLH${m}_${wp}.root
cp ${dir17}/Presel_signalLH${m}_bstar17.root $odir/TWpreselection17_signalLH${m}_${wp}.root
cp ${dir18}/Presel_signalLH${m}_bstar18.root $odir/TWpreselection18_signalLH${m}_${wp}.root
done