forked from uiowahep/Analysis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_limits.sh
executable file
·61 lines (51 loc) · 3.33 KB
/
run_limits.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
label=limits_test_multipdf_26_7_17
jobLabel=limits_test_multipdf_26_7_2017
hdir=$PWD
#cd Modeling/higgs2/
#python generate.py --mode UF_AMC --outDirName $label --what datacardsTripleGaus --withSystematics
cd /afs/cern.ch/work/a/acarnes/public/h2mumu/limit_setting/out/limits_and_bias/backgroundfitswithroomultipdf/AMC/$label
rm *grid*.png
montage -tile 3x4 -geometry +2+2 backgroundFits__*__bkgModels.png bkg-grid.png
cp *grid* $hdir/imgs/
cd /afs/cern.ch/work/a/acarnes/public/h2mumu/limit_setting/out/limits_and_bias/signalfitinterpolationswithspline/AMC/$label
rm *grid*.png
montage -tile 3x4 -geometry +2+2 signalFit__*125*GluGlu*.png GluGlu-125-grid.png
montage -tile 3x4 -geometry +2+2 signalFit__*125*VBF*.png VBF-125-grid.png
montage -tile 3x4 -geometry +2+2 signalFit__*125*ZH*.png ZH-125-grid.png
montage -tile 3x4 -geometry +2+2 signalFit__*125*WPlusH*.png WplusH-125-grid.png
montage -tile 3x4 -geometry +2+2 signalFit__*125*WMinusH*.png WMinusH-125-grid.png
montage -tile 3x4 -geometry +2+2 signalFit__*120*GluGlu*.png GluGlu-120-grid.png
montage -tile 3x4 -geometry +2+2 signalFit__*120*VBF*.png VBF-120-grid.png
montage -tile 3x4 -geometry +2+2 signalFit__*120*ZH*.png ZH-120-grid.png
montage -tile 3x4 -geometry +2+2 signalFit__*120*WPlusH*.png WplusH-120-grid.png
montage -tile 3x4 -geometry +2+2 signalFit__*120*WMinusH*.png WMinusH-120-grid.png
montage -tile 3x4 -geometry +2+2 signalFit__*130*GluGlu*.png GluGlu-130-grid.png
montage -tile 3x4 -geometry +2+2 signalFit__*130*VBF*.png VBF-130-grid.png
montage -tile 3x4 -geometry +2+2 signalFit__*130*ZH*.png ZH-130-grid.png
montage -tile 3x4 -geometry +2+2 signalFit__*130*WPlusH*.png WplusH-130-grid.png
montage -tile 3x4 -geometry +2+2 signalFit__*130*WMinusH*.png WMinusH-130-grid.png
montage -tile 3x4 -geometry +2+2 signalFitInterpolation*GluGlu*.png GluGlu-igrid.png
montage -tile 3x4 -geometry +2+2 signalFitInterpolation*VBF*.png VBF-igrid.png
montage -tile 3x4 -geometry +2+2 signalFitInterpolation*ZH*.png ZH-igrid.png
montage -tile 3x4 -geometry +2+2 signalFitInterpolation*WPlusH*.png WplusH-igrid.png
montage -tile 3x4 -geometry +2+2 signalFitInterpolation*WMinusH*.png WMinusH-igrid.png
cp *grid* $hdir/imgs/
cd $hdir
cd /afs/cern.ch/work/a/acarnes/public/h2mumu/limit_setting/out/limits_and_bias/ftest/AMC/$label/
rm *grid*.png
montage -tile 3x4 -geometry +2+2 ftest*.png ftest-grid.png
cp *grid* $hdir/imgs/
cd $hdir
#cd Modeling/combine/
#python generate_precombine.py --mode UF_AMC --what combineCards --inDirName $label --signalModel TripleGaus
#python generate_precombine.py --mode UF_AMC --what text2workspace --inDirName $label --signalModel TripleGaus
#
## --categoriesToSkip cat0
#
#python generate_precombine.py --mode UF_AMC --what categories --inDirName $label --outDirName ${jobLabel} --method Asymptotic --massPoints 120 125 130 --signalModel TripleGaus --splitLevel 1 --queue 8nh
#python generate_precombine.py --mode UF_AMC --what combinations --inDirName $label --outDirName ${jobLabel} --method Asymptotic --massPoints 120 125 130 --signalModel TripleGaus --splitLevel 1 --queue 8nh
#cd -
#cd /afs/cern.ch/work/a/acarnes/public/h2mumu/limit_setting/out/limits_and_bias/combinesubmissions/AMC/${jobLabel}/
#./submit_categories_Asymptotic_TripleGaus.sh ## Submit limits for categories to the queue
#./submit_combinations_Asymptotic_TripleGaus.sh ## Submit limits for combinations to the queue
#cd -