Questions about PIXE and G4hImpactIonisation

I have a question about the pixe of proton interaction with matter.

Do I have to add G4hImpactIonisation for the proton, as examples/advanced/eRosita/ used,
or I can just use G4EmLivermorePhysics instead but set the PIXE (and auger etc.) flag true?

Thanks in advance.

If you use latest Geant4 (eg. 10.7), see example TestEm5, macro pixe.mac

Thank you, maire :slight_smile:)

The version I used is 10.5.p01.

Just for sure, if I understand correctly, so all the processes needed are registered by setting flags of /process/em/… to true when, for example, the emlivermore physics is chosen?

pixe.mac.txt (1.3 KB)
pixe.C.txt (964 Bytes)