This is a batch-parallelized version of the CalculateImpacts
action.
Instead of performing all the fits locally, it will write out a
directory with a copy of the workspaces as well as configs to submit
jobs fitting the individual points to a batch system.
The unconditional fit will be run first locally, only after that the config files will be written to disk - so unless an unconditional snapshot exists already, also this version can take some time to perform.
+WriteCalculateImpacts {
+Morphing {
# compute breakdown for the fit to asimov
+asimov {
<outputPath = "./workspaces/run2-comb-$(fitLabel)/Batch/Impacts/asm"> # output path for all the configs
<datasetName="asimovData_SM">
<workspaceFileName="workspace.root"> #optional, defaults to workspace.root
<invert=false>
}
+asimovinvert {
<outputPath = "./workspaces/run2-comb-$(fitLabel)/Batch/Impacts/asminv"> # output path for all the configs
<datasetName="asimovData_SM">
<invert=true>
}
# in case this action has been executed on this sets of inputs
# previously, this action will instruct the framework to re-use
# the workspace file instead of recomputing the unconditional
# fit.
<allowReuse=true>
@ ? {
# all the options supported for the usual CalculateImpacts action
}
}
}
In order to collect the results, use the CollectImpacts
action.