Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • inference inference
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • HH
  • tools
  • inferenceinference
  • Merge requests
  • !41

Merged
Created Oct 06, 2021 by Alexandra Carvalho Antunes De Oliveira@acarvalhDeveloper

Master

  • Overview 4
  • Commits 8
  • Pipelines 1
  • Changes 2
  • 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.

Edited Oct 06, 2021 by Alexandra Carvalho Antunes De Oliveira
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: master