Irregular histogram binning

Hello-

I’d like to set up a 2D histogram with irregular binning.

As a simple case, let’s say I’m histogramming y vs x.

For x < 10 I’d like to have square bins, 1 unit square.
For all y.

For x > 10 I’d like to have square bins, 4 units square.
For all y.

With a TH2 I can have variable width bins on the x
axis, and on the y axis. But, there seems to be
no way for the width of the bins in y to depend on
my x position?

Does this functionality exist some place?
I imagine that it’s a common enough situation
in calorimeter segmentation, for example. It seems like
other people must have confronted this in the past.

Thanks,
Adam

This functionality is currently not implemented although I agree it would be useful for the case that you describe.

Rene

[quote=“brun”]This functionality is currently not implemented although I agree it would be useful for the case that you describe.

Rene[/quote]

Is there a way to formally request it? Or is this good enough? :wink:

I see links for “feature request” on the ROOTTalk home page,
pointing to
root.cern.ch/cgi-bin/enhancement.pl
which seems to be broken.

Cheers,
Adam