Hi ROOTers, I would like to draw formula using user defined basic formula (defined with TFormula). e.g : pomeron = new TFormula("pomeron","[0]*pow((x-0.939*0.939)/1.878,[1])"); f = new TFormula("f","([2]*pow((x-0.939*0.939)/1.878,[3]))"); total = new TF1("total","pomeron+f",1,20); or total = new TFormula("total","pomeron+f"); but I cannot combine "pomeron" and "f" ( the call above misfortunely don't add up to give me the sum). I could do it by writing them down as a whole but I figure it would be nice if one could combine TFormula to obtain new ones. Is this possible? sincerely, Thierry
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET