File tree Expand file tree Collapse file tree 10 files changed +83
-17
lines changed
Expand file tree Collapse file tree 10 files changed +83
-17
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ echo "This will take a while ... grab a coffee/tea/water/cocktail"
33mkdir -p logs
44fit_var=" absolute_eta,M3,angle_bl"
55nice_fit_var=` echo $fit_var | sed ' s/,/_/g' `
6- N_JOBS=5
6+ N_JOBS=8
77
88echo " Using the fit variable(s): $fit_var "
99
@@ -12,6 +12,12 @@ for var in MET HT ST WPT MT; do
1212 echo " Fitting distribution: $var "
1313 nohup time python src/cross_section_measurement/01_get_fit_results.py -V -v $var --no_combined_signal -c 7 --fit-variables $fit_var & > logs/01_${var} _fit_7TeV_${nice_fit_var} .log &
1414 let i+=1
15+ if (( $i % N_JOBS == 0 ))
16+ then
17+ echo " Waiting on the above to finish."
18+ wait ;
19+ fi
20+
1521 nohup time python src/cross_section_measurement/01_get_fit_results.py -V -v $var --no_combined_signal -c 8 --fit-variables $fit_var & > logs/01_${var} _fit_8TeV_${nice_fit_var} .log &
1622 let i+=1
1723 if (( $i % N_JOBS == 0 ))
@@ -21,4 +27,5 @@ for var in MET HT ST WPT MT; do
2127 fi
2228done
2329
30+ wait ;
2431echo " All done! Time to run x_02_all_vars."
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ echo "This will take a while ... grab a coffee/tea/water"
33mkdir -p logs
44fit_var=" absolute_eta,M3,angle_bl"
55nice_fit_var=` echo $fit_var | sed ' s/,/_/g' `
6- N_JOBS=5
6+ N_JOBS=8
77
88echo " Using the fit variable(s): $fit_var "
99
@@ -12,6 +12,12 @@ for var in MET HT ST MT WPT; do
1212 echo " Unfolding distribution: $var "
1313 nohup time python src/cross_section_measurement/02_unfold_and_measure.py -v $var -c 7 -p data/$nice_fit_var & > logs/02_${var} _unfold_7TeV_${nice_fit_var} .log &
1414 let i+=1
15+ if (( $i % N_JOBS == 0 ))
16+ then
17+ echo " Waiting on the above to finish."
18+ wait ;
19+ fi
20+
1521 nohup time python src/cross_section_measurement/02_unfold_and_measure.py -v $var -c 8 -p data/$nice_fit_var & > logs/02_${var} _unfold_8TeV_${nice_fit_var} .log &
1622 let i+=1
1723 if (( $i % N_JOBS == 0 ))
@@ -20,5 +26,6 @@ for var in MET HT ST MT WPT; do
2026 wait ;
2127 fi
2228done
29+
2330wait ;
2431echo " All done! Time to run x_03_all_vars."
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ echo "This will take a while ... grab a coffee/tea/water"
33mkdir -p logs
44fit_var=" absolute_eta,M3,angle_bl"
55nice_fit_var=` echo $fit_var | sed ' s/,/_/g' `
6- N_JOBS=5
6+ N_JOBS=8
77
88echo " Using the fit variable(s): $fit_var "
99
@@ -12,6 +12,12 @@ for var in MET HT ST MT WPT; do
1212 echo " Calculating diff. x-section for distribution: $var "
1313 nohup time python src/cross_section_measurement/03_calculate_systematics.py -s -v $var -c 7 -p data/$nice_fit_var & > logs/03_${var} _calculate_7TeV_${nice_fit_var} .log &
1414 let i+=1
15+ if (( $i % N_JOBS == 0 ))
16+ then
17+ echo " Waiting on the above to finish."
18+ wait ;
19+ fi
20+
1521 nohup time python src/cross_section_measurement/03_calculate_systematics.py -s -v $var -c 8 -p data/$nice_fit_var & > logs/03_${var} _calculate_8TeV_${nice_fit_var} .log &
1622 let i+=1
1723 if (( $i % N_JOBS == 0 ))
Original file line number Diff line number Diff line change @@ -4,16 +4,22 @@ mkdir -p logs
44mkdir -p plots
55fit_var=" absolute_eta,M3,angle_bl"
66nice_fit_var=` echo $fit_var | sed ' s/,/_/g' `
7- N_JOBS=5
7+ N_JOBS=8
88
99echo " Using the fit variable(s): $fit_var "
1010
1111i=0
1212for var in MET HT ST MT WPT; do
1313 echo " Plotting diff. x-section for distribution: $var "
14- nohup time python src/cross_section_measurement/04_make_plots_matplotlib.py -v $var -c 7 -p data/$nice_fit_var & > logs/04_${var} _plot_7TeV_${nice_fit_var} .log &
14+ nohup time python src/cross_section_measurement/04_make_plots_matplotlib.py -v $var -c 7 -p data/$nice_fit_var & > logs/04_${var} _plot_7TeV_${nice_fit_var} .log & # -a
1515 let i+=1
16- nohup time python src/cross_section_measurement/04_make_plots_matplotlib.py -v $var -c 8 -p data/$nice_fit_var & > logs/04_${var} _plot_8TeV_${nice_fit_var} .log &
16+ if (( $i % N_JOBS == 0 ))
17+ then
18+ echo " Waiting on the above to finish."
19+ wait ;
20+ fi
21+
22+ nohup time python src/cross_section_measurement/04_make_plots_matplotlib.py -v $var -c 8 -p data/$nice_fit_var & > logs/04_${var} _plot_8TeV_${nice_fit_var} .log & # -a
1723 let i+=1
1824 if (( $i % N_JOBS == 0 ))
1925 then
Original file line number Diff line number Diff line change @@ -4,16 +4,22 @@ mkdir -p logs
44mkdir -p plots
55fit_var=" absolute_eta,M3,angle_bl"
66nice_fit_var=` echo $fit_var | sed ' s/,/_/g' `
7- N_JOBS=5
7+ N_JOBS=8
88
99echo " Using the fit variable(s): $fit_var "
1010
1111i=0
1212for var in MET HT ST MT WPT; do
1313 echo " Tabulating diff. x-section for distribution: $var "
14- nohup time python src/cross_section_measurement/05_make_tables.py -v $var -c 7 -p data/$nice_fit_var & > logs/05_${var} _table_7TeV_${nice_fit_var} .log &
14+ nohup time python src/cross_section_measurement/05_make_tables.py -v $var -c 7 -p data/$nice_fit_var -a & > logs/05_${var} _table_7TeV_${nice_fit_var} .log &
1515 let i+=1
16- nohup time python src/cross_section_measurement/05_make_tables.py -v $var -c 8 -p data/$nice_fit_var & > logs/05_${var} _table_8TeV_${nice_fit_var} .log &
16+ if (( $i % N_JOBS == 0 ))
17+ then
18+ echo " Waiting on the above to finish."
19+ wait ;
20+ fi
21+
22+ nohup time python src/cross_section_measurement/05_make_tables.py -v $var -c 8 -p data/$nice_fit_var -a & > logs/05_${var} _table_8TeV_${nice_fit_var} .log &
1723 let i+=1
1824 if (( $i % N_JOBS == 0 ))
1925 then
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ mkdir -p logs
44mkdir -p plots
55fit_var=" absolute_eta,M3,angle_bl"
66nice_fit_var=` echo $fit_var | sed ' s/,/_/g' `
7- N_JOBS=5
7+ N_JOBS=8
88
99echo " Using the fit variable(s): $fit_var "
1010
@@ -13,6 +13,12 @@ for var in MET HT ST WPT MT; do
1313 echo " Plotting fit correlations for distribution: $var "
1414 nohup time python src/cross_section_measurement/98_fit_cross_checks.py -v $var -e 7 --fit-variables $fit_var & > logs/98_${var} _fit_cross_checks_7TeV_${nice_fit_var} .log &
1515 let i+=1
16+ if (( $i % N_JOBS == 0 ))
17+ then
18+ echo " Waiting on the above to finish."
19+ wait ;
20+ fi
21+
1622 nohup time python src/cross_section_measurement/98_fit_cross_checks.py -v $var -e 8 --fit-variables $fit_var & > logs/98_${var} _fit_cross_checks_8TeV_${nice_fit_var} .log &
1723 let i+=1
1824 if (( $i % N_JOBS == 0 ))
@@ -21,6 +27,8 @@ for var in MET HT ST WPT MT; do
2127 wait ;
2228 fi
2329done
30+
31+ wait ;
2432echo " 98_fit_cross_checks all done!"
2533
2634# For this check, fit results for all combinations of fit variables are needed. Uncomment manually before running.
Original file line number Diff line number Diff line change @@ -4,17 +4,25 @@ mkdir -p logs
44mkdir -p plots
55fit_var=" absolute_eta,M3,angle_bl"
66nice_fit_var=` echo $fit_var | sed ' s/,/_/g' `
7- N_JOBS=5
7+ N_JOBS=8
88
99i=0
1010echo " Making 99_QCD_cross_checks plots"
1111nohup time python src/cross_section_measurement/99_QCD_cross_checks.py -e 7 & > logs/99_QCD_cross_checks_7TeV.log &
1212let i+=1
13+ if (( $i % N_JOBS == 0 ))
14+ then
15+ echo " Waiting on the above to finish."
16+ wait ;
17+ fi
18+
1319nohup time python src/cross_section_measurement/99_QCD_cross_checks.py -e 8 & > logs/99_QCD_cross_checks_8TeV.log &
1420let i+=1
1521if (( $i % N_JOBS == 0 ))
1622then
1723 echo " Waiting on the above to finish."
1824 wait ;
1925fi
26+
27+ wait ;
2028echo " 99_QCD_cross_checks all done!"
Original file line number Diff line number Diff line change @@ -4,17 +4,25 @@ mkdir -p logs
44mkdir -p plots
55fit_var=" absolute_eta,M3,angle_bl"
66nice_fit_var=` echo $fit_var | sed ' s/,/_/g' `
7- N_JOBS=5
7+ N_JOBS=8
88
99i=0
1010echo " Making binning plots"
1111nohup time python src/cross_section_measurement/make_binning_plots.py -c 7 & > logs/make_binning_plots_7TeV.log &
1212let i+=1
13+ if (( $i % N_JOBS == 0 ))
14+ then
15+ echo " Waiting on the above to finish."
16+ wait ;
17+ fi
18+
1319nohup time python src/cross_section_measurement/make_binning_plots.py -c 8 & > logs/make_binning_plots_8TeV.log &
1420let i+=1
15- if (( $i % N_JOBS == 0 ))
21+ if (( $i % N_JOBS == 0 ))
1622then
1723 echo " Waiting on the above to finish."
1824 wait ;
1925fi
26+
27+ wait ;
2028echo " make_binning_plots all done!"
Original file line number Diff line number Diff line change @@ -4,17 +4,25 @@ mkdir -p logs
44mkdir -p plots
55fit_var=" absolute_eta,M3,angle_bl"
66nice_fit_var=` echo $fit_var | sed ' s/,/_/g' `
7- N_JOBS=5
7+ N_JOBS=8
88
99i=0
1010echo " Making control plots"
1111nohup time python src/cross_section_measurement/make_control_plots.py -c 7 & > logs/make_control_plots_7TeV.log &
1212let i+=1
13+ if (( $i % N_JOBS == 0 ))
14+ then
15+ echo " Waiting on the above to finish."
16+ wait ;
17+ fi
18+
1319nohup time python src/cross_section_measurement/make_control_plots.py -c 8 & > logs/make_control_plots_8TeV.log &
1420let i+=1
15- if (( $i % N_JOBS == 0 ))
21+ if (( $i % N_JOBS == 0 ))
1622then
1723 echo " Waiting on the above to finish."
1824 wait ;
1925fi
26+
27+ wait ;
2028echo " make_control_plots all done!"
Original file line number Diff line number Diff line change @@ -4,17 +4,19 @@ mkdir -p logs
44mkdir -p plots
55fit_var=" absolute_eta,M3,angle_bl"
66nice_fit_var=` echo $fit_var | sed ' s/,/_/g' `
7- N_JOBS=5
7+ N_JOBS=8
88
99i=0
1010echo " Making fit variable plots"
1111nohup time python src/cross_section_measurement/make_fit_variable_plots.py -c 7 & > logs/make_fit_variable_plots_7TeV.log &
1212let i+=1
1313nohup time python src/cross_section_measurement/make_fit_variable_plots.py -c 8 & > logs/make_fit_variable_plots_8TeV.log &
1414let i+=1
15- if (( $i % N_JOBS == 0 ))
15+ if (( $i % N_JOBS == 0 ))
1616then
1717 echo " Waiting on the above to finish."
1818 wait ;
1919fi
20+
21+ wait ;
2022echo " make_fit_variable_plots all done!"
You can’t perform that action at this time.
0 commit comments