Replace a histogram inside a RooFit
workspace by
manipulating the RooDataHist inside a RooHistFunc
+ModifyHistogramInWorkspace {
+HWWVBF{
<histFunc = "sigVBF_SR_HWWRun2VBF_Hist_alphanominal">
TH1F("histogram","histogram",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 = "histogram">
}
}
The following information/tags are required
histFunc
: name of the RooHistFunc to be modified in the workspacehistName
: name of above defined histogram