|
||||||||||
| 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.SynchronousState
| Field Summary | |
protected static java.lang.String |
ATTR_PHASEBETA
attribute tag for betatron phase |
protected static java.lang.String |
ATTR_PHASERF
attribute tag for RF phase |
protected static java.lang.String |
LABEL_SYNCH
element tag for RF phase |
| Fields inherited from class gov.sns.xal.model.probe.traj.ProbeState |
STATE_LABEL |
| Constructor Summary | |
SynchronousState()
Default constructor. |
|
SynchronousState(SynchronousProbe probe)
Copy constructor. |
|
| Method Summary | |
protected void |
addPropertiesTo(DataAdaptor daptSink)
Save the probe state values to a data store represented by the DataAdaptor interface. |
R3 |
getBetatronPhase()
Return the betatron phase advances in each plane. |
double |
getRfPhase()
Return the phase location of the synchronous particle with respect to any driving RF power. |
protected void |
readPropertiesFrom(DataAdaptor daptSrc)
Restore the state values for this probe state object from the data store represented by the DataAdaptor interface. |
void |
setBetatronPhase(R3 vecPhase)
Set the betatron phase of the synchronous particle without space charge. |
void |
setRfPhase(double dblPhase)
Set the phase location of the synchronous particle with respect to the drive RF power. |
java.lang.String |
toString()
Return a textual representation of the ProbeState internal state. |
| 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 LABEL_SYNCH
protected static final java.lang.String ATTR_PHASEBETA
protected static final java.lang.String ATTR_PHASERF
| Constructor Detail |
public SynchronousState()
SynchronousState
object with zero state values.
public SynchronousState(SynchronousProbe probe)
SynchronousState object
and initialize the state to that of the specified probe argument.
probe - probe containing initializing state information| Method Detail |
public void setBetatronPhase(R3 vecPhase)
R3 vector object. Thus, the betatron phase of each plane
is set simultaneously.
vecPhase - vector (psix,psiy,psiz) of betatron phases in radianspublic void setRfPhase(double dblPhase)
dblPhase - synchronous particle phase w.r.t. RF in radianspublic R3 getBetatronPhase()
public double getRfPhase()
protected void addPropertiesTo(DataAdaptor daptSink)
DataAdaptor interface.
addPropertiesTo in class ProbeStatedaptSink - data sink with DataAdaptor interfaceProbeState.addPropertiesTo(gov.sns.tools.data.DataAdaptor)
protected void readPropertiesFrom(DataAdaptor daptSrc)
throws ParsingException
DataAdaptor interface.
readPropertiesFrom in class ProbeStatedaptSrc - data source for probe state information
ParsingException - error in data formatProbeState.readPropertiesFrom(gov.sns.tools.data.DataAdaptor)public java.lang.String toString()
ProbeStateProbeState internal state.
toString in class ProbeStateObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||