My problem is that I have a TH2F histo, in the TBrowser seems empty, but when I do GetBinContet, or Print("all), I get values. When I use a macro to read it, it does not complain but it draws nothing.
My macro is the following:[code]
TFile file0(“data_phi.root”); file0.cd(“ZmumuTPMuon/MuonProbe_HighEtaNumMS/MuonProbe_OC_LooseProbes_noProbeIP/Dummy/Probes”);
TH2F data_phi = (TH2F)MuonProbe_HighEtaNumMS_MuonProbe_OC_LooseProbes_noProbeIP_Dummy_Probes_EtaPt->Clone();
I changed the the Axis range, the canvas is empty, but now the stats are different. The mean X value, the mean Y value are not zero now! But still it is empty…
I now have a histogram in which everything is within the range of the two axis, but when I do Draw(), I
get an empty canvas. Then I go to the DrawPanel and check the 3D option, and I get a 3D histogram on
the canvas with the correct values. However I need to use the 2D , not the 3D.