|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The root interface of accelerator algorithms (for example: Mapper, Tracker, and others). According to the Element-Algorithm-Probe analysis pattern, the Algorithm objects describe interactions between accelerator structures (Element's) and physical objects (Probe's).
| Method Summary | |
IArchive |
getArchive()
Return the IArchive interface for archiving
this algorithm object. |
java.lang.String |
getType()
Returns a string type identifier of algorithm class |
int |
getVersion()
Returns the version number of this algorithm |
void |
initialize()
Initialize the algorithm for propagation. |
void |
propagate(IProbe probe,
IElement elem)
Propagates the probe through the element. |
void |
setStartElementId(java.lang.String id)
Set the id of the element from which to start propagation. |
void |
setStopElementId(java.lang.String id)
Set the id of the element at which to stop propagation. |
void |
unsetStartElementId()
reset Start point to the beginning of the sequence |
void |
unsetStopElementId()
reset Stop point to the end of the sequence |
boolean |
useRfGapPhaseCalculation()
indicates whether to calculate the beam phase in multi gap Rf cavities, (a la Parmila) rather than use default values (a la Trace 3D) |
boolean |
validProbe(IProbe probe)
Check if probe can be handled by this algorithm. |
| Method Detail |
public java.lang.String getType()
public int getVersion()
public boolean validProbe(IProbe probe)
probe - probe to be tested
public void setStartElementId(java.lang.String id)
id - String id of the element from which to start propagationpublic void unsetStartElementId()
public void setStopElementId(java.lang.String id)
id - String id of the element at which to stop propagationpublic void unsetStopElementId()
public void initialize()
throws ModelException
ModelException - unable to initialize algorithm
public void propagate(IProbe probe,
IElement elem)
throws ModelException
probe - target objectelem - beamline element acting on the probe
ModelExceptionpublic IArchive getArchive()
IArchive interface for archiving
this algorithm object.
public boolean useRfGapPhaseCalculation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||