Electron physics list

Hello everyone,
I’m having trouble simulating an electron beam in Allpix Squared. Normally, I use the “G4EmStandardPhysics_option4” physics list in Geant4, but I’m getting an error saying this physics list doesn’t exist in Allpix.
I can’t find a way to simulate electrons in Allpix without this physics list. Can anyone guide me on how to solve this issue or suggest an alternative method for simulating electrons in Allpix?
Thank you in advance for your help!

Hi @manuela ,

The G4EmStandardPhysics_option4 can be included by the EMZ suffix in some physics lists packaged with Geant4 (see e.g. here and here). So you could for example use the list QGSP_BERT_EMZ for the physics_list keyword, and get all the benefits of EM option 4. This is the one I tend to use when simulating a DESY II-like beam of electrons. If you have a thin sensor, you can also set enable_PAI = true in order for Geant4 to account for photoabsorption ionisation.

Hope this helps!

Kind regards,

Thank you very much, Håkan! I appreciate your assistance.