gov.sns.xal.model.probe.resp.traj
Class ParticlePerturbProbeState
java.lang.Object
|
+--gov.sns.xal.model.probe.traj.ProbeState
|
+--gov.sns.xal.model.probe.resp.traj.ParticlePerturbProbeState
- All Implemented Interfaces:
- IArchive
- public class ParticlePerturbProbeState
- extends ProbeState
| 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 |
ParticlePerturbProbeState
public ParticlePerturbProbeState()
ParticlePerturbProbeState
public ParticlePerturbProbeState(ParticlePerturb probe)
- Create a ProbeState for the supplied probe.
- Parameters:
probe - Probe whose state to capture in a ProbeState
getResponse
public PhaseMatrix getResponse()
toString
public java.lang.String toString()
- Description copied from class:
ProbeState
- Return a textual representation of the
ProbeState internal state.
- Overrides:
toString in class ProbeState
- Returns:
- string containing current
ProbeState state
addPropertiesTo
protected void addPropertiesTo(DataAdaptor container)
- Description copied from class:
ProbeState
- Save the state information to a
DataAdaptor interface.
- Overrides:
addPropertiesTo in class ProbeState
- Parameters:
container - data sink with DataAdaptor interface
readPropertiesFrom
protected void readPropertiesFrom(DataAdaptor container)
throws ParsingException
- Description copied from class:
ProbeState
- Recover the state information from a
DataAdaptor interface.
- Overrides:
readPropertiesFrom in class ProbeState
- Parameters:
container - data source with DataAdaptor interface
- Throws:
ParsingException - data source is malformatted