How to use resolution function while fitting histogram


I have a decay model (single-sided) which i am fitting to a histogram to obtain lifetime.
How to convolute decay model with gaussian resolution function.

For example if i do

RooDecay decaym(“decaym”,"",x, tau, gm, RooDecay::SingleSided);
where gm is roogaussmodel.

and compare with
RooDecay decaym1(“decaym1”,"",x, tau, tm, RooDecay::SingleSided);
where tm is rootruthmodel.

For both cases i get EXACTLY same lifetime (all other fitting parameters are exactly same). I am fitting histogram (datahist) with this decay model.



Can you please post a macro reproducing this problem ?

Thank you


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.