-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
93 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,49 @@ | ||
#!/bin/bash | ||
# shellcheck disable=SC2086,SC2043 | ||
|
||
#################################################################################################### | ||
# BDT Sculpting plots | ||
# Author: Raghav Kansal | ||
#################################################################################################### | ||
|
||
MAIN_DIR="../../.." | ||
TAG=23Nov7BDTSculpting | ||
data_dir="$MAIN_DIR/../data/skimmer/24Mar14UpdateData" | ||
bdt_preds_dir="$data_dir/24_03_07_new_samples_max_depth_5/inferences" | ||
TAG="" | ||
|
||
|
||
options=$(getopt -o "" --long "tag:" -- "$@") | ||
eval set -- "$options" | ||
|
||
while true; do | ||
case "$1" in | ||
--tag) | ||
shift | ||
TAG=$1 | ||
;; | ||
--) | ||
shift | ||
break;; | ||
\?) | ||
echo "Invalid option: -$OPTARG" >&2 | ||
exit 1 | ||
;; | ||
:) | ||
echo "Option -$OPTARG requires an argument." >&2 | ||
exit 1 | ||
;; | ||
esac | ||
shift | ||
done | ||
|
||
if [[ -z $TAG ]]; then | ||
echo "Tag required using the --tag option. Exiting" | ||
exit 1 | ||
fi | ||
|
||
for year in 2016APV 2016 2017 2018 | ||
do | ||
python postprocessing.py --year $year --data-dir "$MAIN_DIR/../data/skimmer/Feb24/" --signal-data-dir "$MAIN_DIR/../data/skimmer/Jun10/" --bdt-preds-dir "$MAIN_DIR/../data/skimmer/Feb24/23_05_12_multiclass_rem_feats_3/inferences" --no-lp-sf-all-years --sig-samples GluGluToHHTobbVV_node_cHHH1 --bg-keys QCD --bdt-plots --plot-dir "$MAIN_DIR/plots/PostProcessing/$TAG" | ||
python postprocessing.py --year $year --data-dir $data_dir --bdt-preds-dir $bdt_preds_dir --no-lp-sf-all-years \ | ||
--sig-samples GluGluToHHTobbVV_node_cHHH1 --bg-keys QCD TT "Z+Jets" \ | ||
--bdt-plots --plot-dir "$MAIN_DIR/plots/PostProcessing/$TAG" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#!/bin/bash | ||
# shellcheck disable=SC2086,SC2043 | ||
|
||
#################################################################################################### | ||
# Script for creating VBF templates | ||
# Author: Raghav Kansal | ||
#################################################################################################### | ||
|
||
MAIN_DIR="../../.." | ||
data_dir="/ceph/cms/store/user/annava/projects/HHbbVV/24Mar5AllYears/" | ||
TAG="" | ||
|
||
|
||
options=$(getopt -o "" --long "tag:" -- "$@") | ||
eval set -- "$options" | ||
|
||
while true; do | ||
case "$1" in | ||
--tag) | ||
shift | ||
TAG=$1 | ||
;; | ||
--) | ||
shift | ||
break;; | ||
\?) | ||
echo "Invalid option: -$OPTARG" >&2 | ||
exit 1 | ||
;; | ||
:) | ||
echo "Option -$OPTARG requires an argument." >&2 | ||
exit 1 | ||
;; | ||
esac | ||
shift | ||
done | ||
|
||
if [[ -z $TAG ]]; then | ||
echo "Tag required using the --tag option. Exiting" | ||
exit 1 | ||
fi | ||
|
||
for year in 2016APV 2016 2017 2018 | ||
do | ||
python -u postprocessing.py --year $year --data-dir "$data_dir" --templates \ | ||
--plot-dir "${MAIN_DIR}/plots/PostProcessing/$TAG" \ | ||
--template-dir "templates/$TAG" --plot-shifts --vbf --nonres-vbf-thww-wp 0.945 | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters