Class TrimDataImpl
- java.lang.Object
-
- cern.accsoft.steering.aloha.plugin.trim.meas.data.TrimDataImpl
-
-
Constructor Summary
Constructors Constructor Description TrimDataImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReadingDatagetReadingData()doublegetToModelConversionFactor()java.util.List<TrimValue>getTrimValues()returns the kicks (in rad) which were applied to the given corrector in the given plane during the measurement.voidinit()initialize the datavoidsetReadingData(ReadingData readingData)voidsetToModelConversionFactor(double toModelConversionFactor)
-
-
-
Method Detail
-
init
public void init()
initialize the data
-
getTrimValues
public java.util.List<TrimValue> getTrimValues()
Description copied from interface:TrimDatareturns 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:
getTrimValuesin interfaceTrimData- 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
-
-