X-ray spectrum physics list

_Geant4 Version:_v11.1.1
_Operating System:_Ubuntu 22.04.3 LTS
_Compiler/Version:_gcc 11.4.0
_CMake Version:_3.22.1


Hello G4 users!
I am simulating the X-ray spectrum and I don’t get those peaks of my Tungsten anode… I am using the G4EmStandardPhysics_option4 class, but I also activated some processes for gammas and electrons (see the screenshot below).
I am wondering now if it’s okay that I activated these processes, or if they are already being activated automatically when calling this PhysicsList class. I was thinking that maybe I can’t get the spectrum because of the double activation of these processes? What do you think?

Hello,

it is not Opt4 EM physics but your custom EM physics. How to use EM physics from the Geant4 distribution one can see in G4 examples, for example, $G4INSTALL/examples/extended/electromagnetic/TestEm5

VI

1 Like