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
Modifier and TypeFieldDescriptionstatic final int
ConstantBEAM_DISPLACMENT_ARRAY=1
static final int
ConstantBEAM_DISPLACMENT_LOCATION_ARRAY=0
static boolean
Constantdebug=true
static final String
ConstantPROPERTY_ALL_DATA="ALL_DATA"
Fields inherited from class org.scictrl.mp.orbitcorrect.utilities.PropertyChangeSupportable
propertyListeners
-
Constructor Summary
ConstructorDescriptionClosedOrbitAnalyzerBean 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
.int
getEigenvectorsUsed
(Orientation orientation) Getter for the fieldeigenvectorsUsed
.double
getMinimalEigenvalue
(Orientation orientation) Getter for the fieldminimalEigenvalue
.double[]
getQuadrupoleKicks
(Orientation orientation) Getter for the fieldquadrupoleKicks
.Getter for the fieldquadrupoles
.boolean
isAveragedBeamUsed.void
setAveragedBeamUsed
(boolean newAveragedBeamUsed) Setter for the fieldaveragedBeamUsed
.void
setMinimalEigenvalue
(double newMinimalEigenvalue, Orientation orientation) Setter for the fieldminimalEigenvalue
.void
updateBeam.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
- aOrientation
object- Returns:
- double[][][]
-
getBeamTrace
Returns beam trace calculation for given orientation- Specified by:
getBeamTrace
in interfaceIBeamTraceProvider
- Parameters:
orientation
- aOrientation
object- Returns:
- double[][]
-
getCorrectorKicks
Getter for the field
correctorKicks
.- Parameters:
orientation
- aOrientation
object- Returns:
- double[][]
-
getCorrectors
Getter for the field
correctors
.- Parameters:
orientation
- aOrientation
object- Returns:
- ElementList[]
-
getDataBush
Getter for the field
dataBush
.- Returns:
- DataBush
-
getEigenvectorsUsed
Getter for the field
eigenvectorsUsed
.- Parameters:
orientation
- aOrientation
object- Returns:
- int
-
getMinimalEigenvalue
Getter for the field
minimalEigenvalue
.- Parameters:
orientation
- aOrientation
object- Returns:
- double
-
getQuadrupoleKicks
Getter for the field
quadrupoleKicks
.- Parameters:
orientation
- aOrientation
object- 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
- aOrientation
object
-
updateBeam
updateBeam.
- Throws:
InconsistentDataException
- if any.
-