[ROOT] poisson question

From: Dan Holmes (Daniel.Holmes@cern.ch)
Date: Tue Dec 02 2003 - 11:22:58 MET


Hi,

i kind of asked this question a week and a half ago but i got no responce 
so i will try again..

root vers: 3.05/07

To what accuracy can i use the poisson function?

I do:
poiss1=new TF1("poiss1","TMath::Poisson(x,[1])",0,99);

float x0=3;
poiss1->SetParameter(1,x0);
poiss1.Integral(0,99) 

>>9.82143583403792597e-01

float x0=0.3;
poiss1->SetParameter(1,x0);
poiss1.Integral(0,99)

>>5.85493726744197751e-01

..i guess the first case is accurate to at least a few percent? ..how 
about the second case? ..what is the lower limit to which i can set x0 and 
still get a reasonable answer?

cheers,

Dan.



-- 

CMS-Bristol
http://cern.ch/dan.holmes



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