X-ray And Charged Particle Detection With Csim) Layer Coupled To A-sm Photodiode Layers