Hi ROOTers,
I am facing (also my colleague) a problem with HIstogram manipulation.
First one
float xbins_eta[] = {0.0, 0.2, 0.4, 0.6, 0.8, 1.0, 1.2, 1.7, 2.37} } ;
const int xbinnum_eta = sizeof(xbins_eta)/sizeof(Float_t) - 1 ;
TH1F *hist_eta =definevar1dHistogram("", xbinnum_eta, xbins_eta, “Particle-level |#eta(#gamma)|”, kBlue);
and the other one using python config this way
Region: ph_eta
Binning: 0,0.2,0.4,0.6,0.8,1.0,1.2,1.7,2.37
Type: Validation
Variable: fabs(ph_eta),8,0,2.37
VariableTitle: “#{#eta(#gamma)}”
Ymax: 1000
but when I add them or divide, I get this error (warning), “Dividing histograms with different axis limits”
but in plotting I see same starting and ending limit on the x-axis for both plots
Please note when I use integer binning, I do not see this warning. Is it something related to some root release ? I have check both lxplus6 and 7 for this. Nothing helping.
Can anyone please provide any lead ?
Cheers,
Binish
Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided