Surface roughness for charged particles

Dear Geant4 User Forum,

I would like to include the impact of the surface roughness in the (back)scattering probability of charged particles interacting with solids. The Geant4 Optical Surface already provides an implementation of the roughness effect, and I wonder if the same implementation could be extended as a general property of Geant4 surfaces.

Thanks a lot for your support.
Best regards,
Valentina

1 Like

I’m not sure what your question is specifically. You can get charged particles to interact with a boundary by (for example) modifying G4OpBoundaryProcess to remove the polarization part, and change the IsApplicable method. Then add this new process to your physics list. Have a look at the extended/exotic/ucn (ultra cold neutron example).

1 Like

Thanks a lot for the help!
I will take a look at it, and I’ll let you know if it is indeed feasible.
(sorry for the very late reply on this, I missed your answer).

Thanks again,
Valentina