Possible documentation bug in RooAbsData::plotOn()

From: suvayu ali <fatkasuvayu_at_gmail.com>
Date: Tue, 13 Mar 2012 02:14:00 +0100


Hi,

I think there is a possible documentation bug in RooAbsData::plotOn(). The documentation says the RooCmdArg RooFit::RefreshNorm() takes a boolean argument, but in reality it takes no argument.

>From the docs:

<http://root.cern.ch/root/html532/RooAbsData.html>

 RefreshNorm(Bool_t flag) -- Force refreshing for PDF normalization

                             information in frame. If set, any
                             subsequent PDF will normalize to this
                             dataset, even if it is not the first one
                             added to the frame. By default only the 1st
                             dataset added to a frame will update the
                             normalization information

>From RooGlobalFunc.h:

<http://root.cern.ch/root/html532/src/RooGlobalFunc.h.html>

RooCmdArg RefreshNorm();

Is my analysis correct?

-- 
Suvayu

Open source is the future. It sets us free.
Received on Tue Mar 13 2012 - 02:14:26 CET

This archive was generated by hypermail 2.2.0 : Tue Mar 13 2012 - 11:50:01 CET