Determination of low-energy ion-induced electron yields from thin carbon foils