gov.sns.xal.model.probe.traj
Class ParticleTrajectory

java.lang.Object
  |
  +--gov.sns.xal.model.probe.traj.Trajectory
        |
        +--gov.sns.xal.model.probe.traj.ParticleTrajectory
All Implemented Interfaces:
IArchive

public class ParticleTrajectory
extends Trajectory

Saves the history of a ParticleProbe.


Field Summary
 
Fields inherited from class gov.sns.xal.model.probe.traj.Trajectory
TRAJ_LABEL
 
Constructor Summary
ParticleTrajectory()
           
 
Method Summary
protected  ProbeState newProbeState()
          Creates a ProbeState object of the appropriate species.
protected  ProbeState newProbeState(IProbe probe)
          Creates a ProbeState of the appropriate species and initialize to the target probe state.
 
Methods inherited from class gov.sns.xal.model.probe.traj.Trajectory
addPropertiesTo, getDescription, getTimestamp, indicesForElement, initialState, load, numStates, popLastState, readFrom, readPropertiesFrom, save, saveState, setDescription, setTimestamp, stateAtPosition, stateIterator, statesForElement, statesInPositionRange, stateWithIndex, toString, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParticleTrajectory

public ParticleTrajectory()
Method Detail

newProbeState

protected ProbeState newProbeState(IProbe probe)
Creates a ProbeState of the appropriate species and initialize to the target probe state.

Specified by:
newProbeState in class Trajectory
Parameters:
probe - target probe for which ProbeState object is initialized
Returns:
new ProbeState object initialized to probe

newProbeState

protected ProbeState newProbeState()
Creates a ProbeState object of the appropriate species.

Specified by:
newProbeState in class Trajectory
Returns:
new, empty ProbeState object
See Also:
gov.sns.xal.model.probe.Trajectory#readStateFrom(DataAdaptor)