Hi, I was currently working with root 6.24/06 but I wasn’t able to solve the problem “segmentation violation” trying to plot the negative log-likelihood.
The part of the code is the following:
nll = pdf.createNLL(data)
canvas_nevv = ROOT.TCanvas(“canvas_nevv”, “canvas_nevv”, 800, 720)
nevv_frame = myWS.var(“n_sig”).frame(" ")
nll.plotOn(nevv_frame,ROOT.RooFit.ShiftToZero())
nevv_frame.Draw()
canvas_nevv.SaveAs(output_file+“nll.png”)
The log output of this part is in this text file
output_nll_root624_06.txt (1.0 KB)
However, going back to root 6.22/00, the plot finished ok, I just have some problems with the PDF evaluation, but there is not a “segmentation violation”, the log output for this case is this
output_nll_root622_00.txt (268.4 KB).
I hope someone can help me to clarify the problem, I would like to continue using root 6.24/06, or maybe it is that I need to move everything to the new release?
Thanks.