IAP GITLAB

small error in energy loss profile recorder of Bethe Bloch process

In file corsika/detial/modules/energy_loss/BetheBlochPDG.inl:229, I think the filled value should be dX_/deltaX.

223    // fill longitudinal profile
224    if (binStart == binEnd) {
225      fill(binStart, 1);
226    } else {
227      fill(binStart, ((1 + binStart) * dX_ - grammageStart) / deltaX);
228      fill(binEnd, (grammageEnd - binEnd * dX_) / deltaX);
229      for (int bin = binStart + 1; bin < binEnd; ++bin) { fill(bin, 1); }
230    }
Edited by Fan Hu
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information