I have a huge 2D histogram storing the power density distribution over a large component of a collider.
I have to read out and average the power density but also find the maximum value, from a small slab of the component, namely all points (x,y) such that 5.3 < x < 7.025
and -0.2 <y < 0.2
Since the pixel size is 0.2x0.2 the slab is only 2 bins wide.
What is the best way to proceed ? Scanning all bins and process only those whose center point satisfies the above unequality ?
Or are there “cut” parameters that allow for restricting the operation range ?
A silly question … what is thepurpose of rebinning ? Maybe it is necessary if some properties of a histogram are changed ?