Class OrbitMonitor
java.lang.Object
org.scictrl.mp.orbitcorrect.utilities.PropertyChangeSupportable
org.scictrl.mp.orbitcorrect.utilities.OrbitMonitor
- All Implemented Interfaces:
IBeamTraceProvider
OrbitMonitor class.
- Author:
- igor@scictrl.com
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
ConstantPROPERTY_ALL_DATA="ALL_DATA"
static final String
ConstantPROPERTY_BEAM_POSITION="BEAM_POSITION"
static final String
ConstantPROPERTY_BEAM_STATISTICS="BEAM_STATISTICS"
static final String
ConstantPROPERTY_BEAM_TRACE="BEAM_TRACE"
static final String
ConstantPROPERTY_REFERENCE_ORBIT="REFERENCE_ORBIT"
static final String
ConstantPROPERTY_SAVED_BEAM_POSITION="SAVED_BEAM_POSITION"
Fields inherited from class org.scictrl.mp.orbitcorrect.utilities.PropertyChangeSupportable
propertyListeners
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAbsoluteOrbit.double[][]
getBeamTrace
(Orientation orientation) Returns beam trace calculation for given orientationgetUserOrbit.void
initialize
(DataBush db) BeamAnalizatorBean constructor comment.boolean
isBeamTraceEnabled.boolean
isRelativeToReference.static final Orbit
loadFromFile
(File file, ElementList<BPMonitor> bpms) loadFromFile.printReport.void
printReport.void
saveOrbit.void
setBeamTraceEnabled
(boolean newBeamTraceEnabled) Setter for the fieldbeamTraceEnabled
.void
setBPMs
(ElementList<BPMonitor> bpms) setBPMs.void
setExternalAsReference.void
Setter for the fieldexternalReference
.void
setNoReference.void
setRelativeToReference
(org.scictrl.mp.orbitcorrect.utilities.OrbitMonitor.Relative ref) setRelativeToReference.void
setSavedAsReference.protected void
updateAll.void
updateBeam.void
updateBeamTrace.Methods inherited from class org.scictrl.mp.orbitcorrect.utilities.PropertyChangeSupportable
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
-
Field Details
-
PROPERTY_ALL_DATA
ConstantPROPERTY_ALL_DATA="ALL_DATA"
- See Also:
-
PROPERTY_BEAM_POSITION
ConstantPROPERTY_BEAM_POSITION="BEAM_POSITION"
- See Also:
-
PROPERTY_BEAM_TRACE
ConstantPROPERTY_BEAM_TRACE="BEAM_TRACE"
- See Also:
-
PROPERTY_REFERENCE_ORBIT
ConstantPROPERTY_REFERENCE_ORBIT="REFERENCE_ORBIT"
- See Also:
-
PROPERTY_SAVED_BEAM_POSITION
ConstantPROPERTY_SAVED_BEAM_POSITION="SAVED_BEAM_POSITION"
- See Also:
-
PROPERTY_BEAM_STATISTICS
ConstantPROPERTY_BEAM_STATISTICS="BEAM_STATISTICS"
- See Also:
-
-
Constructor Details
-
OrbitMonitor
public OrbitMonitor()Constructor for OrbitMonitor.
-
-
Method Details
-
loadFromFile
loadFromFile.
- Parameters:
file
- aFile
objectbpms
- aElementList
object- Returns:
- a
Orbit
object
-
initialize
BeamAnalizatorBean constructor comment.- Parameters:
db
- aDataBush
object
-
setBPMs
setBPMs.
- Parameters:
bpms
- aElementList
object
-
getAbsoluteOrbit
getAbsoluteOrbit.
- Returns:
- double[][]
-
getUserOrbit
getUserOrbit.
- Returns:
- double[][]
-
getBeamTrace
Returns beam trace calculation for given orientation- Specified by:
getBeamTrace
in interfaceIBeamTraceProvider
- Parameters:
orientation
- aOrientation
object- Returns:
- double[][]
-
isBeamTraceEnabled
public boolean isBeamTraceEnabled()isBeamTraceEnabled.
- Returns:
- boolean
-
isRelativeToReference
public boolean isRelativeToReference()isRelativeToReference.
- Returns:
- boolean
-
printReport
printReport.
- Returns:
- java.lang.String
-
printReport
printReport.
- Parameters:
p
- aPrintWriter
object
-
updateAll
protected void updateAll()updateAll.
-
saveOrbit
public void saveOrbit()saveOrbit.
-
setBeamTraceEnabled
public void setBeamTraceEnabled(boolean newBeamTraceEnabled) Setter for the field
beamTraceEnabled
.- Parameters:
newBeamTraceEnabled
- boolean
-
setExternalReference
Setter for the field
externalReference
.- Parameters:
ref
- aOrbit
object
-
setRelativeToReference
public void setRelativeToReference(org.scictrl.mp.orbitcorrect.utilities.OrbitMonitor.Relative ref) setRelativeToReference.
- Parameters:
ref
- aOrbitMonitor.Relative
object
-
setSavedAsReference
public void setSavedAsReference()setSavedAsReference.
-
setExternalAsReference
public void setExternalAsReference()setExternalAsReference.
-
setNoReference
public void setNoReference()setNoReference.
-
updateBeam
public void updateBeam()updateBeam.
-
updateBeamTrace
public void updateBeamTrace()updateBeamTrace.
-