Photoelectron sources: Selection and analysis