Problem 2616

Summary: Bug in G4WilsonAbrasionModel::GetAbradedNucleons rejection sampling
Product: Geant4 Reporter: dlc2048
Component: processes/hadronic/models/abrasionAssignee: flei
Status: NEW ---    
Severity: normal CC: Alberto.Ribon
Priority: P4    
Version: 11.2   
Hardware: All   
OS: All   

Description dlc2048 2024-06-27 07:55:30 CEST
in line 740 of G4WilsonAbrasionModel.cc

1. the random variable 'p' is not resampled after first sampling in the while-loop from 738-744
2. the rejection envelope function 'maxn' is seems to smaller than the target function because sinh function has singularity at 0