Interface TrackResult

  • All Superinterfaces:
    Result
    All Known Implementing Classes:
    TrackResultImpl

    public interface TrackResult
    extends Result
    This interface allow to manage data contained in the output of a track task.
    • Method Detail

      • getParticleCount

        java.lang.Integer getParticleCount()
        Returns:
        number of particle tracked
      • add

        void add​(MadxTrackVariable variable,
                 java.lang.Integer particle,
                 java.lang.Double value)
        Store the value associated to a variable for a particle
        Parameters:
        variable -
        particle - integer associated to the tracked particle
        value -
      • get

        java.util.List<java.lang.Double> get​(MadxTrackVariable variable,
                                             java.lang.Integer particle)
        Parameters:
        variable -
        particle - integer associated to the tracked particle from 0 to getParticleCount()
        Returns:
        values associated to a variable for a particle
      • clear

        void clear()
        clear the result