Cavity ionization as a function of wall material