Bin-by-bin systematics in shape analysis

Hi All,

I am doing a shape analysis using the RooWorkspace class, with a PDF defined from histogram distributions for signal and background. Up to now I implemented flat systematic for the background distribution. What I would like to do now is to introduce a bin-by-bin systematic for the background.
I know that there is a tool named HistFactory, but I was wandering if it is possible to do it in the workspace that I made and if someone can point me to examples/tutorials where this is done.

Thank you very much in advance.




You could do in the workspace, but you have to write yourself the pdf’s composed of the products of Poisson for each bin. The histfactory should be able to do all this for you, see the histfactory user guide (still a draft version) … lihood.pdf