Dear all.
I was using, in roofit 2.10, the call to Compontents() command inside plotOn() to plot a component of a PDF.
With my code I obtained the plot showed in attachment. (plot1)
Then I switched to roofit 2.22 and with the same code the PDF components are no longer properly normalized. (plot2)
How can I change the syntax in order to get back the plot properly normalized?
Another question:
is there any updated manual or documentation that stress the differences btw 2.10 and new roofit (2.22)? Where I can easily get access to that information?
Dear Wouter.
Thanks for the hint.
I’ve tried with roofit 2.30 but this does not help.
The plot is still the same: the normalization is not properly compuetd when I try the Components() command. Maybe this is my fault (problem building the PDF).
The code I use is rather complex and It will take a bit of time to pack up a macro to reproduce the problem.
I’ll try to make it ASAP, and post it here.
Ok.
Seems that packing the macro was not that long job.
I’m attaching the code (I ran it with root -b -q ProblemMacro.C) and the plot.
The same macro runs fine under 2.10.
Any help on understanding what goes wrong will be really appreciated.
Hi all,
I know that there have been holidays in between but I’d like to know if the problem is being addressed or not… Of course if I can do anything to help with the debugging I’ll be happy.
I just ran your ProblemMacro on the SVN head an it seems to run OK for me
(see attached plot).
I think there are no relevant differences between 5.17/08 and the SVN head
so I am somewhat puzzled why it didn’t work for you. Can you try to check
out the SVN head and confirm that that works for you?
ROOT 5.17/09 (trunk@21358, Jan 10 2008, 11:27:00 on linux)
CINT/ROOT C/C++ Interpreter version 5.16.29, Jan 08, 2008
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0]
Processing ProblemMacro.C…