Creating an array with the name of the histograms inside a .root file

Hello,

To get all those names in Python you would still need to loop over the TList, which would be slow anyway. If you need to loop over 300k keys of a TFile, it is probably better that you do it in C++.

1 Like