Further issues in BetheBlochPDG profile generation
after your MR !310 (merged) I thought again:
It is not a good idea to "return" if the particle cuts even slightly outside the "ShowerAxis" range. This way, particles are discarded entirely, and are not just "clipped" inside the relevant range.
However, "slant grammage" and the entire binning is only known and defined within the valid range of "ShowerAxis", thus, bins outside of the range are so far not calculated (and cannot really be).
I suggest, as better solution (but still "wrong"), to not discard any particles but to fill their dX into the valid range of the profile. It would be better to put the excess dX just into the first/last bins, but right now I don't see how we can even do this.
Furthermore, upward going particles can even have binStart>binEnd which requires another fix.
We can discuss the general problem right here and propose a new MR as consequence.