Package xal.model.alg
Class TransferMapTracker
java.lang.Object
xal.model.alg.Tracker
xal.model.alg.TransferMapTracker
- All Implemented Interfaces:
Remote
,IAlgorithm
,IArchive
,IContextAware
Propagates a
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.- Since:
- 2002
- Author:
- Christopher K. Allen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Class<TransferMapProbe>
probe type recognized by this algorithmstatic final String
string type identifier for this algorithmstatic final int
current version of this algorithmFields inherited from class xal.model.alg.Tracker
ATTRTAG_DEBUG, ATTRTAG_RFGAP_PHASE, ATTRTAG_TYPE, ATTRTAG_UPDATE, ATTRTAG_VER, NODETAG_ALG, NODETAG_TRACKER, TBL_LBL_ALGORITHM, TBL_PRIM_KEY_NAME, UPDATE_ALWAYS, UPDATE_CUSTOM, UPDATE_ENTRANCE, UPDATE_ENTRANCEANDEXIT, UPDATE_EXIT
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for aTransferMapTracker
objects.TransferMapTracker
(TransferMapTracker sourceTracker) Copy constructor for TransferMapTracker -
Method Summary
Modifier and TypeMethodDescriptionprotected void
advanceState
(TransferMapProbe probe, IElement ifcElem, double dblLng) Advances the probe state through the element.copy()
Creates a deep copy of TransferMapTrackervoid
doPropagation
(IProbe ifcProbe, IElement elem) Perform the actual probe propagation through the the modeling element.Methods inherited from class xal.model.alg.Tracker
advanceProbe, getDebugMode, getElemPosition, getProbeType, getProbeUpdatePolicy, getRfGapPhaseCalculation, getStartElementId, getStopElementId, getType, getVersion, initialize, isStopElementIncluded, load, load, newFromEditContext, newFromEditContext, newInstance, propagate, registerProbeType, retractProbe, save, setDebugMode, setElemPosition, setIncludeStopElement, setProbeUpdatePolicy, setRfGapPhaseCalculation, setStartElementId, setStopElementId, unsetStartElementId, unsetStopElementId, validElement, validProbe
-
Field Details
-
CLS_PROBE_TYPE
probe type recognized by this algorithm -
TYPE_ID
string type identifier for this algorithm -
VERSION
public static final int VERSIONcurrent version of this algorithm- See Also:
-
-
Constructor Details
-
TransferMapTracker
public TransferMapTracker()Default constructor for aTransferMapTracker
objects. These objects have no internal state information. -
TransferMapTracker
Copy constructor for TransferMapTracker- Parameters:
sourceTracker
- Tracker that is being copied
-
-
Method Details
-
copy
Creates a deep copy of TransferMapTracker -
doPropagation
Perform the actual probe propagation through the the modeling element.- Specified by:
doPropagation
in classTracker
- Parameters:
ifcProbe
- interface toTransferMapProbe
to be advancedelem
- interface to modeling element through which to advance probe- Throws:
ModelException
- error during propagation- See Also:
-
advanceState
protected void advanceState(TransferMapProbe probe, IElement ifcElem, double dblLng) throws ModelException Advances the probe state through the element.- Parameters:
probe
- interface to probe being modifiedifcElem
- interface to element acting on probedblLng
- element length- Throws:
ModelException
- bad element transfer matrix/corrupt probe state
-