Simulation of charge-sharing effects on silicon pixel detectors

Can you tell me how to do it or what examples I can refer to if I want to simulate the charge sharing effect on a silicon pixel detector and collect its firing pixel position and energy? Thank you for your help

_Geant4 Version:_11.1.3
_Operating System:_Linux
Compiler/Version:
_CMake Version:_3.27.9