Class EalignCommand

  • All Implemented Interfaces:
    Command, JMadExecutable

    public class EalignCommand
    extends AbstractCommand
    represents the command for the misaligning one or more elements. The elements have to be selected before by the select command. EALIGN, DX=real,DY=real,DS=real, DPHI=real,DTHETA=real,DPSI=real, MREX=real,MREY=real, MSCALX=real,MSCALY=real, AREX=real,AREY=real;
    • Constructor Detail

      • EalignCommand

        public EalignCommand​(Misalignment misalignment)
        The default constructor.
        Parameters:
        misalignment - the misalignment to apply.
    • 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)