Class TrimDataImpl

  • All Implemented Interfaces:
    Data, TrimData

    public class TrimDataImpl
    extends java.lang.Object
    implements TrimData
    This class is the default implementation for trim data read from a file.
    • Constructor Detail

      • TrimDataImpl

        public TrimDataImpl()
    • Method Detail

      • init

        public void init()
        initialize the data
      • getTrimValues

        public java.util.List<TrimValue> getTrimValues()
        Description copied from interface: TrimData
        returns the kicks (in rad) which were applied to the given corrector in the given plane during the measurement. This always contains all entries of the files! (e.g. in yasp-files this might be correctors or bending magnets.) -> so it has to be checked and the user has to be warned, if not all of them can be applied.
        Specified by:
        getTrimValues in interface TrimData
        Returns:
        all available corrector-values
      • setReadingData

        public void setReadingData​(ReadingData readingData)
        Parameters:
        readingData - the readingData to set
      • getReadingData

        public ReadingData getReadingData()
        Returns:
        the readingData
      • setToModelConversionFactor

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

        public double getToModelConversionFactor()
        Returns:
        the toModelConversionFactor