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.