I suppose that this problem is caused by overwriting histogram with the same name in current directory. I could SetDirectory(0) but I’m not sure how memory management then looks (I would like to Draw this on TBrowser, or just save in ROOT in TCanvas).
I have only one “bad” solution - giving “random names”. Any better idea?
The problem is that I have 3D histograms with the same name in different files. It’s fine when I want to draw single projection. But problem occurs when I want to draw “SAME” histograms and compare results from different files.
Of course I can rename them - but this require additional lines in macro - something that I would like to avoid.