Class BeamCommand

  • All Implemented Interfaces:
    Command, JMadExecutable

    public class BeamCommand
    extends AbstractCommand
    represents the madX 'beam' command BEAM, PARTICLE=name,MASS=real,CHARGE=real, ENERGY=real,PC=real,GAMMA=real, EX=real,EXN=real,EY=real,EYN=real, ET=real,SIGT=real,SIGE=real, KBUNCH=integer,NPART=real,BCURRENT=real, BUNCHED=logical,RADIATE=logical,BV=integer,SEQUENCE=name;
    • Constructor Detail

      • BeamCommand

        public BeamCommand​(Beam beam)
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Command
        has to be implemented in order to return the name of the command (keyword);
        Returns:
        the name of the command (MadX keyword)