Photoelectric effect apparatus