Problem 1763 - G4IonCoulombScatteringModel and test58
Summary: G4IonCoulombScatteringModel and test58
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/electromagnetic (show other problems)
Version: 10.1
Hardware: All All
: P5 trivial
Assignee: Vladimir.Ivantchenko
URL:
Depends on:
Blocks:
 
Reported: 2015-06-30 11:36 CEST by Mauro Tacconi
Modified: 2015-07-13 19:16 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Mauro Tacconi 2015-06-30 11:36:56 CEST
G4IonCoulombScatteringModel.cc

line 203: G4double ptot = v0.mag();
proposed fix: G4double ptot = v0.vect().mag();

line 228: G4double trec = v0.e() - mass2;
proposed fix: G4double trec = v0.e();

----------------------------

also in test58 (src/StackingAction.cc)

line 68: G4double M2= A*mole/g;
proposed fix: G4double M2= A;
Comment 1 Vladimir.Ivantchenko 2015-07-01 10:23:11 CEST
Hello Mauro,

thank you for this bug report. It is clear and will be implemented soon.

VI