Skip to content

A few (Summed)Plot improvements, envelope example

Pieter David requested to merge piedavid/bamboo:example_envelope into master

Leftover from https://gitlab.cern.ch/cp3-cms/bamboo/-/merge_requests/98 : make it easier to subclass Plot (and only do RResultPtr dereference in SummedPlot if necessary).

Calculating a variation from other variations (e.g. qcdScale{i} to up and down by taking the minimum and maximum) can then be done by overriding Plot.produceResults (added to the nanozmumu example for illustration - thanks @kjaffel and @swertz for the original implementation).

Merge request reports