| Summary: | Proton multiple scattering registration missing emstandard_opt2 | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Doris Kim <dorisykim> |
| Component: | physics_lists | Assignee: | Vladimir.Ivantchenko |
| Status: | RESOLVED WONTFIX | ||
| Severity: | normal | CC: | Alberto.Ribon, Vladimir.Ivantchenko |
| Priority: | P4 | ||
| Version: | 10.6 | ||
| Hardware: | All | ||
| OS: | All | ||
Hi Gunter, please, attach this problem to me. Vladimir Hello, thank you for the discovery of this bug. Unfortunately, we do not plan to patch Geant4 10.6. We plan patches for 10.7 only. So, please, fix this problem privately in your installation. VI Yes, I understand the solution. Thank you. Doris |
The multiple scattering model for the proton is defined as "msc", but not registered as a process. The registeration line > ph->RegisterProcess(pmsc, particle); is missing in G4EMStandardPhysics_option2.cc. Here is the corresponding part of the codes: 327 328 } else if (particleName == "proton" || 329 particleName == "anti_proton") { 330 331 G4hMultipleScattering* pmsc = new G4hMultipleScattering(); 332 pmsc->SetEmModel(new G4WentzelVIModel()); 333 334 ph->RegisterProcess(new G4hIonisation(), particle); 335 ph->RegisterProcess(pb, particle); 336 ph->RegisterProcess(pp, particle); 337 ph->RegisterProcess(new G4CoulombScattering(), particle); Other G4EMStandardPhysics cc files look OK. They do have the registration line.