RooFit Users Manunal v2.07, error?

I’m a ROOT newbie, but i’m starting to like it :slight_smile: I even find it as a nice occupation for a sunny sunday :blush:
this is my first post.

There is an error in the above manual in page 5 (2.Getting started).

RooPlot* xframe = x.frame();
gauss.plotOn(frame);
frame->Draw();

should it be
gauss.plotOn(xframe);
xrame->Draw();
?

Hi,

I have sent a message to the authors and I hope they will answer your question very soon.

Cheers, Ilka

Hi,

Sorry, that is a typo. The command should indeed be xframe->Draw().
I’ll fix it in the next version of the RooFit Manual.

Wouter