- Make a fresh area on lxplus, for example:
mkdir ~/work/HH
- 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.
- Set up the environment in a new folder with a clean environment (no
git clone -b hh_model_boosted ssh://git@gitlab.cern.ch:7999/woodson/inference.git
cd inference
source setup.sh some_name
- Add the following to your
.setups/some_name.sh
file (datacards can be found here: https://gitlab.cern.ch/woodson/datacards_run2/-/tree/postapproval):
# common settings and hook file for combination (important)
export DHI_DATACARDS_RUN2="/eos/user/w/woodson/HH_fullRun2_fits/datacards_run2"
export DHI_STORE="/eos/user/w/woodson/HH_fullRun2_fits"
export DHI_HOOK_FILE="$DHI_BASE/dhi/hooks/run2_combination.py"
export PLOTS_COLLECTION="/eos/user/w/woodson/HH_fullRun2_fits/plots_postapproval"
export IMPACT_LABELS="/eos/user/w/woodson/HH_fullRun2_fits/misc/nuisance_labels.py"
export DHI_LIMIT_GRID_PATH="/eos/user/w/woodson/HH_fullRun2_fits/misc"
export C4bggf="bbbb_boosted_ggf/v6"
export C4bggf1="bbbb_boosted_ggf/v6/SRBin1"
export C4bggf2="bbbb_boosted_ggf/v6/SRBin2"
export C4bggf3="bbbb_boosted_ggf/v6/SRBin3"
export C4bvbf="bbbb_boosted_vbf/v4"
export C4bcomb="bbbb_boosted_ggf/v6,bbbb_boosted_vbf/v4"
export MULTICARDS="$C4bcomb:$C4bggf1:$C4bggf2:$C4bggf3:$C4bvbf"
export MULTINAMES="Combined,ggF cat. 1,ggF cat. 2,ggF cat. 3,VBF cat."
export MODEL_BOOSTED="hh_model_boosted.model_boosted"
export MODEL_BOOSTED_ALL="hh_model_boosted.model_boosted_all"
export MODEL_BOOSTED_ALL_NO_KL_M3="hh_model_boosted.model_boosted_all_no_kl_m3"
export MODEL_BOOSTED_CLOSURE="hh_model_boosted.model_boosted_closure"
export MODEL_BOOSTED_MINIMAL="hh_model_boosted.model_boosted_minimal"
export MODEL_BOOSTED_MINIMAL_ALT1="hh_model_boosted.model_boosted_minimal_ALT1"
export MODEL_BOOSTED_MINIMAL_ALT2="hh_model_boosted.model_boosted_minimal_ALT2"
export MODEL_BOOSTED_MINIMAL_ALT3="hh_model_boosted.model_boosted_minimal_ALT3"
export VERSION="postapproval"
- Checkout this repo outside of
inference
cd ..
git clone git@github.com:LPC-HH/inference_scans.git
- Finally, from the
inference_scans
directory inscreen
ortmux
, run the script you want, e.g.:
cd inference
source setup.sh some_name # required before running a scan
cd ../inference_scans
source run_likelihood_scan_2d_kl_c2v.sh