Re: [ROOTDEV] TMinuit in a class

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Mon, 28 Jan 2008 16:38:50 +0100


Christian,

I have modied your program such that it runs correctly.

Rene Brun

Christian Hansen wrote:
> Dear Rooters,
>
> I'm trying to use TMinuit in a class, where I want the
> function set by SetFCN to know about some of the member
> functions and objects of the class.
> I've tried many different ways, for example to use SetObjFit
> and GetObjFit, but I do not manage to make it compile.
> I have made a small dummy example (see attachment)
> to better explain what I'm trying to do.
> This dummy example does not compile either.
> How should I edit this dummy example to make it compile
> and work?
>
> Thanks!
> / Christian Hansen
>
> PS. I'm using root version 5.14/00c

Received on Mon Jan 28 2008 - 16:35:53 CET

This archive was generated by hypermail 2.2.0 : Tue Jan 29 2008 - 11:50:01 CET