Effect of betatron oscillations on waveguide free electron laser gain