Looping over root file to create histograms on same plot

The new post is here: Plotting histogram by looping