Reweighting histogram

I am trying to reweight a histogram but the problem is that each and every event in the histogram has a different weight. Is there an easy way to do this ?

You must refill the histogram with the right weight

Rene