|
||||||||||
| 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.EnsembleProbeState
Encapsulates the state of an EnsembleProbe at a particular point in time.
| Field Summary |
| Fields inherited from class gov.sns.xal.model.probe.traj.ProbeState |
STATE_LABEL |
| Constructor Summary | |
EnsembleProbeState()
Default constructor. |
|
EnsembleProbeState(EnsembleProbe probe)
Initializing Constructor. |
|
| Method Summary | |
protected void |
addPropertiesTo(DataAdaptor container)
Save the state values particular to EnsembleProbeState objects
to the data sink. |
Ensemble |
getEnsemble()
Return the Ensemble state object |
int |
getFieldCalculation()
Return the field calculation method |
CorrelationMatrix |
phaseCorrelation()
Return the correlation matrix of the distribution |
protected void |
readPropertiesFrom(DataAdaptor container)
Recover the state values particular to EnsembleProbeState objects
from the data source. |
void |
setEnsemble(Ensemble ens)
Set the state to the value of the argument NOTE: the copy operation can be expansive for large Ensembles |
void |
setFieldCalculation(int fc)
Set the field calculation method |
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 |
| Constructor Detail |
public EnsembleProbeState()
EnsembleProbeState object.
public EnsembleProbeState(EnsembleProbe probe)
EnsembleProbeState object and
initialize it to the state of the probe argument.
probe - EnsembleProbe containing initializing state information| Method Detail |
public void setFieldCalculation(int fc)
public void setEnsemble(Ensemble ens)
Ensembles
ens - Ensemble object to be copiedpublic int getFieldCalculation()
public Ensemble getEnsemble()
public CorrelationMatrix phaseCorrelation()
phaseCorrelation in class BeamProbeStateCorrelationMatrixpublic java.lang.String toString()
toString in class BeamProbeStateprotected void addPropertiesTo(DataAdaptor container)
EnsembleProbeState objects
to the data sink.
addPropertiesTo in class BeamProbeStatecontainer - data sink represented by DataAdaptor interface
protected void readPropertiesFrom(DataAdaptor container)
throws ParsingException
EnsembleProbeState 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 | |||||||||