fEstimate

From: Nicolas Produit <Nicolas.Produit_at_unige.ch>
Date: Mon, 23 Feb 2009 13:52:45 +0100


Hi,

it seems there are some discrepancy about usage of fEstimate in TTree code.
Comments say that default is 10000 but it seems it is now 1000000. There are two places where fEstimate is promoted to 1000000 if old value 10000 is found.
In SetEstimate we see
if (n <= 0) {

    n = 10000;
}

I think comment should say 1000000 and code of SetEstimate should be changed.

Now my question what is this SetEstimate used for. Why is it not simply automatically alway set to number of entries in the tree?

Thanks

---
Nicolas Produit
INTEGRAL Science Data Center  Phone:  +41 22 379 2140
16, Chemin d'Ecogia                            Fax:  +41 22 379 2133
CH-1290 Versoix                               www:    http://isdc.unige.ch/~produit
Received on Mon Feb 23 2009 - 13:52:52 CET

This archive was generated by hypermail 2.2.0 : Mon Feb 23 2009 - 17:50:01 CET