gov.sns.xal.model.probe.resp.traj
Class ParticlePerturbProbeTrajectory

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

public class ParticlePerturbProbeTrajectory
extends Trajectory


Field Summary
 
Fields inherited from class gov.sns.xal.model.probe.traj.Trajectory
TRAJ_LABEL
 
Constructor Summary
ParticlePerturbProbeTrajectory()
           
 
Method Summary
protected  ProbeState newProbeState()
          Creates a ProbeState of the appropriate species.
protected  ProbeState newProbeState(IProbe p)
          Saves supplied probe's current state to this trajectory.
 PhaseMatrix stateResponse(java.lang.String elemFrom, java.lang.String elemTo)
          Returns the state response matrix calculated from the front face of elemFrom to the back face of elemTo.
 
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

ParticlePerturbProbeTrajectory

public ParticlePerturbProbeTrajectory()
Method Detail

newProbeState

protected ProbeState newProbeState(IProbe p)
Saves supplied probe's current state to this trajectory.

Specified by:
newProbeState in class Trajectory
Parameters:
p - probe interface belonging to object with the proper type for this trajectory
Returns:
new ProbeState object initialized to probe
See Also:
Trajectory.newProbeState(IProbe)

newProbeState

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

Specified by:
newProbeState in class Trajectory
Returns:
new, empty ProbeState object
See Also:
Trajectory.newProbeState()

stateResponse

public PhaseMatrix stateResponse(java.lang.String elemFrom,
                                 java.lang.String elemTo)
Returns the state response matrix calculated from the front face of elemFrom to the back face of elemTo.

Parameters:
elemFrom - String identifyling starting lattice element
elemTo - String identifying ending lattice element
Returns:
state response matrix calculated from front face of elemFrom to back face of elemTo