I have an ntuple which has 2 subdirectories (TDirectoryFile) and in those subdirectories there are TH1 histograms. I want to access the integral of those histograms. Is it somehow possible to do this from the terminal, without writing a separate piece of code and accessing each histogram individually from the script?
cd() to the subdirectory and then
hist->GetIntegral() but I get as an output
(Double_t *) 0x55a39f1dfb70, which does not give me any information.
Thank you in advance for your help!