Hi again, a definition like TFormula *g2 = new TFormula("g2","[3]*exp(-((x-[4]*.68)^2)/[5]^2)"); which has obviously three parameters, starting at index 3 returns, if asked for the number of paramters via g2->GetNpar() six parameters . root [6] TFormula *g2 = new TFormula("g2","[3]*exp(-((x-[4]*.68)^2)/[5]^2)"); root [7] g2->GetNpar() (Int_t)6 is this correct ? We are looking for a way to build one six-parametric function from two three parametric functions an fit this to a histo. This was already a topic in Re: formula with multiple TFormula from T Auger In our case it causes difficulties whenn fitting the six-apametrix function. Cheers, Norbert
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:31 MET