[ROOT] Re: Problem with RejectPoint

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jul 09 2003 - 11:02:43 MEST


Hi Marco,

Did you
#include "TF1.h" ?

Rene Brun

Marco Ajello wrote:
> 
> Hi all,
> I am using the RjectPoint as in your example in tutorials
> on line: how to fit excluding some bins form the range.
> But I gor the following error:
> 
> Error: class,struct,union or type $TF1 not defined
> This is how I am using it.
> Do you know why?
> Best Regards,
> Marco
> double fline(Double_t *x, Double_t *par)
> {
>     if (x[0] > limsup && x[0] < liminf) {
>       TF1::RejectPoint();
>       return 0;
>    }
>    return par[0];
> }



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET