|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.sns.xal.model.elem.Element
|
+--gov.sns.xal.model.elem.ThinElement
|
+--gov.sns.xal.model.elem.Marker
This class is used as a location marker in the modeling lattice. Is has no length and no effect on the dynamics of any probe.
| Field Summary | |
static java.lang.String |
s_strType
type string identifier for all Marker objects |
| Fields inherited from interface gov.sns.xal.model.IElement |
LightSpeed, Permeability, Permittivity, UnitCharge |
| Constructor Summary | |
Marker()
JavaBean constructor - creates a new unitialized instance of Marker BE CAREFUL |
|
Marker(java.lang.String strId)
Creates a new instance of Marker |
|
| Method Summary | |
double |
elapsedTime(IProbe probe)
Returns the time taken for the probe to propagate through element. |
double |
energyGain(IProbe probe)
Returns energy gain which is zero. |
protected PhaseMap |
transferMap(IProbe probe)
Returns the transfer map of this element which is the identity. |
| Methods inherited from class gov.sns.xal.model.elem.ThinElement |
elapsedTime, energyGain, getLength, transferMap |
| Methods inherited from class gov.sns.xal.model.elem.Element |
compDriftingTime, getId, getType, getUID, initializeFrom, print, propagate, setId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String s_strType
| Constructor Detail |
public Marker(java.lang.String strId)
strId - identifier of this objectpublic Marker()
| Method Detail |
public double elapsedTime(IProbe probe)
elapsedTime in class ThinElementprobe - propagating probe
public double energyGain(IProbe probe)
energyGain in class ThinElementprobe - dummy argument
protected PhaseMap transferMap(IProbe probe)
throws PropagationException
transferMap in class ThinElementprobe - dummy argument
PropagationException - this should not occur
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||