Problem 2310 - Proton multiple scattering registration missing emstandard_opt2
Summary: Proton multiple scattering registration missing emstandard_opt2
Status: RESOLVED WONTFIX
Alias: None
Product: Geant4
Classification: Unclassified
Component: physics_lists (show other problems)
Version: 10.6
Hardware: All All
: P4 normal
Assignee: Vladimir.Ivantchenko
URL:
Depends on:
Blocks:
 
Reported: 2021-01-14 08:10 CET by Doris Kim
Modified: 2021-02-26 14:30 CET (History)
2 users (show)

See Also:


Attachments

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