def METHOD_NAME(self):
    np.random.seed(0)
    self.nparticles = 1000
    self.epsx = 0.5
    self.intensity = 1e11
    self.charge = constants.e
    self.mass = constants.m_p
    self.circumference = 99
    self.gamma = 27.1
    self.generator = gf.ParticleGenerator(
        self.nparticles, self.intensity,
        self.charge, self.mass, self.circumference, self.gamma,
        distribution_x=gf.gaussian2D(0.5),alpha_x=-0.7, beta_x=4, D_x=0,
        distribution_z=gf.gaussian2D(3.0),
        printer=SilentPrinter())
    self.beam = self.generator.generate()