Dear Roofit experts,
I’m fitting a weighed dataset and I find myself unable to extract the real number of events of my PDF components (e.g. signal and background) since roofit fits the sum of weights. The weights represent the effect of an acceptance functions and their absolute scale has no physical meaning. In short if I have a setup like this:
...
RooDataSet dataset_w("dataset_w", "", var_set, Import(*tree), WeightVar("weight"));
...
RooAddPdf pdf("pdf","", RooArgList(pdfSgn, pdfBkg), RooArgList(nSgn, nBkg));
pdf.fitTo(dataset_w, Offset(true), SumW2Error(kTRUE));
...
where dataset_w
has 1000 events with weight 2. The fitted nSgn
and nBkg
will add up to 2000, not 1000. Is there a way to convert the estimated effective number of events back to the real number of events?
Thanks,
Alberto