Hi ROOT experts,
I am filling TH2D and TProfile at the same time. They have the same definition, for example:
TH2D *h2 = new TH2D("h2", h2", 220, -1.1, 1.1, 220, -1.1, 1.1); TProfile *h2p = new TProfile("h2p", "h2p", 220, -1.1, 1.1, -1.1, 1.1);
After filling lots of data.
h2 looks fine, but h2p has some bins with content "NaN".
h2->ProfileX() can give a profile without any problem.
Does anyone know what is going on under the hood?
And how can I avoid "NaN" in a TProfile?
Thanks, Received on Tue Mar 01 2011 - 17:07:35 CET
This archive was generated by hypermail 2.2.0 : Wed Mar 09 2011 - 11:50:02 CET