Defining a RooFit class

Hi all,
I’m trying to define a pdf via RooFit (see the attached file).

I compile it:

and then I try to link:

but I get:

It looks to me like some methods are not declared.

Any help is very welcome!

Regards,
Marco
dGaus.cxx (2.34 KB)

Hi,

You need to generate, compile and link a dictionary file (using rootcint) for you class.

Cheers,
Philippe.