Class GaussEalignCommand

  • All Implemented Interfaces:
    Command, JMadExecutable

    public class GaussEalignCommand
    extends AbstractCommand
    This class represents the command for the misaligning one or more elements with random tgauss (for DX and DY) values. If gaussDistribution value is 0 default tgauss() option is provided.

    TODO add more random parameters
    • Constructor Detail

      • GaussEalignCommand

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