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

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).