Tool to analyze impact of individual nuisances on process shapes#269
Draft
pkausw wants to merge 5 commits intocms-analysis:masterfrom
Draft
Tool to analyze impact of individual nuisances on process shapes#269pkausw wants to merge 5 commits intocms-analysis:masterfrom
pkausw wants to merge 5 commits intocms-analysis:masterfrom
Conversation
Merge from original branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a new function to the CombineHarvester that returns the templates for the processes in the harvester instance after setting the individual nuisance parameters to their post-fit values, respectively. (The idea is very similar to PR #268 ) The templates are saved as a map of the format
where
param_nameis the name of the nuisance parameter. The map also contains the prefit shape and the complete post-fit shape when considering all nuisance parameters simultaneously. The PR also introduces the bindings for the python interface, where this information is accessible as a python dictionary.This information can be used to further analyze and understand how individual nuisances impact certain processes, e.g. by looping through the bins and processes:
The templates can be used e.g. to create figures such as this:
These plots were used in the analysis HIG-19-011 to better understand and validate the statistical model and might be interesting for other analyses