Problem 2616 - Bug in G4WilsonAbrasionModel::GetAbradedNucleons rejection sampling
Summary: Bug in G4WilsonAbrasionModel::GetAbradedNucleons rejection sampling
Status: NEW
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/hadronic/models/abrasion (show other problems)
Version: 11.2
Hardware: All All
: P4 normal
Assignee: flei
URL:
Depends on:
Blocks:
 
Reported: 2024-06-27 07:55 CEST by dlc2048
Modified: 2024-06-27 08:11 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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