Fatal internal error in AnalysisEfficiency (merged into master branch)
In AnalysisEfficiency
:
static_cast<int>(ceil(pitch_x / m_inpixelBinSize));
leads to Fatal internal error std::bad_alloc
after commit f08fd1ff
EDIT:
The problem was that pitch_x
is converted to um
previously, but m_inpixelBinSize
was in default nm
. Consequently, the binning was too high by a factor of 1000.
This is too much for ROOT.
Now we throw an error if more than 10k bins are requested in either x or y, which is more than enough for all practical reasons. E.g. for the ATLASpix with 130um
by 40um
, this allows to go down to a binning of 0.013um = 13nm
which is way below all expected in-pixel effects that can be seen with a track pointing resolution in the order of 1um
.