Hi Zoltan,
> Here is the code what I created, but it gives zeroes as result, so
> something must be wrong with it.
> // lf->SetFormula(???); // I don't know what to write here.
After taking a look at the documentation for TLinearFitter, I think you need something like the attached example.
Cheers, Roel
-- Roel Aaij Nikhef, office N250 Tel: +31 (0)20 592 2069 Sciencepark 105 Mob: +31 (0)641 370 757 1098 XG Amsterdam +41 (0)799 272 882Received on Sun Aug 08 2010 - 21:31:42 CEST
- text/x-c attachment: test.C
- application/pgp-signature attachment: OpenPGP digital signature
This archive was generated by hypermail 2.2.0 : Sun Aug 08 2010 - 23:50:01 CEST