i need some help, i have a root file having some histograms like pt, eta, phi, energy, mass etc. i want to apply weight to these histograms. the weight (scaling factor) is determined in different eta and pt bins. i stored the scaling factors in a 2D histogram i.e at different pt bins (x axis) and eta bins (y axis) shown in figure [1]. Now my confusion is how to extract the weight (scaling factor) from 2D hist and reweight for example mass histogram [2].
Hi,
do you have a TTree with pT, eta, and mass, which you could re-analyze and apply the weights? If not, and if all you have is the final histograms, then I’m afraid reweighting a histogram the way you described is not possible.