Hi, I am using a TH2I histogram with defined bins to plot detector flood maps but I need to use the same with non-equidistant binning to add some extra inactive space between the detectors. How it can be done for the same. An example of my TH2I histogram is given below.
hFiredA[j] = new TH2I((nameF[j]+string(“Fired_Pixel”)).data(),(nameF[j]+string(“Fired Pixel A”)).data(),16,-25.6,25.6,16,-25.6,25.6);
Constructor for Double_t variable bin size 2-D histograms.
Parameters:
[in]
name
name of histogram (avoid blanks)
[in]
title
histogram title. If title is of the form stringt;stringx;stringy;stringz the histogram title is set to stringt, the x axis title to stringx, the y axis title to stringy, etc.
[in]
nbinsx
number of bins
[in]
xbins
array of low-edges for each bin. This is an array of type double and size nbinsx+1
[in]
nbinsy
number of bins
[in]
ybins
array of low-edges for each bin. This is an array of type double and size nbinsy+1