I changed host country
f.ls() showed all my histograms which I created. I’m creating them in the very beginning, before opening another file, so
gDirectory->GetName() gives me name of my output file.
Also I checked where they belong to while filling and it’s also my output file.