RooFit tools named argument methods?

Hello,

I see a problem to use any named argument methods of the RooFit package. There are no any problems with RooFit unless they are involved:

pdf.paramOn(plot, Label(“fit result”), Format(“NEU”,AutoPrecision(1)) );

Error: Function Label(“fit result”) is not defined in current scope FitMacros/DeltaMFit.cc:29:

Sould I do some special declaration of them? I use ROOT 5.14/00e.

Cheers and thanks in advance,
Serguei.

Hi,

You need to do

using namespace RooFit ;

and if this is compiled code

#include “RooGlobalFunc.h”

prior to that as well.

Wouter

[quote=“Wouter Verkerke”]Hi,

You need to do

using namespace RooFit ;

and if this is compiled code

#include “RooGlobalFunc.h”

prior to that as well.

Wouter[/quote]

Hi Wouter,

Thnaks! It perfectly works now. Serguei.