This action scales the effect of certain parameters (systematic uncertainties) in a workspace by an arbitrary factor.
The Action scales the effect of all (matching) components of
PiecewiseInterpolation
and RooStats::HistFactory::FlexibleInterpVar
instances in a workspace/pdf.
Note: This has been designed to work with workspaces like the HWW one when
created using SFramework
/HistFactory
.
+ScaleSystematics{
+NameOfWorkspace {
<pdf = "nameOfPdfToEdit"> #defaults to "simPdf"
+someParameter{
<name = "expression*ToMatch", scale = 0.5, invert=false, sqrt=false>
#scale the effects of parameter(s) with names matching the expression given as
#'name' by the given scaling factor. If 'invert' is true, yields
#are scaled by 1/'scale' instead (default is false).
#if 'sqrt' is true the sqrt of the scaling factor is used (or its
#inverse)
}
+otherSyst {
<scale = 3, invert=true>
#if 'name' is not specified, the name of the folder is used (here:
# "otherProcess")
}
}
}
The process name is matched against the name of the relevant RooAbsArg
instances. If their names are not known, try printing a workspace in
cling (root
shell): ws->Print("t")