Class JMadModelOpticsData

    • Method Detail

      • getMonitorDispersions

        public java.util.List<java.lang.Double> getMonitorDispersions​(Plane plane)
        Specified by:
        getMonitorDispersions in interface ModelOpticsData
        Parameters:
        plane - the plane for which to retrieve the values
        Returns:
        the dispersion values for the actually active monitors
      • getMonitorBetas

        public java.util.List<java.lang.Double> getMonitorBetas​(Plane plane)
        Specified by:
        getMonitorBetas in interface ModelOpticsData
        Parameters:
        plane - the plane for which to retrieve the values
        Returns:
        the beta-values for the actually active monitors
      • getMonitorBetas

        public java.util.List<java.lang.Double> getMonitorBetas()
        Specified by:
        getMonitorBetas in interface ModelOpticsData
        Returns:
        the beta-values for both planes
      • getMonitorPhases

        public java.util.List<java.lang.Double> getMonitorPhases​(Plane plane)
        Specified by:
        getMonitorPhases in interface ModelOpticsData
        Parameters:
        plane - the plane for which to retrieve the values
        Returns:
        the phase-values for the actually active monitors
      • getMonitorDispersions

        public java.util.List<java.lang.Double> getMonitorDispersions()
        Specified by:
        getMonitorDispersions in interface ModelOpticsData
        Returns:
        the dispersion-values for both planes
      • getAllBetas

        public java.util.List<java.lang.Double> getAllBetas​(Plane plane)
        Specified by:
        getAllBetas in interface ModelOpticsData
        Parameters:
        plane - the plane for which to retrieve the values
        Returns:
        the beta-values for the actually active monitors
      • getAllDispersions

        public java.util.List<java.lang.Double> getAllDispersions​(Plane plane)
        Description copied from interface: ModelOpticsData
        the dispersion values for all points
        Specified by:
        getAllDispersions in interface ModelOpticsData
        Parameters:
        plane - the plane for which to retrieve the dispersion-values
        Returns:
        the dispersion values
      • getAllPhases

        public java.util.List<java.lang.Double> getAllPhases​(Plane plane)
        Specified by:
        getAllPhases in interface ModelOpticsData
        Parameters:
        plane - the plane for which to retrieve the values
        Returns:
        the phase-values for the actually active monitors
      • getAllNames

        public java.util.List<java.lang.String> getAllNames()
        Description copied from interface: ModelOpticsData
        returns a list with the names of all elements
        Specified by:
        getAllNames in interface ModelOpticsData
        Returns:
      • getPhase

        public java.lang.Double getPhase​(java.lang.String elementName,
                                         Plane plane)
        Description copied from interface: ModelOpticsData
        retrieves the phase for one element.
        Specified by:
        getPhase in interface ModelOpticsData
        Parameters:
        elementName - the name of the element for which to get the phase
        plane - the plane for which to return the phase
        Returns:
        the phase of the given element
      • getAllSPositions

        public java.util.List<java.lang.Double> getAllSPositions()
        Specified by:
        getAllSPositions in interface ModelOpticsData
        Returns:
        the positions of all elements
      • getSPosition

        public java.lang.Double getSPosition​(java.lang.String elementName)
        Specified by:
        getSPosition in interface ModelOpticsData
        Returns:
        the position of the element with given name
      • getAllPos

        public java.util.List<java.lang.Double> getAllPos​(Plane plane)
        Specified by:
        getAllPos in interface ModelOpticsData
        Parameters:
        plane - plane for which to retrieve the data
        Returns:
        plane the transvers positions fo all elements
      • getMonitorPos

        public java.util.List<java.lang.Double> getMonitorPos​(Plane plane)
        Specified by:
        getMonitorPos in interface ModelOpticsData
        Parameters:
        plane - the plane for which to retrieve the transverse positions
        Returns:
        the transvers position for the given plane
      • getMonitorPos

        public java.util.List<java.lang.Double> getMonitorPos()
        Specified by:
        getMonitorPos in interface ModelOpticsData
        Returns:
        the positions at the monitors for both planes (H+V)
      • getMonitorSPositions

        public java.util.List<java.lang.Double> getMonitorSPositions​(Plane plane)
        Description copied from interface: ModelOpticsData
        the s-positions for the monitors in the given plane
        Specified by:
        getMonitorSPositions in interface ModelOpticsData
        Returns: