Problem 839 - G4PolarizedComptonScattering
Summary: G4PolarizedComptonScattering
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/electromagnetic (show other problems)
Version: 7.1
Hardware: PC Linux
: P1 critical
Assignee: Michel.Maire
URL:
Depends on:
Blocks:
 
Reported: 2006-02-07 06:01 CET by farnea
Modified: 2006-02-07 08:18 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description farnea 2006-02-07 06:01:40 CET
Using the G4PolarizedComptonScattering class, after a few events I obtain
the following message:

G4VParticleChange::SetNumberOfSecondaries() Warning  theListOfSecondaries is not
empty

Having a closer look at the code, it looks like the problem is solved changing
lines 73-74 from

   if (std::abs(GammaPolarization0.mag() - 1.e0) > 1.e-14)
      G4ComptonScattering52::PostStepDoIt(aTrack,aStep);

to
   if (std::abs(GammaPolarization0.mag() - 1.e0) > 1.e-14)
      return G4ComptonScattering52::PostStepDoIt(aTrack,aStep);

The same obviously will hold for the previous versions!
Comment 1 Michel.Maire 2006-02-07 08:19:59 CET
Thanks for your report.
The correction is included in the patch V8.0p1 to be released soon.