|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.sns.xal.model.probe.Probe
|
+--gov.sns.xal.model.probe.ParticleProbe
ParticleProbe extends the base BeamProbe to manage a particle state which is a Vector of homogeneous phase space variables.
| Field Summary |
| Fields inherited from class gov.sns.xal.model.probe.Probe |
PROBE_LABEL |
| Fields inherited from interface gov.sns.xal.model.IProbe |
LightSpeed, Permittivity, UnitCharge |
| Constructor Summary | |
ParticleProbe()
Default constructor for ParticleProbe. |
|
ParticleProbe(ParticleProbe probe)
Copy constructor for ParticleProbe. |
|
| Method Summary | |
void |
applyState(ProbeState state)
Capture the current probe state to the ProbeState argument. |
ProbeState |
createProbeState()
Captures the probe's state and return it as a new ProbeState
object. |
Trajectory |
createTrajectory()
Creates a new Trajectory object for ParticleProbe types. |
PhaseVector |
phaseCoordinates()
Returns homogeneous phase space coordinates of the particle. |
void |
setPhaseCoordinates(PhaseVector vecPhase)
Set the phase coordinates of the probe. |
| Methods inherited from class gov.sns.xal.model.probe.Probe |
computeBetaFromGamma, computeGammaFromBeta, computeGammaFromW, deepCopyProbeBase, getAlgorithm, getArchive, getBeta, getBetaGamma, getComment, getCurrentElement, getGamma, getKineticEnergy, getPosition, getSpeciesCharge, getSpeciesRestEnergy, getTime, getTimestamp, getTrajectory, initialize, load, newProbeInitializedFrom, readFrom, reset, save, setAlgorithm, setComment, setCurrentElement, setKineticEnergy, setPosition, setSpeciesCharge, setSpeciesRestEnergy, setTime, setTimestamp, setTracking, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ParticleProbe()
public ParticleProbe(ParticleProbe probe)
probe - ParticleProbe object to be cloned| Method Detail |
public PhaseVector phaseCoordinates()
public void setPhaseCoordinates(PhaseVector vecPhase)
vecPhase - new homogeneous phase space coordinate vectorpublic Trajectory createTrajectory()
Trajectory object for ParticleProbe types.
createTrajectory in class ProbeParticleTrajectory objectpublic ProbeState createProbeState()
ProbeState
object.
createProbeState in class ProbeParticleProbeState object initialized to current statepublic void applyState(ProbeState state)
ProbeState argument. Note
that the argument must be of the concrete type ParticleProbeState.
applyState in class Probestate - ProbeState to recieve this probe's state information
java.lang.IllegalArgumentException - argument is not of type ParticleProbeState
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||