I have a tree with three variables a, b, c and I have to plot TH2D::Fill(a, b, k), where k is weight for a, how can I set a weight which is for only one axis.
And by the way, if you want a weight for only one axis then the idea of a two dimensional histogram doesn’t match what you need: the weight is a statement of “how much” you fill at the coordinate (a,b).