|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.sns.xal.model.probe.traj.ProbeState
|
+--gov.sns.xal.model.probe.traj.BeamProbeState
|
+--gov.sns.xal.model.probe.traj.EnvelopeProbeState
Encapsulates the state of an EnvelopeProbe at a particular point in time.
| Field Summary | |
protected static java.lang.String |
ALPHA_X_LABEL
|
protected static java.lang.String |
ALPHA_Y_LABEL
|
protected static java.lang.String |
ALPHA_Z_LABEL
|
protected static java.lang.String |
BETA_X_LABEL
|
protected static java.lang.String |
BETA_Y_LABEL
|
protected static java.lang.String |
BETA_Z_LABEL
|
protected static java.lang.String |
EMIT_X_LABEL
|
protected static java.lang.String |
EMIT_Y_LABEL
|
protected static java.lang.String |
EMIT_Z_LABEL
|
protected static java.lang.String |
ENVELOPE_LABEL
element tag for envelope data |
| Fields inherited from class gov.sns.xal.model.probe.traj.ProbeState |
STATE_LABEL |
| Constructor Summary | |
EnvelopeProbeState()
Default constructor. |
|
EnvelopeProbeState(EnvelopeProbe probe)
Initializing Constructor. |
|
| Method Summary | |
protected void |
addPropertiesTo(DataAdaptor container)
Save the state values particular to EnvelopeProbeState objects
to the data sink. |
R3 |
getBetatronPhase()
Returns the betatron phase with space charge for all three phase planes. |
double |
getChromDispersionX()
Convenience function for returning the x plane chromatic dispersion as defined by D.C. |
double |
getChromDispersionY()
Convenience function for returning the y plane chromatic dispersion as defined by D.C. |
PhaseMatrix |
getResponseMatrix()
Get the first-order response matrix accumulated by the Envelope since its initial state. |
Twiss[] |
getTwiss()
returns the array of twiss objects for this state for all three planes |
CorrelationMatrix |
phaseCorrelation()
Returns the covariance matrix (sigma matrix) in homogeneous phase space coordinates. |
protected void |
readPropertiesFrom(DataAdaptor container)
Recover the state values particular to EnvelopeProbeState objects
from the data source. |
void |
setBetatronPhase(R3 vecPhase)
Set the betatron phase with space charge for each phase plane. |
void |
setCorrelation(CorrelationMatrix matChi)
Set the correlation matrix for this probe (7x7 matrix in homogeneous coordinates). |
void |
setResponseMatrix(PhaseMatrix matResp)
Set the first-order response matrix accumulated by the Envelope since its initial state. |
void |
setTwiss(Twiss[] twiss)
Set the twiss parameters for the probe |
java.lang.String |
toString()
Write out state information to a string. |
| Methods inherited from class gov.sns.xal.model.probe.traj.BeamProbeState |
getBeamCharge, getBeamCurrent, phaseCovariance, phaseMean, rmsEmittances, setBeamCharge, setBeamCurrent, twissParameters |
| Methods inherited from class gov.sns.xal.model.probe.traj.ProbeState |
getElementId, getKineticEnergy, getPosition, getSpeciesCharge, getSpeciesRestEnergy, getTime, load, readFrom, save, setElementId, setKineticEnergy, setPosition, setSpeciesCharge, setSpeciesRestEnergy, setTime |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected static final java.lang.String ENVELOPE_LABEL
protected static final java.lang.String ALPHA_X_LABEL
protected static final java.lang.String BETA_X_LABEL
protected static final java.lang.String EMIT_X_LABEL
protected static final java.lang.String ALPHA_Y_LABEL
protected static final java.lang.String BETA_Y_LABEL
protected static final java.lang.String EMIT_Y_LABEL
protected static final java.lang.String ALPHA_Z_LABEL
protected static final java.lang.String BETA_Z_LABEL
protected static final java.lang.String EMIT_Z_LABEL
| Constructor Detail |
public EnvelopeProbeState()
EnvelopeProbeState object.
public EnvelopeProbeState(EnvelopeProbe probe)
EnvelopeProbeState object and
initialize it to the state of the probe argument.
probe - EnvelopeProbe containing initializing state information| Method Detail |
public void setBetatronPhase(R3 vecPhase)
vecPhase - vector (psix,psiy,psiz) of betratron phases in radianspublic void setResponseMatrix(PhaseMatrix matResp)
matResp - first-order response matrix in homogeneous coordinatespublic void setCorrelation(CorrelationMatrix matChi)
matChi - new phase space covariant matrix of this probeCorrelationMatrixpublic void setTwiss(Twiss[] twiss)
twiss - new 3 dimensional array of Twiss objects (horizontal, vertical and longitudinalTwisspublic R3 getBetatronPhase()
public Twiss[] getTwiss()
public PhaseMatrix getResponseMatrix()
public CorrelationMatrix phaseCorrelation()
phaseCorrelation in class BeamProbeStateBeamProbeState.phaseCorrelation()public double getChromDispersionX()
Carey, "The Optics of Charged Particle Beams"public double getChromDispersionY()
Carey, "The Optics of Charged Particle Beams"public java.lang.String toString()
toString in class BeamProbeStateprotected void addPropertiesTo(DataAdaptor container)
EnvelopeProbeState objects
to the data sink.
addPropertiesTo in class BeamProbeStatecontainer - data sink represented by DataAdaptor interface
protected void readPropertiesFrom(DataAdaptor container)
throws ParsingException
EnvelopeProbeState objects
from the data source.
readPropertiesFrom in class BeamProbeStatecontainer - data source represented by a DataAdaptor interface
ParsingException - state information in data source is malformatted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||