Skip to content

Input variable plots: Adding support for dataset-specific class labels

Joschka Birk requested to merge birk-update-input-var-script into master

Summary

This MR introduces the following changes

  • adds support for specifying dataset-specific class labels. (Can be useful if you take e.g. light jets, c-jets and b-jets from one sample, but bb-jets from another. - You then don't have to plot e.g. all the light jets from the "bb-sample").

Relates to the following issues

Example

If you specify class_labels=["ujets", "cjets", "singlebjets", "bbjets"] globally and then for one of the datasets (in this case "Z+jets") you specify class_labels=["bbjets"], the resulting plot will look like this:

Conformity

Edited by Joschka Birk

Merge request reports