Skip to content

plots: scale signal overlays to summed background (signal_plot_scale: bkg)#96

Merged
kandrosov merged 3 commits into
cms-flaf:mainfrom
kandrosov:plotkit-signal-scale-to-bkg
Jul 1, 2026
Merged

plots: scale signal overlays to summed background (signal_plot_scale: bkg)#96
kandrosov merged 3 commits into
cms-flaf:mainfrom
kandrosov:plotkit-signal-scale-to-bkg

Conversation

@kandrosov

Copy link
Copy Markdown
Contributor

Summary

Switches signal-overlay scaling in plots from a fixed ×100 to signal_plot_scale: bkg, a new
capability of the redesigned PlotKit that normalises each signal's integral to the summed background
(shape comparison; the legend then reads … (norm. to bkg)).

Depends on the redesigned PlotKit (cms-flaf/FLAF#278, cms-flaf/PlotKit#1).

Changes

  • config/global.yaml: signal_plot_scale: 100.0bkg.

Testing

Verified on real all_plots Run3_2023 histograms via both the HistPlotTask plotting path and the
standalone CLI: the overlaid signals are each scaled to the total-background integral and labelled
… (norm. to bkg), with the rest of the stacked plot unchanged.

@kandrosov

Copy link
Copy Markdown
Contributor Author

@cms-flaf-bot please test

@cms-flaf-bot

Copy link
Copy Markdown

pipeline#15170704 started

@cms-flaf-bot

Copy link
Copy Markdown

pipeline#15170704 passed

@kandrosov kandrosov merged commit b71186d into cms-flaf:main Jul 1, 2026
4 checks passed
@kandrosov kandrosov deleted the plotkit-signal-scale-to-bkg branch July 1, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants