Event-by-event weighting and saving as a branch at TTree

I think what you want is some1Dhistogram->Fill(D_ETA, weight); which should be the same as tree1->Draw("D_ETA", "weight");.