Skip to content

[pulls] add task to compare nuisane pulls and impacts from multiple datacards (e.g. categories)

Manfred Peter Fackeldey requested to merge feat/multipulls into master

Hi @mrieger,

This PR adds a new task, which allows to compare Pulls and Impacts for multi-datacards:

law run PlotMultiplePullsAndImpacts --version test --multi-datacards top1.txt:top2.txt --datacard-names "Top resolved,Top boosted" --keep-failures --campaign 2016 --PullsAndImpacts-workflow htcondor --workers 2

yields: multipulls.pdf

This task comes in very handy, when debugging nuisance parameters, which e.g. are pulled in opposite directions for different categories, and thus create tension in the fit.

I've tried to keep the code changes minimal, by reusing the already well-defined plot function.

Unfortunately I was not able to add docs, since the example datacards seem to be broken for me right now. However, I can add a task description and an example command to the docs if you like.

Best, Peter

Merge request reports