From 3b2ec392bbc4485b394e40d98105d5b70a3ba0c0 Mon Sep 17 00:00:00 2001 From: Raghav Kansal Date: Wed, 1 May 2024 18:30:52 -0500 Subject: [PATCH 1/3] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index b26d559a..205abb95 100644 --- a/README.md +++ b/README.md @@ -422,6 +422,17 @@ git clone -b v2.0.0 https://github.com/cms-analysis/CombineHarvester.git Combine scramv1 b clean; scramv1 b ``` +### Packages + +To create datacards, you need to use the same cmsenv as above + these packages: + +```bash +pip3 install --upgrade pip3 +pip3 install rhalphalib +cd /path/to/your/local/HHbbVV/repo +pip3 install -e . +``` + I also add this to my .bashrc for convenience: ``` From b198d2ffb9f7ac91fe9f1c56b29ff161e80ef4b1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 1 May 2024 23:31:44 +0000 Subject: [PATCH 2/3] style: pre-commit fixes --- inference_scans/run_law.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/inference_scans/run_law.sh b/inference_scans/run_law.sh index b8fa636a..e2d8bdde 100755 --- a/inference_scans/run_law.sh +++ b/inference_scans/run_law.sh @@ -3,7 +3,7 @@ #################################################################################################### # Script for running HH inference 'law' commands -# +# # Usage: # 0) snapshot: --snapshot # 1) limits at point: --limpoint (--vbf) # --vbf runs it for the VBF k2v=0 point @@ -170,5 +170,3 @@ if [ $impacts = 1 ]; then --pull-range 3 \ --Snapshot-custom-args="$custom_args" fi - - From f695eb673a6bfcdd2ebc0846c3148f83c2f2f384 Mon Sep 17 00:00:00 2001 From: Raghav Kansal Date: Wed, 1 May 2024 19:17:33 -0500 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 205abb95..5591736a 100644 --- a/README.md +++ b/README.md @@ -427,7 +427,7 @@ scramv1 b clean; scramv1 b To create datacards, you need to use the same cmsenv as above + these packages: ```bash -pip3 install --upgrade pip3 +pip3 install --upgrade pip pip3 install rhalphalib cd /path/to/your/local/HHbbVV/repo pip3 install -e .