Class ClosedOrbitAnalyzerBean
java.lang.Object
org.scictrl.mp.orbitcorrect.utilities.PropertyChangeSupportable
org.scictrl.mp.orbitcorrect.utilities.ClosedOrbitAnalyzerBean
- All Implemented Interfaces:
IBeamTraceProvider
public class ClosedOrbitAnalyzerBean
extends PropertyChangeSupportable
implements IBeamTraceProvider
ClosedOrbitAnalyzerBean class.
- Author:
- igor@scictrl.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intConstantBEAM_DISPLACMENT_ARRAY=1static final intConstantBEAM_DISPLACMENT_LOCATION_ARRAY=0static booleanConstantdebug=truestatic final StringConstantPROPERTY_ALL_DATA="ALL_DATA"Fields inherited from class org.scictrl.mp.orbitcorrect.utilities.PropertyChangeSupportable
propertyListeners -
Constructor Summary
ConstructorsConstructorDescriptionClosedOrbitAnalyzerBean constructor comment.ClosedOrbitAnalyzerBean(DataBush dataBush) Constructor for ClosedOrbitAnalyzerBean. -
Method Summary
Modifier and TypeMethodDescriptiondouble[][]getApproximatedBeamData(Orientation orientation) Getter for the fieldapproximatedBeamData.double[][]getBeamTrace(Orientation orientation) Returns beam trace calculation for given orientationdouble[]getCorrectorKicks(Orientation orientation) Getter for the fieldcorrectorKicks.getCorrectors(Orientation orientation) Getter for the fieldcorrectors.Getter for the fielddataBush.intgetEigenvectorsUsed(Orientation orientation) Getter for the fieldeigenvectorsUsed.doublegetMinimalEigenvalue(Orientation orientation) Getter for the fieldminimalEigenvalue.double[]getQuadrupoleKicks(Orientation orientation) Getter for the fieldquadrupoleKicks.Getter for the fieldquadrupoles.booleanisAveragedBeamUsed.voidsetAveragedBeamUsed(boolean newAveragedBeamUsed) Setter for the fieldaveragedBeamUsed.voidsetMinimalEigenvalue(double newMinimalEigenvalue, Orientation orientation) Setter for the fieldminimalEigenvalue.voidupdateBeam.Methods inherited from class org.scictrl.mp.orbitcorrect.utilities.PropertyChangeSupportable
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
-
Field Details
-
BEAM_DISPLACMENT_ARRAY
public static final int BEAM_DISPLACMENT_ARRAYConstantBEAM_DISPLACMENT_ARRAY=1- See Also:
-
BEAM_DISPLACMENT_LOCATION_ARRAY
public static final int BEAM_DISPLACMENT_LOCATION_ARRAYConstantBEAM_DISPLACMENT_LOCATION_ARRAY=0- See Also:
-
PROPERTY_ALL_DATA
ConstantPROPERTY_ALL_DATA="ALL_DATA"- See Also:
-
debug
public static boolean debugConstantdebug=true
-
-
Constructor Details
-
ClosedOrbitAnalyzerBean
public ClosedOrbitAnalyzerBean()ClosedOrbitAnalyzerBean constructor comment. -
ClosedOrbitAnalyzerBean
Constructor for ClosedOrbitAnalyzerBean.
- Parameters:
dataBush- DataBush
-
-
Method Details
-
getApproximatedBeamData
Getter for the field
approximatedBeamData.- Parameters:
orientation- aOrientationobject- Returns:
- double[][][]
-
getBeamTrace
Returns beam trace calculation for given orientation- Specified by:
getBeamTracein interfaceIBeamTraceProvider- Parameters:
orientation- aOrientationobject- Returns:
- double[][]
-
getCorrectorKicks
Getter for the field
correctorKicks.- Parameters:
orientation- aOrientationobject- Returns:
- double[][]
-
getCorrectors
Getter for the field
correctors.- Parameters:
orientation- aOrientationobject- Returns:
- ElementList[]
-
getDataBush
Getter for the field
dataBush.- Returns:
- DataBush
-
getEigenvectorsUsed
Getter for the field
eigenvectorsUsed.- Parameters:
orientation- aOrientationobject- Returns:
- int
-
getMinimalEigenvalue
Getter for the field
minimalEigenvalue.- Parameters:
orientation- aOrientationobject- Returns:
- double
-
getQuadrupoleKicks
Getter for the field
quadrupoleKicks.- Parameters:
orientation- aOrientationobject- Returns:
- double[][]
-
getQuadrupoles
Getter for the field
quadrupoles.- Returns:
- Quadrupole[][]
-
isAveragedBeamUsed
public boolean isAveragedBeamUsed()isAveragedBeamUsed.
- Returns:
- boolean
-
setAveragedBeamUsed
public void setAveragedBeamUsed(boolean newAveragedBeamUsed) Setter for the field
averagedBeamUsed.- Parameters:
newAveragedBeamUsed- boolean
-
setMinimalEigenvalue
Setter for the field
minimalEigenvalue.- Parameters:
newMinimalEigenvalue- doubleorientation- aOrientationobject
-
updateBeam
updateBeam.
- Throws:
InconsistentDataException- if any.
-