Calculate XPS spectrum of thiol-gold surface CASTEP

Dear all, is it possible to calculate XPS spectrum of Au-thiol by CASTEP ? If yes, how to do that ?  Can I see each peak contribution in the spectrum ?

Thank you in   advance,

All the best