From 311d63bd104cfad02f8dfea9600c72885e68bda4 Mon Sep 17 00:00:00 2001 From: rkansal47 Date: Sat, 26 Aug 2023 11:35:59 -0500 Subject: [PATCH 1/6] ps weight link --- src/HHbbVV/processors/corrections.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/HHbbVV/processors/corrections.py b/src/HHbbVV/processors/corrections.py index a1db66c7..227d6464 100644 --- a/src/HHbbVV/processors/corrections.py +++ b/src/HHbbVV/processors/corrections.py @@ -185,6 +185,8 @@ def add_systs(systlist, qcdcorr, ewkcorr, vpt): def add_ps_weight(weights, ps_weights): """ Parton Shower Weights (FSR and ISR) + "Default" variation: https://twiki.cern.ch/twiki/bin/view/CMS/HowToPDF#Which_set_of_weights_to_use + i.e. scaling ISR up and down """ nweights = len(weights.weight()) From c46de0b9da5d052b68665812016c0a83289a90bd Mon Sep 17 00:00:00 2001 From: rkansal47 Date: Tue, 29 Aug 2023 11:45:19 -0500 Subject: [PATCH 2/6] review updates + impacts command --- inference_scans/README.md | 4 ++-- inference_scans/run_impacts.sh | 19 +++++++++++++++ inference_scans/run_upper_limits_point_r.sh | 2 +- paper/latex_tables.ipynb | 4 ++-- paper/samples/MC_bg.yaml | 2 +- paper/tables/datasets_mcbg.tex | 3 +-- .../postprocessing/InferenceAnalysis.ipynb | 24 +++++++++++-------- src/HHbbVV/postprocessing/hh_vars.py | 2 +- 8 files changed, 41 insertions(+), 19 deletions(-) create mode 100644 inference_scans/run_impacts.sh diff --git a/inference_scans/README.md b/inference_scans/README.md index cf036799..a9d0fbe2 100644 --- a/inference_scans/README.md +++ b/inference_scans/README.md @@ -16,12 +16,12 @@ mkdir ~/work/HH 2. Setup inference as follows - Set up the environment in a new folder with a clean environment (no `cmsenv`, ETC.) - - Use `some_name` as the name of the environment. + - `v1` is the name of the environment here. ```bash git clone ssh://git@gitlab.cern.ch:7999/hh/tools/inference.git cd inference -source setup.sh c1 +source setup.sh v1 ``` TODO: update this with better datacard dirs and setting up card repos. diff --git a/inference_scans/run_impacts.sh b/inference_scans/run_impacts.sh new file mode 100644 index 00000000..423584d8 --- /dev/null +++ b/inference_scans/run_impacts.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +law run PlotPullsAndImpacts \ + --version "$VERSION" \ + --multi-datacards "$Cbbww4q" \ + --datacard-names "bbVV" \ + --file-types "pdf,png" \ + --pois r \ + --PullsAndImpacts-workflow "htcondor" \ + --PullsAndImpacts-tasks-per-job 10 \ + --parameters-per-page 40 \ + --order-by-impact \ + --campaign run2 \ + --page 0 \ + --pull-range 3 \ + --unblinded $UNBLINDED \ + --remove-output 0,a,y + # --use-snapshot True \ # for after unblinding + # --Snapshot-workflow "local" \ \ No newline at end of file diff --git a/inference_scans/run_upper_limits_point_r.sh b/inference_scans/run_upper_limits_point_r.sh index 4521a898..0994bbd3 100644 --- a/inference_scans/run_upper_limits_point_r.sh +++ b/inference_scans/run_upper_limits_point_r.sh @@ -16,5 +16,5 @@ law run PlotUpperLimitsAtPoint \ --h-lines 1 \ --save-hep-data True \ --remove-output 0,a,y - # --use-snapshot True \ + # --use-snapshot True \ # for after unblinding # --Snapshot-workflow "local" \ \ No newline at end of file diff --git a/paper/latex_tables.ipynb b/paper/latex_tables.ipynb index ca33c39c..69e80d4b 100644 --- a/paper/latex_tables.ipynb +++ b/paper/latex_tables.ipynb @@ -124,7 +124,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -315,7 +315,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.8" + "version": "3.10.11" }, "orig_nbformat": 4, "vscode": { diff --git a/paper/samples/MC_bg.yaml b/paper/samples/MC_bg.yaml index b2104a4c..9fd26869 100644 --- a/paper/samples/MC_bg.yaml +++ b/paper/samples/MC_bg.yaml @@ -34,7 +34,7 @@ samples: datasets: TTToHadronic : /TTToHadronic_TuneCP5_13TeV-powheg-pythia8/RunIISummer20UL17MiniAODv2-106X_mc2017_realistic_v9-v2/MINIAODSIM TTToSemiLeptonic : /TTToSemiLeptonic_TuneCP5_13TeV-powheg-pythia8/RunIISummer20UL17MiniAODv2-106X_mc2017_realistic_v9-v1/MINIAODSIM - TTToSemiLeptonic_ext1: /TTToSemiLeptonic_TuneCP5_13TeV-powheg-pythia8/RunIISummer20UL17MiniAODv2-PUForMUOVal_106X_mc2017_realistic_v9_ext1-v2/MINIAODSIM + # TTToSemiLeptonic_ext1: /TTToSemiLeptonic_TuneCP5_13TeV-powheg-pythia8/RunIISummer20UL17MiniAODv2-PUForMUOVal_106X_mc2017_realistic_v9_ext1-v2/MINIAODSIM SingleTop: datasets: diff --git a/paper/tables/datasets_mcbg.tex b/paper/tables/datasets_mcbg.tex index ee7326c7..64b80e09 100644 --- a/paper/tables/datasets_mcbg.tex +++ b/paper/tables/datasets_mcbg.tex @@ -34,8 +34,7 @@ & ST\_tW\_antitop\_5f\_inclusiveDecays\_TuneCP5\_13TeV-powheg-pythia8 & 32.51 \\ & ST\_tW\_top\_5f\_inclusiveDecays\_TuneCP5\_13TeV-powheg-pythia8 & 32.45 \\ \hline -\multirow{3}{*}{TTbar} & TTToHadronic\_TuneCP5\_13TeV-powheg-pythia8 & 303.85 \\ - & TTToSemiLeptonic\_TuneCP5\_13TeV-powheg-pythia8 & 306.14 \\ +\multirow{2}{*}{TTbar} & TTToHadronic\_TuneCP5\_13TeV-powheg-pythia8 & 303.85 \\ & TTToSemiLeptonic\_TuneCP5\_13TeV-powheg-pythia8 & 306.14 \\ \hline \multirow{6}{*}{V+Jets} & WJetsToQQ\_HT-400to600\_TuneCP5\_13TeV-madgraphMLM-pythia8 & 277.00 \\ diff --git a/src/HHbbVV/postprocessing/InferenceAnalysis.ipynb b/src/HHbbVV/postprocessing/InferenceAnalysis.ipynb index 5229a9e2..cf23e4d6 100644 --- a/src/HHbbVV/postprocessing/InferenceAnalysis.ipynb +++ b/src/HHbbVV/postprocessing/InferenceAnalysis.ipynb @@ -57,8 +57,8 @@ "metadata": {}, "outputs": [], "source": [ - "# plot_dir = f\"{MAIN_DIR}/plots/TaggerAnalysis/23Apr28\"\n", - "plot_dir = f\"{MAIN_DIR}/plots/BDT/23May12\"\n", + "plot_dir = f\"{MAIN_DIR}/plots/TaggerAnalysis/23Aug28\"\n", + "# plot_dir = f\"{MAIN_DIR}/plots/BDT/23May12\"\n", "os.system(f\"mkdir -p {plot_dir}\")\n", "\n", "samples_dir = f\"{MAIN_DIR}/../data/skimmer/Feb24\"\n", @@ -109,10 +109,11 @@ "\n", "for mX, mY in res_mps:\n", " res_samples[\n", - " f\"X[{mX}]->H(bb)Y[{mY}](VV)\"\n", + " f\"X[{mX}]->H(bb)Y[{mY}](WW)\"\n", " ] = f\"NMSSM_XToYH_MX{mX}_MY{mY}_HTo2bYTo2W_hadronicDecay\"\n", "\n", - "res_sig_keys = list(res_samples.keys())" + "res_sig_keys = list(res_samples.keys())\n", + "nonres_sig_keys = [\"HHbbVV\"]" ] }, { @@ -368,12 +369,12 @@ " \"colour\": \"orange\",\n", " },\n", " \"thvv4q\": {\n", - " \"title\": \"ParT MD THWW\",\n", + " \"title\": \"ParT MD THVV\",\n", " \"score_label\": \"ak8FatJetParTMD_THWW4q\",\n", " \"colour\": \"green\",\n", " },\n", " \"thvv4qt\": {\n", - " \"title\": \"ParT MD THWW\",\n", + " \"title\": \"ParT MD THVV\",\n", " \"score_label\": \"ak8FatJetParTMD_THWWvsT\",\n", " \"colour\": \"green\",\n", " },\n", @@ -455,6 +456,7 @@ " np.zeros(int(np.ceil(np.sum(np.concatenate(bg_cuts)) / bg_skip))),\n", " ]\n", " )\n", + " # print(y_true[np.sum(sig_cut):])\n", "\n", " weights = np.concatenate(\n", " [events_dict[sig_key][\"weight\"][sig_cut]]\n", @@ -463,6 +465,7 @@ " for bg_key, bg_cut in zip(bg_keys, bg_cuts)\n", " ],\n", " )\n", + " # print(weights[np.sum(sig_cut):])\n", "\n", " for t, pvars in plot_vars.items():\n", " score_label = pvars[\"score_label\"]\n", @@ -473,6 +476,7 @@ " for bg_key, bg_cut in zip(bg_keys, bg_cuts)\n", " ],\n", " )\n", + " # print(scores[np.sum(sig_cut):])\n", " fpr, tpr, thresholds = roc_curve(y_true, scores, sample_weight=weights)\n", " rocs[cutstr][sig_key][t] = {\n", " \"fpr\": fpr,\n", @@ -522,7 +526,7 @@ "]\n", "\n", "sig_splits = [\n", - " [\"HHbbVV\"] + [f\"X[{mX}]->H(bb)Y[{mY}](VV)\" for (mX, mY) in mps] for mps in sig_split_points\n", + " [\"HHbbVV\"] + [f\"X[{mX}]->H(bb)Y[{mY}](WW)\" for (mX, mY) in mps] for mps in sig_split_points\n", "]" ] }, @@ -563,7 +567,7 @@ " # \"colour\": \"green\",\n", " # },\n", " \"thvv4qt\": {\n", - " \"title\": \"ParT MD THWW\",\n", + " \"title\": \"ParT MD THVV\",\n", " \"score_label\": \"ak8FatJetParTMD_THWWvsT\",\n", " \"colour\": \"green\",\n", " },\n", @@ -588,7 +592,7 @@ " color=c,\n", " )\n", " for th in plot_thresholds:\n", - " idx = find_nearest(thresholds, th)\n", + " idx = find_nearest(roc[\"thresholds\"], th)\n", " pths[th][0].append(roc[\"tpr\"][idx])\n", " pths[th][1].append(roc[\"fpr\"][idx])\n", "\n", @@ -605,7 +609,7 @@ " *pths[th],\n", " marker=\"o\",\n", " s=40,\n", - " label=f\"THWW > {th:.2f}\",\n", + " label=f\"THVV > {th:.2f}\",\n", " color=th_colours[k],\n", " zorder=100,\n", " )\n", diff --git a/src/HHbbVV/postprocessing/hh_vars.py b/src/HHbbVV/postprocessing/hh_vars.py index 6121a242..cc6cc6bc 100644 --- a/src/HHbbVV/postprocessing/hh_vars.py +++ b/src/HHbbVV/postprocessing/hh_vars.py @@ -178,7 +178,7 @@ ] for mX, mY in res_mps: - res_samples[f"X[{mX}]->H(bb)Y[{mY}](VV)"] = f"NMSSM_XToYHTo2W2BTo4Q2B_MX-{mX}_MY-{mY}" + res_samples[f"X[{mX}]->H(bb)Y[{mY}](WW)"] = f"NMSSM_XToYHTo2W2BTo4Q2B_MX-{mX}_MY-{mY}" res_sig_keys = list(res_samples.keys()) From 64e1a4b940cae5f2aba23871b39bd3740f909e37 Mon Sep 17 00:00:00 2001 From: rkansal444 Date: Tue, 29 Aug 2023 20:23:23 +0200 Subject: [PATCH 3/6] update impacts --- inference_scans/nuisance_renames.json | 4 ++++ inference_scans/nuisance_renames.py | 8 ++++++++ inference_scans/run_impacts.sh | 8 +++++--- inference_scans/run_upper_limits_point_r.sh | 2 +- inference_scans/run_upper_limits_r_1d_c2v.sh | 2 +- inference_scans/run_upper_limits_r_1d_kl.sh | 2 +- 6 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 inference_scans/nuisance_renames.json create mode 100644 inference_scans/nuisance_renames.py mode change 100644 => 100755 inference_scans/run_impacts.sh mode change 100644 => 100755 inference_scans/run_upper_limits_point_r.sh mode change 100644 => 100755 inference_scans/run_upper_limits_r_1d_c2v.sh mode change 100644 => 100755 inference_scans/run_upper_limits_r_1d_kl.sh diff --git a/inference_scans/nuisance_renames.json b/inference_scans/nuisance_renames.json new file mode 100644 index 00000000..ca1438b0 --- /dev/null +++ b/inference_scans/nuisance_renames.json @@ -0,0 +1,4 @@ +{ + "CMS_bbWW_hadronic_tf_dataResidual_bbFatJetParticleNetMass_par1": "TF_par1", + "CMS_bbWW_hadronic_tf_dataResidual_bbFatJetParticleNetMass_par0": "TF_par0" +} \ No newline at end of file diff --git a/inference_scans/nuisance_renames.py b/inference_scans/nuisance_renames.py new file mode 100644 index 00000000..4776ae4c --- /dev/null +++ b/inference_scans/nuisance_renames.py @@ -0,0 +1,8 @@ +def rename_nuisance(nuisance: str): + if nuisance.startswith("CMS_bbWW_hadronic_"): + nuisance = nuisance.split("CMS_bbWW_hadronic_")[1] + + if nuisance.startswith("tf_dataResidual_bbFatJetParticleNetMass_"): + return "TF_" + nuisance.split("tf_dataResidual_bbFatJetParticleNetMass_")[1] + + return nuisance \ No newline at end of file diff --git a/inference_scans/run_impacts.sh b/inference_scans/run_impacts.sh old mode 100644 new mode 100755 index 423584d8..038bb24f --- a/inference_scans/run_impacts.sh +++ b/inference_scans/run_impacts.sh @@ -2,18 +2,20 @@ law run PlotPullsAndImpacts \ --version "$VERSION" \ - --multi-datacards "$Cbbww4q" \ - --datacard-names "bbVV" \ + --datacards "$Cbbww4q" \ --file-types "pdf,png" \ --pois r \ --PullsAndImpacts-workflow "htcondor" \ --PullsAndImpacts-tasks-per-job 10 \ --parameters-per-page 40 \ --order-by-impact \ + --labels "nuisance_renames.py" \ + --skip-parameters "*dataResidual_Bin*" \ + --left-margin 500 \ --campaign run2 \ --page 0 \ --pull-range 3 \ --unblinded $UNBLINDED \ --remove-output 0,a,y - # --use-snapshot True \ # for after unblinding + # --use-snapshot True \ # for (fit to data) after unblinding # --Snapshot-workflow "local" \ \ No newline at end of file diff --git a/inference_scans/run_upper_limits_point_r.sh b/inference_scans/run_upper_limits_point_r.sh old mode 100644 new mode 100755 index 0994bbd3..9afbfe47 --- a/inference_scans/run_upper_limits_point_r.sh +++ b/inference_scans/run_upper_limits_point_r.sh @@ -16,5 +16,5 @@ law run PlotUpperLimitsAtPoint \ --h-lines 1 \ --save-hep-data True \ --remove-output 0,a,y - # --use-snapshot True \ # for after unblinding + # --use-snapshot True \ # for (fit to data) after unblinding # --Snapshot-workflow "local" \ \ No newline at end of file diff --git a/inference_scans/run_upper_limits_r_1d_c2v.sh b/inference_scans/run_upper_limits_r_1d_c2v.sh old mode 100644 new mode 100755 index a301dca4..724fa0f2 --- a/inference_scans/run_upper_limits_r_1d_c2v.sh +++ b/inference_scans/run_upper_limits_r_1d_c2v.sh @@ -19,6 +19,6 @@ law run PlotUpperLimits \ --remove-output 0,a,y \ --save-hep-data True \ --frozen-groups signal_norm_xsbr - # --use-snapshot True \ # for after unblinding + # --use-snapshot True \ # for (fit to data) after unblinding # --Snapshot-workflow "local" \ # --scan-parameters kl,-3,5,8 \ \ No newline at end of file diff --git a/inference_scans/run_upper_limits_r_1d_kl.sh b/inference_scans/run_upper_limits_r_1d_kl.sh old mode 100644 new mode 100755 index 195b2f9b..fb83c257 --- a/inference_scans/run_upper_limits_r_1d_kl.sh +++ b/inference_scans/run_upper_limits_r_1d_kl.sh @@ -19,5 +19,5 @@ law run PlotUpperLimits \ --remove-output 0,a,y \ --save-hep-data True \ --frozen-groups signal_norm_xsbr - # --use-snapshot True \ # for after unblinding + # --use-snapshot True \ # for (fit to data) after unblinding # --Snapshot-workflow "local" \ \ No newline at end of file From d865bfb16b5174a9c6b210aebfc9e1801a5c9a6a Mon Sep 17 00:00:00 2001 From: Lint Action Date: Tue, 29 Aug 2023 18:23:48 +0000 Subject: [PATCH 4/6] Fix code style issues with Black --- inference_scans/nuisance_renames.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inference_scans/nuisance_renames.py b/inference_scans/nuisance_renames.py index 4776ae4c..d367925e 100644 --- a/inference_scans/nuisance_renames.py +++ b/inference_scans/nuisance_renames.py @@ -1,8 +1,8 @@ def rename_nuisance(nuisance: str): if nuisance.startswith("CMS_bbWW_hadronic_"): nuisance = nuisance.split("CMS_bbWW_hadronic_")[1] - + if nuisance.startswith("tf_dataResidual_bbFatJetParticleNetMass_"): return "TF_" + nuisance.split("tf_dataResidual_bbFatJetParticleNetMass_")[1] - - return nuisance \ No newline at end of file + + return nuisance From d59dcee8c077bd301cd6233c9edb351a12be2797 Mon Sep 17 00:00:00 2001 From: rkansal444 Date: Wed, 30 Aug 2023 00:09:05 +0200 Subject: [PATCH 5/6] impacts limits --- inference_scans/run_impacts.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/inference_scans/run_impacts.sh b/inference_scans/run_impacts.sh index 038bb24f..54395996 100755 --- a/inference_scans/run_impacts.sh +++ b/inference_scans/run_impacts.sh @@ -7,6 +7,7 @@ law run PlotPullsAndImpacts \ --pois r \ --PullsAndImpacts-workflow "htcondor" \ --PullsAndImpacts-tasks-per-job 10 \ + --PullsAndImpacts-custom-args="--rMin -40 --rMax 40" \ --parameters-per-page 40 \ --order-by-impact \ --labels "nuisance_renames.py" \ From 3c94c89639c4b864ba9834c8f57c42508ef75015 Mon Sep 17 00:00:00 2001 From: rkansal444 Date: Wed, 30 Aug 2023 02:56:42 +0200 Subject: [PATCH 6/6] fix inject.json bug --- inference_scans/README.md | 1 + inference_scans/nuisance_renames.json | 4 ---- inference_scans/nuisance_renames.py | 3 +++ inference_scans/run_impacts.sh | 4 ++-- inference_scans/run_upper_limits_point_r.sh | 2 +- inference_scans/run_upper_limits_r_1d_c2v.sh | 2 +- inference_scans/run_upper_limits_r_1d_kl.sh | 5 +++-- 7 files changed, 11 insertions(+), 10 deletions(-) delete mode 100644 inference_scans/nuisance_renames.json diff --git a/inference_scans/README.md b/inference_scans/README.md index a9d0fbe2..bf5ea510 100644 --- a/inference_scans/README.md +++ b/inference_scans/README.md @@ -32,6 +32,7 @@ export DHI_DATACARDS_RUN2="/afs/cern.ch/user/r/rkansal/work/hh/datacards_run2" export DHI_DATA="/afs/cern.ch/user/r/rkansal/work/hh/inference/data" export DHI_STORE="/eos/user/r/rkansal/bbVV/inference" export Cbbww4q="bbww_hadronic/v1" +export Cbbww4qInject="$Cbbww4q<$DHI_DATACARDS_RUN2/$Cbbww4q/inject.json" export VERSION="dev" export UNBLINDED="False" ``` diff --git a/inference_scans/nuisance_renames.json b/inference_scans/nuisance_renames.json deleted file mode 100644 index ca1438b0..00000000 --- a/inference_scans/nuisance_renames.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "CMS_bbWW_hadronic_tf_dataResidual_bbFatJetParticleNetMass_par1": "TF_par1", - "CMS_bbWW_hadronic_tf_dataResidual_bbFatJetParticleNetMass_par0": "TF_par0" -} \ No newline at end of file diff --git a/inference_scans/nuisance_renames.py b/inference_scans/nuisance_renames.py index d367925e..56c314b2 100644 --- a/inference_scans/nuisance_renames.py +++ b/inference_scans/nuisance_renames.py @@ -5,4 +5,7 @@ def rename_nuisance(nuisance: str): if nuisance.startswith("tf_dataResidual_bbFatJetParticleNetMass_"): return "TF_" + nuisance.split("tf_dataResidual_bbFatJetParticleNetMass_")[1] + if nuisance.startswith("lp_sf"): + return "Lund plane SF" + return nuisance diff --git a/inference_scans/run_impacts.sh b/inference_scans/run_impacts.sh index 54395996..b1e18b85 100755 --- a/inference_scans/run_impacts.sh +++ b/inference_scans/run_impacts.sh @@ -2,7 +2,7 @@ law run PlotPullsAndImpacts \ --version "$VERSION" \ - --datacards "$Cbbww4q" \ + --datacards "$Cbbww4qInject" \ --file-types "pdf,png" \ --pois r \ --PullsAndImpacts-workflow "htcondor" \ @@ -12,11 +12,11 @@ law run PlotPullsAndImpacts \ --order-by-impact \ --labels "nuisance_renames.py" \ --skip-parameters "*dataResidual_Bin*" \ - --left-margin 500 \ --campaign run2 \ --page 0 \ --pull-range 3 \ --unblinded $UNBLINDED \ --remove-output 0,a,y + # --print-command 2 \ # --use-snapshot True \ # for (fit to data) after unblinding # --Snapshot-workflow "local" \ \ No newline at end of file diff --git a/inference_scans/run_upper_limits_point_r.sh b/inference_scans/run_upper_limits_point_r.sh index 9afbfe47..e9894563 100755 --- a/inference_scans/run_upper_limits_point_r.sh +++ b/inference_scans/run_upper_limits_point_r.sh @@ -3,7 +3,7 @@ # export DHI_CMS_POSTFIX="Supplementary" law run PlotUpperLimitsAtPoint \ --version "$VERSION" \ - --multi-datacards "$Cbbww4q" \ + --multi-datacards "$Cbbww4qInject" \ --datacard-names "bbVV" \ --file-types "pdf,png" \ --pois r \ diff --git a/inference_scans/run_upper_limits_r_1d_c2v.sh b/inference_scans/run_upper_limits_r_1d_c2v.sh index 724fa0f2..6bfa6e05 100755 --- a/inference_scans/run_upper_limits_r_1d_c2v.sh +++ b/inference_scans/run_upper_limits_r_1d_c2v.sh @@ -3,7 +3,7 @@ # export DHI_CMS_POSTFIX="Supplementary" law run PlotUpperLimits \ --version "$VERSION" \ - --datacards "$Cbbww4q" \ + --datacards "$Cbbww4qInject" \ --xsec fb \ --pois r \ --scan-parameters C2V,-1,3,10 \ diff --git a/inference_scans/run_upper_limits_r_1d_kl.sh b/inference_scans/run_upper_limits_r_1d_kl.sh index fb83c257..4a8ca1a3 100755 --- a/inference_scans/run_upper_limits_r_1d_kl.sh +++ b/inference_scans/run_upper_limits_r_1d_kl.sh @@ -3,10 +3,10 @@ # export DHI_CMS_POSTFIX="Supplementary" law run PlotUpperLimits \ --version "$VERSION" \ - --datacards "$Cbbww4q" \ + --datacards "$Cbbww4qInject" \ --xsec fb \ --pois r \ - --scan-parameters kl,-30,-12,7:kl,-7,-5,3:kl:kl,-2,7,19:kl,10,30,6 \ + --scan-parameters kl,-30,-7,4:kl,-6,7,14:kl,15,30,4 \ --UpperLimits-workflow "htcondor" \ --UpperLimits-tasks-per-job 1 \ --file-types "png,pdf" \ @@ -19,5 +19,6 @@ law run PlotUpperLimits \ --remove-output 0,a,y \ --save-hep-data True \ --frozen-groups signal_norm_xsbr + # --scan-parameters kl,-30,-12,7:kl,-7,-5,3:kl,-2,7,19:kl,10,30,6 \ # --use-snapshot True \ # for (fit to data) after unblinding # --Snapshot-workflow "local" \ \ No newline at end of file