Class RunPtcTwiss

  • All Implemented Interfaces:
    JMadExecutable

    public class RunPtcTwiss
    extends AbstractResultSelectableTask
    Represents a task to be executed in the kernel, that prepares the environment for a ptc twiss and exevutes the ptc_twiss command
    • Constructor Detail

      • RunPtcTwiss

        public RunPtcTwiss​(TwissInitialConditions twiss)
        The minimal constructor for the task.
        Parameters:
        twiss - the initial conditions to use for the twiss.
      • RunPtcTwiss

        public RunPtcTwiss​(TwissInitialConditions twiss,
                           TfsResultRequest resultRequest)
        A constructor, which additionaly allows to define the requested result variables.
        Parameters:
        twiss - the initial conditions to use for the twiss
        resultRequest - the object containing needed results
    • Method Detail

      • getCommands

        protected final java.util.List<Command> getCommands()
        Description copied from class: AbstractTask
        has to be implemented in subclass in order to retrieve the commands
        Specified by:
        getCommands in class AbstractTask
        Returns:
        the ArrayList of commands