Class CombinedKickResponseDataImpl
- java.lang.Object
-
- cern.accsoft.steering.aloha.plugin.kickresp.meas.data.CombinedKickResponseDataImpl
-
- All Implemented Interfaces:
BeanAware,MachineElementsManagerAware,NoiseWeighterAware,CombinedKickResponseData
public class CombinedKickResponseDataImpl extends java.lang.Object implements CombinedKickResponseData, MachineElementsManagerAware, NoiseWeighterAware
the implementation of the combined data from model and measurement
-
-
Constructor Summary
Constructors Constructor Description CombinedKickResponseDataImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcalcDifferenceMatrix()calculates the difference between the measurement and the actual model for each matrix-element.doublecalcFitQuality()java.util.List<java.lang.Double>getCorrectorDifferenceRms()java.util.List<java.lang.Double>getCorrectorRelativeDiffRms()Jama.MatrixgetDifferenceMatrix()Jama.MatrixgetDifferenceVector()java.util.List<java.lang.Double>getMonitorDifferenceRms()java.util.List<java.lang.Double>getMonitorRelativeDiffRms()Jama.MatrixgetRelativeDiffMatrix()voidsetKickResponseData(KickResponseData kickResponseData)voidsetMachineElementsManager(MachineElementsManager machineElementsManager)by the use of this method theMachineElementsManageris injected if the class is configured by theAlohaBeanFactoryvoidsetModelKickResponseData(ModelKickResponseData modelKickResponseData)voidsetNoiseWeighter(NoiseWeighter noiseWeighter)this method is used by theAlohaBeanFactoryto inject theNoiseWeighterinstance
-
-
-
Method Detail
-
calcDifferenceMatrix
public void calcDifferenceMatrix()
calculates the difference between the measurement and the actual model for each matrix-element.
-
calcFitQuality
public double calcFitQuality()
-
setNoiseWeighter
public void setNoiseWeighter(NoiseWeighter noiseWeighter)
Description copied from interface:NoiseWeighterAwarethis method is used by theAlohaBeanFactoryto inject theNoiseWeighterinstance- Specified by:
setNoiseWeighterin interfaceNoiseWeighterAware- Parameters:
noiseWeighter- the noiseWeighter to set
-
setMachineElementsManager
public void setMachineElementsManager(MachineElementsManager machineElementsManager)
Description copied from interface:MachineElementsManagerAwareby the use of this method theMachineElementsManageris injected if the class is configured by theAlohaBeanFactory- Specified by:
setMachineElementsManagerin interfaceMachineElementsManagerAware- Parameters:
machineElementsManager- the machineElementsManager to set
-
getDifferenceVector
public Jama.Matrix getDifferenceVector()
- Specified by:
getDifferenceVectorin interfaceCombinedKickResponseData- Returns:
- the differenceVector
-
getDifferenceMatrix
public Jama.Matrix getDifferenceMatrix()
- Specified by:
getDifferenceMatrixin interfaceCombinedKickResponseData- Returns:
- the differenceMatrix
-
getRelativeDiffMatrix
public Jama.Matrix getRelativeDiffMatrix()
- Specified by:
getRelativeDiffMatrixin interfaceCombinedKickResponseData- Returns:
- the relativeDiffMatrix
-
getCorrectorDifferenceRms
public java.util.List<java.lang.Double> getCorrectorDifferenceRms()
- Specified by:
getCorrectorDifferenceRmsin interfaceCombinedKickResponseData- Returns:
- the rms of the difference between measurement-model for each corrector
-
getCorrectorRelativeDiffRms
public java.util.List<java.lang.Double> getCorrectorRelativeDiffRms()
- Specified by:
getCorrectorRelativeDiffRmsin interfaceCombinedKickResponseData- Returns:
- the rms of the difference between measurement-model for each corrector normalized by (kicks/noise);
-
getMonitorDifferenceRms
public java.util.List<java.lang.Double> getMonitorDifferenceRms()
- Specified by:
getMonitorDifferenceRmsin interfaceCombinedKickResponseData- Returns:
- the rms of the difference between measurement-model for each monitor
-
getMonitorRelativeDiffRms
public java.util.List<java.lang.Double> getMonitorRelativeDiffRms()
- Specified by:
getMonitorRelativeDiffRmsin interfaceCombinedKickResponseData- Returns:
- the rms of the difference between measurement-model for each monitor normalized by (kicks/noise);
-
setKickResponseData
public void setKickResponseData(KickResponseData kickResponseData)
-
setModelKickResponseData
public void setModelKickResponseData(ModelKickResponseData modelKickResponseData)
-
-