Add tasks to run fit/combine commands and tools within cf environment. #1
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 adds tasks that run the different steps for the fitting procedure to calculate top tagging SFs and the impacts of the nuisance parameters on the fit:
topsf.CreateWorkspace
: sets up the workspace using a datacard and a physics modeltopsf.GenToys
: generate toys using the workspace and set parameterstopsf.MultiDimFit
: performs a multi dimensional fit, expected, with and without frozen systematicstopsf.PostFitShapesFromWorkspace
: calculates expected pre- and postfit shapestopsf.Impacts
: calculates expected impacts and collects them in a .json filetopsf.PlotImpacts
: plots the impacts for each POIA sample bash command that should trigger the whole workflow:
In addition to the task files, a simple bash script
confirm_and_run.sh
is included in this PR that asks the user whether to skip a command or to run it, even with additional parameters.