| Summary: | GetCharge method of G4StepPoint returns peculiar value for charge | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | corneliu |
| Component: | tracking | Assignee: | kurasige |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 6.1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
corneliu
2004-05-27 08:29:40 CEST
It is not a bug. The GetCharge method of the G4StepPoint gives "dynamic" charge of the particle. For the ions produced by hadronic processes, PDGCharge in G4ParticleDefinition is the charge of the nucleus (i.e. equal to atomic number * eplus). On the other hand, the dynamic charge is the effective charge of the ion (see G4EffectiveCharge class under processes/hadronic/util). In Geant4, eplus is set to 1 (see CLHEP/Units/SystemOfUnits.h). So, the value of 2.1 is OK. |