Skip to content

Master

  • The inputs are now on json format

  • A minimal of two json inputs by channel + the path to the fitdiagnostics is necessary

    • I think now ready to be added on law workflow as well (with the user giving the json inputs)
  • The tables of yields (not yet uncertainties) are saved along the plots in dictionary format

    • To be passed to pandas to make manipulate tables easier (?)
    • @mrieger this is what you was using doing more manually, no? Does that help?
      • Take a look on the examples on $DHI_results/Prefits/Plots_demo/results, where $DHI_results is our EOS repo for combination results.
  • it also saves a final json file by plot that allow reproduce only that plot with the main script with local modifications to it (instead of a large list as it was before)

Standalone example, provided that the datacards_run2 repo is up to date

python dhi/scripts/postfit_plots.py \
--output_folder $DHI_results/Prefits/Plots_demo/results \
--plot_options_dict $DHI_DATACARDS_RUN2/bbbb/plot_options.json \
--overwrite "$DHI_DATACARDS_RUN2/bbbb/plots_list.json" \
--overwrite_fitdiag $DHI_results/Prefits/Plots_demo/all_bbbb_wwbb_bbzz4l_fitdiagnostics.root


python dhi/scripts/postfit_plots.py \
--output_folder $DHI_results/Prefits/Plots_demo/results \
--plot_options_dict $DHI_DATACARDS_RUN2/bbzz4l/plot_options.json \
--overwrite "$DHI_DATACARDS_RUN2/bbzz4l/plots_list.json" \
--overwrite_fitdiag $DHI_results/Prefits/Plots_demo/all_bbbb_wwbb_bbzz4l_fitdiagnostics.root

To make the other channels dictionary in $DHI_DATACARDS_RUN2 will deppend on the acceptance of this MR.

Merge request reports

Loading