Uses of superconducting rf structures in pion beams at LAMPF