I need to sum up thousands of histograms from one directory
问题 I have a directory Processed_Data with thousands of hists*****_blinded.root files. Each hists*****_blinded.root contains around 15 graphs and histograms in it. My goal is just to overlap 1 specific histogram sc***** from each file to get the final histogram finalhists_blinded.root which will represent all of those overlapped together. I have tried the following macro: void final() { TCanvas *time = new TCanvas("c1","overlap" ,600,1000); time ->Divide(1,1); time ->cd(1); TH1F *h1 = new TH1F(