I've encountered a strange behavior of the G4ComptonScattering implementation. For all specific Compton models (Livermore, Penelope, polarized Livermore) there is some kind of modulation in the probability of scattering in azimuthal angle. I've simulated some non-polarized 150 keV photons propagating in (0,0,1) direction that are scattering in some water and plotted the azimuthal angle distribution of scattered photons (please have a look at the attached file). The only physics process activated was Compton scattering. You can see there is a modulation in the event counts with a repetition period of about 72 degrees. However, I expected the distribution to be completely flat, since non-polarized Compton scattering must be independent (hence isotropic) of the azimuthal angle. Is this a physics bug or am I missing something here? Martin
Created attachment 281 [details] azimuthal angle distribution with strange modulation
Finally I found out that the reason of this strange behavior was not a bug in the G4ComptonScattering implementation but in the user code. It appeared due to a non-obvious but wrong conversion between degree and rad which was unfortunately hidden quite well. Martin