Hi,
You can use TMath::Poisson (as of Root 3.10)
Example
TF1 *f1 = new TF1("f1","TMath::Poisson([0]*x,[1])",0,6);
f1->SetParameters(1,2);
f1->Draw();
myhisto->Fit("f1");
When sending mails to roottalk, do not reply to an existing message
with a subject that has nothing to do with your message.
This is very confusing for the other readers and our search engine.
Rene Brun
Venkatesh Kaushik wrote:
>
> Hi ROOTers,
> I have a dataset that resembles Poisson distribution. Is there an existing
> fitting function for poisson defined in root? If not, how do I describe
> the functional form for a user-defined fit?
> Thanks in advance,
>
> Venkat.
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET