Hello all,
I have a very very strange problem that is making me completely crazy…
I have 1 TH3D in a root file. (this file has been produced with CMSSW_2_2_9). When I open the file with bare root, I can see the histogram and display it…
root out -l
TBrowser b
Then I draw my histo (and I see the 3D histogram → not empty histogram)
But when I am trying to load the histogram using a root macro :
I have problems…
I can open the file, and get the histograms without problem…
I can get the number of entries in the histograms (~10^7)…
but when I am scanning all the bins (including under and over flow bins) of the histograms in order to print out the content of the bins…
I always get 0 entries in the bin (for all the bins…) even if the Number of entries is not 1.
When I try to draw this histograms… I just have an empty canvas (with the yellow frame arround).
Do you have any Idea?
I tried to open a similar root file produced in CMSSW_3_1_0_pre6, and with this one I have no problems…
So I do not really understand the problem…
(and since I can plot the histo using a TBrowser I guess all the content is well in the file… so how can I acces it?)
Many thanks In advance for help,
Loic,
If you want to check the file :
It is available on my afs area on lxplus :
~querten/public/out.root