Dear all,
I am simulating a PET scanner containing a head. For first experiments, I would like to switch of Compton scattering. I found the following command in previous posts:
/process/inactivate compt
However, then I get the error: illegal process (or type) name [compt]
I am using geant4-v11.1.1.
Is there another way to switch off Compton scattering?
Thanks in advance.
Which physics lists are you using? The command is not the same for all of them and only available for some EM physics lists.
More generally though it is much more flexible to just tag events if they have compton scatters and then to filter those events at the end.
I am using the G4EmStandardPhysics list.
How can I assess if an event has compton scatter? I also tried this but I could not figure out how to set this tag.
Thanks a lot for your help.
Now that I look at it, it appears that those macro commands no longer work. I’ll do some more digging or hopefully someone else knows how to do this in version 11.
This thread probably covers a lot of ground. It’ll always be cleaner to tag these events rather than disabling the process entirely since that will lead to nonphysical event weighting.
Thanks a lot for the link. this was very helpful. From my side with sorting out the scattered events, it is enough.
Thanks a lot for your help.