The simulation code for laser beams passing through a multipass amplifer system has been psented, where the gain distribution, gain saturation, gain recovery parameter, absorption loss, Bintegral and optical elements, such as aperture and spatial filter, which influence laser beam propagation and amplification have been all considered. Numerical illustrative examples have been given .