We describe a simple solid-on-solid model that includes diffusion to p
redict the peak intensity of X-ray photoelectron spectroscopy (XPS) an
d Auger electron spectroscopy (AES) lines from thin films adsorbed at
a surface. We compare the results with XPS experiments on Ba/Ag(111),
and conclude that for multilayer coverage, annealing above 600 K leads
to a structure of the overlayer that is determined by entropy.