|
||||||||||
| 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.ThickElement
|
+--gov.sns.xal.model.elem.IdealDrift
Represents a drift space in a particle beam transport/accelerator system.
| Field Summary | |
static java.lang.String |
s_strType
string type identifier for all IdealDrift objects |
| Fields inherited from interface gov.sns.xal.model.IElement |
LightSpeed, Permeability, Permittivity, UnitCharge |
| Constructor Summary | |
IdealDrift()
JavaBean constructor - creates a new unitialized instance of IdealDrift BE CAREFUL |
|
IdealDrift(java.lang.String strId,
double dblLen)
Creates a new instance of IdealDrift |
|
| Method Summary | |
double |
elapsedTime(IProbe probe,
double dblLen)
Returns the time taken for the probe to drift through part of the element. |
double |
energyGain(IProbe probe,
double dblLen)
Return the energy gain imparted to a probe object. |
PhaseMap |
transferMap(IProbe probe,
double dblLen)
Computes the partial tranfer map for an ideal drift space. |
| Methods inherited from class gov.sns.xal.model.elem.ThickElement |
getLength, setLength |
| 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 IdealDrift(java.lang.String strId,
double dblLen)
strId - string identifier for the elementdblLen - length of the driftpublic IdealDrift()
| Method Detail |
public double elapsedTime(IProbe probe,
double dblLen)
elapsedTime in interface IElementelapsedTime in class Elementprobe - propagating probedblLen - length of subsection to propagate through meters
public double energyGain(IProbe probe,
double dblLen)
energyGain in interface IElementenergyGain in class ThickElementdblLen - dummy argumentprobe - dummy argument
public PhaseMap transferMap(IProbe probe,
double dblLen)
throws ModelException
dblLen.
transferMap in interface IElementtransferMap in class ThickElementdblLen - length of driftprobe - requires rest and kinetic energy from probe
ModelException - should not be thrown
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||