Retrieving of TF1 precompiled function

From: polishchuk@mx.ihep.su
Date: Mon Jun 07 1999 - 06:21:12 MEST


    Dear Rooters,

is it possible to retrieve TF1 precompiled function ("type C")
from ROOT file? There's no problem with TF1 "class A" and "class B".
But what I obtained with function f1int from $ROOTSYS/test/stress.root:

root [1] TFile f("stress.root");
root [2] f1int.Print()
                f1int :  Ndim= 0, Npar= 9, Noper= 0
 Par  0                    p0 = 224.9
 Par  1                    p1 = -2.92761
 Par  2                    p2 = 3.02638
 Par  3                    p3 = 134.141
 Par  4                    p4 = -0.0224946
 Par  5                    p5 = 0.496904
 Par  6                    p6 = 83.9318
 Par  7                    p7 = 4.00135
 Par  8                    p8 = 0.633848
TH1.Print Name= Func, Total sum= 0

root [8] f1int.Eval(1)
(Double_t)0.000000000000e+00
root [9] f1int.Eval(100)
(Double_t)0.000000000000e+00
root [10] f1int.Eval(-3.14)
(Double_t)0.000000000000e+00

- it is zero everywhere. 


                                    Best regards,
                                                    Boris Polishchuk



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:34 MET