Skip to content

Add a helper method to split a systematic variation between regions

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

As discussed in https://gitlab.cern.ch/cp3-cms/bamboo/issues/55 .

Tests done: added

splitVariation(tree._Jet, "jer", {"backward" : lambda j : j.eta < 0., "forward" : lambda j : j.eta > 0.}, nomName="nominal")

after the configureJets call in the HH module, the generated code looks all right.

More ideas/suggestions/tests welcome!

Edited by Pieter David

Merge request reports