public class TransferMapTracker extends Tracker
TransferMapPropbe
through a hardware element. This
algorithm does not consider space charge, as that is an artifact of the beam,
whereas the true transfer matrix is dependent upon the hardware only. The transfer
maps of each hardware section are multiplied and then added to the probe's history.Modifier and Type | Field and Description |
---|---|
static java.lang.Class<TransferMapProbe> |
s_clsProbeType
probe type recognized by this algorithm
|
static int |
s_intVersion
current version of this algorithm
|
static java.lang.String |
s_strTypeId
string type identifier for this algorithm
|
ATTRTAG_DEBUG, ATTRTAG_RFGAP_PHASE, ATTRTAG_TYPE, ATTRTAG_UPDATE, ATTRTAG_VER, NODETAG_ALG, NODETAG_TRACKER, TBL_PRIM_KEY_NAME, UPDATE_ALWAYS, UPDATE_CUSTOM, UPDATE_ENTRANCE, UPDATE_ENTRANCEANDEXIT, UPDATE_EXIT
Constructor and Description |
---|
TransferMapTracker()
Default constructor for a
TransferMapTracker objects. |
TransferMapTracker(TransferMapTracker sourceTracker)
Copy constructor for TransferMapTracker
|
Modifier and Type | Method and Description |
---|---|
protected void |
advanceState(TransferMapProbe probe,
IElement ifcElem,
double dblLng)
Advances the probe state through the element.
|
TransferMapTracker |
copy()
Creates a deep copy of TransferMapTracker
|
void |
doPropagation(IProbe ifcProbe,
IElement elem)
Perform the actual probe propagation through the the modeling element.
|
void |
load(DataAdaptor daSource)
Place holder for loading additional parameters from a data adaptor.
|
void |
load(java.lang.String strPrimKeyVal,
EditContext ecTableData)
Place holder for loading additional parameters from an edit context.
|
void |
save(DataAdaptor daptArchive)
Place holder for loading additional parameters from a data adaptor.
|
advanceProbe, getDebugMode, getElemPosition, getProbeType, getProbeUpdatePolicy, getStartElementId, getStopElementId, getType, getVersion, initialize, isStopElementIncluded, newFromEditContext, newFromEditContext, newInstance, propagate, registerProbeType, retractProbe, setDebugMode, setElemPosition, setIncludeStopElement, setProbeUpdatePolicy, setRfGapPhaseCalculation, setStartElementId, setStopElementId, unsetStartElementId, unsetStopElementId, useRfGapPhaseCalculation, validElement, validProbe
public static final java.lang.Class<TransferMapProbe> s_clsProbeType
public static final java.lang.String s_strTypeId
public static final int s_intVersion
public TransferMapTracker()
TransferMapTracker
objects. These
objects have no internal state information.public TransferMapTracker(TransferMapTracker sourceTracker)
sourceTracker
- Tracker that is being copiedpublic TransferMapTracker copy()
public void load(java.lang.String strPrimKeyVal, EditContext ecTableData) throws DataFormatException
load
in interface IContextAware
load
in class Tracker
strPrimKeyVal
- primary key value specifying the name of the data recordecTableData
- EditContext containing table dataDataFormatException
- bad data format - error in readingTracker.load(java.lang.String, xal.tools.data.EditContext)
public void load(DataAdaptor daSource) throws DataFormatException
load
in interface IArchive
load
in class Tracker
daSource
- data source containing algorithm configurationDataFormatException
- bad format in algorithm dataTracker.load(xal.tools.data.DataAdaptor)
public void save(DataAdaptor daptArchive)
save
in interface IArchive
save
in class Tracker
daptArchive
- data source to receive algorithm configurationTracker.save(xal.tools.data.DataAdaptor)
public void doPropagation(IProbe ifcProbe, IElement elem) throws ModelException
doPropagation
in class Tracker
ifcProbe
- interface to TransferMapProbe
to be advancedelem
- interface to modeling element through which to advance probeModelException
- error during propagationTracker.doPropagation(xal.model.IProbe, xal.model.IElement)
protected void advanceState(TransferMapProbe probe, IElement ifcElem, double dblLng) throws ModelException
probe
- interface to probe being modifiedifcElem
- interface to element acting on probedblLng
- element lengthModelException
- bad element transfer matrix/corrupt probe state