Hi,
I have prepared a profile likelihood in the following way:
RooNLLVar NLL("NLL","NLL",FinalPDF,*Data,Extended(true),ConditionalObservables(RooArgSet(*cond_var)));
RooProfileLL PNLL("PNLL","PNLL",NLL,*N_Sig);
RooAbsReal *profile_N_sig = PNLL.createProfile(*N_Sig);
I can plot this simply by using:
RooPlot *xframe = N_Sig->frame();
profile_N_sig->plotOn(xframe);
And it gives the desired behavior.
What I’d like to know is if there is a way to now convolve the plotted curve from profile_N_sig with a gaussian of arbitrary width. It seems all the convolution functionality is for PDFs, so I’m not sure this is even possible since we have only a RooAbsReal, but any help or suggestions would be much appreciated.
Thank you!
-Kurtis