Replace a histogram inside a statistical model created with SFramework
+ModifyHistogramInModel {
+HWWVBF{
<histPath = ".Histograms/Nominal/SR_VBF2J_MJJ_350_700_PTH_0_200/">
TH1F("sigVBF","sigVBF",7,0,7) << 7@{0+-0, 36.61+-0.18, 41.41+-0.19, 20.92+-0.14, 23.12+-0.14, 21.11+-0.14, 20.00+-0.14, 39.27+-0.19, 0+-0};
<histname = "sigVBF">
}
}
The following information/tags are required
histPath
: path in which the histogram that is to be modified is located in the modelhistName
: name of above defined histogram
The following tags are optionalverbose
: it's recommended to set the verbose option to true to double-check the behavior of that action with the printouts