Hi,
If you fill a NaN in an histogram, it will go to the overflow bin, while if the y value of the Profile is a NaN the resulting bin content will be NaN. This has the advantage that can be immediately discovered by the user. I think it is a user responsibility not to fill histogram or profile with NaN values
Best Regards
Lorenzo
On Mar 11, 2011, at 5:27 AM, BetterWang wrote:
> Well, it has been solved. > In very rare occasions, I have NaN from divided by zero. > If I fill NaN in a 2D histo, I won't have problem at all. > But if I fill NaN in a TProfile, it will result that bin to be NaN. > Maybe TProfile can have NaN protection in the Fill function, or leave > that to users. > > Thanks, > > > On Wed, Mar 9, 2011 at 3:19 AM, Lorenzo Moneta <Lorenzo.Moneta_at_cern.ch> wrote: >> Hi, >> >> Can you please send me a macro reproducing this problem ? >> Thank you >> >> Lorenzo >> On Mar 1, 2011, at 5:07 PM, BetterWang wrote: >>
This archive was generated by hypermail 2.2.0 : Fri Mar 11 2011 - 11:50:01 CET