An investigation of recombination in gold-doped pin rectifiers