Import a RooFit
workspace from a file with a given name. This must be a .root
file.
+ImportWorkspaces {
+HWWRun2GGF{
<inputFile = "./workspaces/run2-ggf-$(fitLabel)/workspace-preFit.root:HWWRun2GGF">
<saveSnapshot="SnSh_AllVars_Nominal">
}
}
This action supports a wealth of options to modify the workspace while loading.
saveSnasphot="somename"
, the initial configuration of the
workspace can be saved as a snapshot.removeNPs={"a","b",...}
, addNPs={"a","b",...}
removePOIs={"a","b",...}
, addPOIs={"a","b",...}
const
/float
properties of parameters:
constPars={"a","b",...}
floatPars={"a","b",...}
setPars.a=1.,setPars.b=2.
setParErrors.a=1.,setParErrors.b=1.
infile=true
flag. Alternatively, the code can be instructed to
instead of building a clean copy of the workspace just use the
ROOT Streamer to clone the workspace including all its
disconnected elements using the rebuild=false
flag.modelConfig
option can be used to provide the name of the
RooStats::ModelConfig
object. This is required when the
RooStats::ModelConfig
in the workspace is not called
"ModelConfig".clearSnapshots=true
will not copy any snapshots into
the in-memory representation into the workspace. Has no effect
when infile=true
is used.