Class KickResponseDataImpl

    • Constructor Detail

      • KickResponseDataImpl

        public KickResponseDataImpl()
    • Method Detail

      • getResponseMatrix

        public Jama.Matrix getResponseMatrix()
        Specified by:
        getResponseMatrix in interface KickResponseData
        Returns:
        the responding response-matrix corresponding to the actually active correctors/monitors. (Calculates prior to return, if it is not consistent with the actual selected monitors/correctors)
      • getTrajectoryValidity

        public cern.accsoft.steering.util.TMatrix<java.lang.Boolean> getTrajectoryValidity​(Plane plane,
                                                                                           cern.accsoft.steering.jmad.tools.response.DeflectionSign sign)
        Specified by:
        getTrajectoryValidity in interface KickResponseData
      • getTrajectoryMatrix

        public Jama.Matrix getTrajectoryMatrix​(Plane plane,
                                               cern.accsoft.steering.jmad.tools.response.DeflectionSign sign)
        Specified by:
        getTrajectoryMatrix in interface KickResponseData
      • decouple

        public void decouple()
        Description copied from interface: KickResponseData
        sets the elements of the response-matrix, which correspond to different planes, to zero.
        Specified by:
        decouple in interface KickResponseData
      • getValidityMatrix

        public cern.accsoft.steering.util.TMatrix<java.lang.Boolean> getValidityMatrix()
        Specified by:
        getValidityMatrix in interface KickResponseData
        Returns:
        the validity-matrix, which indicates, which entries in the response-matrix are valid, and which are not.
      • removeDataPlus

        public void removeDataPlus​(java.lang.String correctorKey)
      • removeDataMinus

        public void removeDataMinus​(java.lang.String correctorKey)
      • getCorrectorKickDataPlus

        public final java.util.Map<java.lang.String,​CorrectorKickData> getCorrectorKickDataPlus()
        Returns:
        the correctorKickDataPlus
      • getCorrectorKickDataMinus

        public final java.util.Map<java.lang.String,​CorrectorKickData> getCorrectorKickDataMinus()
        Returns:
        the correctorKickDataMinus
      • setToModelConversionFactor

        public void setToModelConversionFactor​(double toModelConversionFactor)
        Parameters:
        toModelConversionFactor - the toModelConversionFactor to set
      • getToModelConversionFactor

        public double getToModelConversionFactor()
        Returns:
        the toModelConversionFactor
      • getCorrectorKickData

        public CorrectorKickData getCorrectorKickData​(Corrector corrector,
                                                      cern.accsoft.steering.jmad.tools.response.DeflectionSign sign)
        Description copied from interface: KickResponseData
        retrieves the corrector kick data, which was used to create the response matrix for one corrector.
        Specified by:
        getCorrectorKickData in interface KickResponseData
        Parameters:
        corrector - the corrector for which to retrieve the data
        sign - the sign of the deflection (plus/minus)
      • getRelativeRmsValues

        public Jama.Matrix getRelativeRmsValues()
        Specified by:
        getRelativeRmsValues in interface KickResponseData
        Returns:
        the rms-values relative to the corrector-kicks
      • setKickResponseMeasurement

        public void setKickResponseMeasurement​(KickResponseMeasurement kickResponseMeasurement)