I want to setup a simultaneous fit over a category which I call
acp: acp = ± 1
I am familiar with RooSimPdfBuilder, but I do not see how to do the
I have a model that I would like to split on the two categories:
Nsig * sigpdf + Nbkg * bkgpdf. I would like to setup a simultaneous fit
which splits on my acp category and returns ACP and Ntotal rather than
NsigB and NsigBbar. I know how to split on pdf parameters.
etc. What I do not see right away is how to split on the yields and create
a RooFormulaVar for each yield. I want something like this:
NsigACP1 = (1-ACP)/2 * Ntot
NsigACP-1 = (1+ACP)/2 * Ntot
In this setup, the floating parameters in the fit are Ntot and ACP.
I am fairly certain this is possible, I just do not see how to setup a
RooFormulaVar for the split yields in the RooSimPdfBuilder. So, is it possible?
Does this make sense?