|
||||||||||
| 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
Encapsulates a BeamProbe's state at a point in time.
| Field Summary |
| Fields inherited from class gov.sns.xal.model.probe.traj.ProbeState |
STATE_LABEL |
| Constructor Summary | |
BeamProbeState()
Default constructor. |
|
BeamProbeState(BeamProbe probe)
Initializing constructor. |
|
| Method Summary | |
protected void |
addPropertiesTo(DataAdaptor container)
Save the state values particular to BeamProbeState objects
to the data sink. |
double |
getBeamCharge()
Returns the total beam charge |
double |
getBeamCurrent()
Returns the total beam current |
abstract CorrelationMatrix |
phaseCorrelation()
Abstract - Returns the correlation matrix (sigma matrix) in homogeneous phase space coordinates. |
CorrelationMatrix |
phaseCovariance()
Returns the covariance matrix of this state in homogeneous phase space coordinates. |
PhaseVector |
phaseMean()
Abstract - Return the phase space coordinates of the centroid in homogeneous coordinates |
protected void |
readPropertiesFrom(DataAdaptor container)
Recover the state values particular to BeamProbeState objects
from the data source. |
double[] |
rmsEmittances()
Returns the rms emittances for this state. |
void |
setBeamCharge(double c)
Set the total beam charge |
void |
setBeamCurrent(double c)
Set the total beam current |
java.lang.String |
toString()
Write out state information to a string. |
Twiss[] |
twissParameters()
Return the twiss parameters for this state calculated from the correlation matrix |
| 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 |
| Constructor Detail |
public BeamProbeState()
BeamProbeState.
public BeamProbeState(BeamProbe probe)
BeamProbe object initialized
to the argument's state.
probe - probe object with which to initialize this state| Method Detail |
public abstract CorrelationMatrix phaseCorrelation()
PhaseMatrixpublic void setBeamCurrent(double c)
public void setBeamCharge(double c)
public double getBeamCurrent()
public double getBeamCharge()
public CorrelationMatrix phaseCovariance()
public double[] rmsEmittances()
public Twiss[] twissParameters()
public PhaseVector phaseMean()
public java.lang.String toString()
toString in class ProbeStateprotected void addPropertiesTo(DataAdaptor container)
BeamProbeState objects
to the data sink.
addPropertiesTo in class ProbeStatecontainer - data sink represented by DataAdaptor interface
protected void readPropertiesFrom(DataAdaptor container)
throws ParsingException
BeamProbeState objects
from the data source.
readPropertiesFrom in class ProbeStatecontainer - 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 | |||||||||