You need to use the “correct” binning when you create and fill your “pt_eta” histogram, the one that is stored in your “merge.root” file (and check if it is a TH2F or a TH2D).