Problem 2310

Summary: Proton multiple scattering registration missing emstandard_opt2
Product: Geant4 Reporter: Doris Kim <dorisykim>
Component: physics_listsAssignee: Vladimir.Ivantchenko
Status: RESOLVED WONTFIX    
Severity: normal CC: Alberto.Ribon, Vladimir.Ivantchenko
Priority: P4    
Version: 10.6   
Hardware: All   
OS: All   

Description Doris Kim 2021-01-14 08:10:33 CET
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.
Comment 1 Vladimir.Ivantchenko 2021-01-14 08:17:30 CET
Hi Gunter,

please, attach this problem to me.

Vladimir
Comment 2 Vladimir.Ivantchenko 2021-01-26 19:54:54 CET
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
Comment 3 Doris Kim 2021-01-27 13:03:31 CET
Yes, I understand the solution. Thank you.

Doris