How can I list the size (KB, MB) of various objects (TTree, TH) stored in TFile?
doesn’t output anything.
What is gFile pointing to?
Let me be a bit less terse:
TFile* file = TFile::Open("..."); file->DrawMap();
displays on a TCanvas the content of the file. You can enable the “Event Statusbar” in “Options”. Moving your mouse over the different parts of the canvas will display what part this corresponds to, and its file size. The size of the blocks on the canvas corresponds to the relative size in the file.
See https://root.cern.ch/doc/master/classTFileDrawMap.html for documentation on what is displayed.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.