Definition at line 58 of file RooJSONFactoryWSTool.h.
Public Attributes | |
| bool | allowExportInvalidNames = true |
| bool | allowExportSharedVariates = false |
| HS3 requires the terms of a likelihood and the components of a combined distribution to have distinct variates, e.g. | |
| bool | allowSanitizeNames = true |
| bool | exportArrayDist = true |
| bool | exportConstraintData = false |
| bool | identifyLegacyBinWidthFactors = true |
Identify constant factors of HistFactory samples that are used like the inverse bin width of HistFactory before ROOT 6.26 by their structure, and don't write them, since histfactory_dist implies them. | |
| bool | renameCombinedObservables = false |
| HS3 requires the components of a combined distribution to have distinct variates, e.g. | |
#include <RooFitHS3/RooJSONFactoryWSTool.h>
| bool RooJSONFactoryWSTool::Config::allowExportInvalidNames = true |
Definition at line 59 of file RooJSONFactoryWSTool.h.
| bool RooJSONFactoryWSTool::Config::allowExportSharedVariates = false |
HS3 requires the terms of a likelihood and the components of a combined distribution to have distinct variates, e.g.
"mass_SR" and "mass_CR" for the observables of two channels instead of one "mass". By default, the export fails otherwise. If true, the document is written anyway, with a warning for every shared variate. It is not valid HS3 and can't be read back before the variates are renamed, e.g. by hand in the JSON.
Definition at line 77 of file RooJSONFactoryWSTool.h.
| bool RooJSONFactoryWSTool::Config::allowSanitizeNames = true |
Definition at line 60 of file RooJSONFactoryWSTool.h.
| bool RooJSONFactoryWSTool::Config::exportArrayDist = true |
Definition at line 80 of file RooJSONFactoryWSTool.h.
| bool RooJSONFactoryWSTool::Config::exportConstraintData = false |
Definition at line 84 of file RooJSONFactoryWSTool.h.
| bool RooJSONFactoryWSTool::Config::identifyLegacyBinWidthFactors = true |
Identify constant factors of HistFactory samples that are used like the inverse bin width of HistFactory before ROOT 6.26 by their structure, and don't write them, since histfactory_dist implies them.
Turn this off if a workspace has such factors that are not meant as bin widths: they are then written as normfactors.
Definition at line 64 of file RooJSONFactoryWSTool.h.
| bool RooJSONFactoryWSTool::Config::renameCombinedObservables = false |
HS3 requires the components of a combined distribution to have distinct variates, e.g.
"mass_SR" and "mass_CR" instead of one "mass". If enabled, the observables of every combined data set are renamed on export to "obs_<key>" (the labels of the key joined by "_"), or "obs_<key>_<observable>" if a component has several observables; the components of the matching RooSimultaneous are written with the renamed observables (functions depending on them get the suffix "_<key>"). This allows exporting workspaces whose components share an observable. Off by default: without it, such workspaces can't be exported.
Definition at line 71 of file RooJSONFactoryWSTool.h.