Transmission function calibration of an angular resolved analyzer for X-ray photoemission spectroscopy: Theory vs experiment