public class SynchronousProbe extends Probe<SynchronousState>
COMMENT_LABEL, PROBE_LABEL, stateCurrent, TEXT_LABEL, TIME_LABEL, trajHist, TYPE_LABEL
LightSpeed, Permittivity, UnitCharge
Constructor and Description |
---|
SynchronousProbe() |
SynchronousProbe(SynchronousProbe probe) |
Modifier and Type | Method and Description |
---|---|
SynchronousProbe |
copy()
Creates a deep copy of the probe
|
SynchronousState |
createEmptyProbeState()
Creates a new, empty
SynchronousState . |
SynchronousState |
createProbeState()
Return a new
ProbeState object, of the appropriate type,
initialized to the current state of this probe. |
Trajectory<SynchronousState> |
createTrajectory()
Creates a
Trajectory<SynchronousState> object of the
proper type for saving the probe's history. |
R3 |
getBetatronPhase()
Return the set of betatron phase advances for any particle in the
synchronous bucket.
|
double |
getRfPhase()
Return the phase of the synchronous particle with respect to any
RF drive power.
|
protected SynchronousState |
readStateFrom(DataAdaptor container)
Read the contents of the supplied
DataAdaptor and return
an instance of the appropriate Trajectory species. |
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.
|
applyState, cloneCurrentProbeState, deepCopy, getAlgorithm, getArchive, getBeta, getComment, getCurrentElement, getCurrentHardwareId, getGamma, getKineticEnergy, getMomentum, getPosition, getSpeciesCharge, getSpeciesName, getSpeciesRestEnergy, getTime, getTimestamp, getTrajectory, initialize, initializeFrom, load, newProbeInitializedFrom, performPostProcessing, readFrom, reset, save, setAlgorithm, setComment, setCurrentElement, setCurrentHardwareId, setKineticEnergy, setPosition, setSpeciesCharge, setSpeciesName, setSpeciesRestEnergy, setTime, setTimestamp, setTracking, update
public SynchronousProbe()
public SynchronousProbe(SynchronousProbe probe)
probe
- public SynchronousProbe copy()
Probe
copy
in class Probe<SynchronousState>
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 double getRfPhase()
public R3 getBetatronPhase()
public Trajectory<SynchronousState> createTrajectory()
Trajectory<SynchronousState>
object of the
proper type for saving the probe's history.createTrajectory
in class Probe<SynchronousState>
Trajectory<SynchronousState>
for saving the probe's historypublic SynchronousState createProbeState()
ProbeState
object, of the appropriate type,
initialized to the current state of this probe.createProbeState
in class Probe<SynchronousState>
SynchronousState
Probe.createProbeState()
public SynchronousState createEmptyProbeState()
SynchronousState
.createEmptyProbeState
in class Probe<SynchronousState>
SynchronousState
protected SynchronousState readStateFrom(DataAdaptor container) throws ParsingException
Probe
DataAdaptor
and return
an instance of the appropriate Trajectory species.readStateFrom
in class Probe<SynchronousState>
container
- DataAdaptor
to read a Trajectory fromParsingException
- error encountered reading the DataAdaptor