Photoelectric effect vs Ionization