| Summary: | Parameter Q in "/gun/ion Z A Q" and "/gps/ion Z A Q" has no effects on charged ion status. | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Hyunmin Yang <simpson9794> |
| Component: | processes/electromagnetic | Assignee: | Vladimir.Ivantchenko |
| Status: | RESOLVED INVALID | ||
| Severity: | minor | CC: | daren.sawkey |
| Priority: | P4 | ||
| Version: | 10.7 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Hyunmin Yang
2021-12-29 06:02:21 CET
---------------------------------Addition-------------------------------- I found that there is the problem only if the effective ion charge model is registered using G4ionIonization model in physics list. Command "/gps/ion Z A Q"(or "/gun/ion Z A Q") works well in a magnetic field without the model. Hello, yes, it is due to effective charge approach which is used by default in Geant4. This approach is accurate in the case of solid and liquid media. In gases and vacuum charge exchange between a projectile ion and the media is suppressed. To address this, we have special models G4BetheBlochIonGasModel and G4BraggIonGasModel, which should be used in low-density volumes. The example how to enable is in examples/extended/electromagnetic/TestEm7/src/PhysicsList.cc In this example the model is defined for world, it is possible to define for a G4Region, for example, for volume with vacuum. So, this is not a bug, I will close this bugreport. VI |