A model of an X-ray photoelectron spectroscopy experiment accounting for photon beam asperities, sample geometry and kinetic energy analyzer is introduced. This model is related via the alignment parameter to a simple model commonly used for data interpretation. An alignment parameter estimation method is introduced and tested with simulated and experimental data.