Problem 839

Summary: G4PolarizedComptonScattering
Product: Geant4 Reporter: farnea
Component: processes/electromagneticAssignee: Michel.Maire
Status: RESOLVED FIXED    
Severity: critical    
Priority: P1    
Version: 7.1   
Hardware: PC   
OS: Linux   

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.