|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The root interface of physical objects and mathematical abstractions used in UAL applications (for example: Bunch, Particle, Twiss, Taylor map, and others). According to the Element-Algorithm-Probe analysis pattern, the Probe objects interact with accelerator structures, Element's. These interactions are implemented as the separate classes (Tracker, Mapper, etc.) that support the Algorithm interface.
| Field Summary | |
static double |
LightSpeed
Speed of light in a vaccuum (meters/second) |
static double |
Permittivity
Electric permativity of free space (Farad/meter) |
static double |
UnitCharge
The unit electric charge (Farads) |
| Method Summary | |
IAlgorithm |
getAlgorithm()
Return the dynamics algorithm associated with this probe. |
IArchive |
getArchive()
Return the IArchive interface for archiving
this algorithm object. |
double |
getBeta()
Returns the probe velocity normalized to the speed of light. |
java.lang.String |
getCurrentElement()
Returns the current lattice element of the probe. |
double |
getGamma()
Returns the relativistic parameter corresponding to the probe velocity. |
double |
getKineticEnergy()
Return the kinetic energy of the probe. |
double |
getPosition()
Returns the current beam-line position of the probe |
double |
getSpeciesCharge()
Returns the charge of probe's particle species |
double |
getSpeciesRestEnergy()
Returns the rest energy of particle species |
double |
getTime()
Return the time elapsed since the probe began propagation. |
void |
initialize()
Initialize the probe for propagation. |
void |
setCurrentElement(java.lang.String id)
Set the current lattice element. |
void |
setKineticEnergy(double dblW)
Set the current kinetic energy of the probe. |
void |
setPosition(double dblPos)
Set the current position of the probe along the beamline. |
void |
setTime(double dblTime)
Set the current time since the probe began propagating |
void |
update()
Update all data and connections. |
| Field Detail |
public static final double LightSpeed
public static final double UnitCharge
public static final double Permittivity
| Method Detail |
public double getSpeciesCharge()
public double getSpeciesRestEnergy()
public java.lang.String getCurrentElement()
String id of current lattice elementpublic double getPosition()
public double getTime()
public double getKineticEnergy()
public double getBeta()
public double getGamma()
public void setCurrentElement(java.lang.String id)
id - String id of current lattice element.public void setPosition(double dblPos)
dblPos - new probe position (meters)public void setTime(double dblTime)
dblTime - new probe current time in secondspublic void setKineticEnergy(double dblW)
dblW - new probe kinetic energy (electron-volts)getKineticEnergy()
public void initialize()
throws ModelException
ModelException - an error occurred while trying to initialize the probe
public void update()
throws ModelException
ModelException - an error occurred while trying to update the probepublic IAlgorithm getAlgorithm()
public IArchive getArchive()
IArchive interface for archiving
this algorithm object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||