Package xal.model.alg
Class SynchronousTracker
java.lang.Object
xal.model.alg.Tracker
xal.model.alg.SynchronousTracker
- All Implemented Interfaces:
Remote,IAlgorithm,IArchive,IContextAware
Algorithm for propagating a
SynchronousProbe object through any
modeling element that exposes the IComponent interface. It
computes the synchronous phase at each cavity and cavity gaps, as well as the
energy gain.- Author:
- Juan F. Esteban Müller <JuanF.EstebanMuller@ess.eu>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Class<SynchronousProbe>static final Stringstatic final intFields 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 aSynchronousTrackerobjects.SynchronousTracker(SynchronousTracker sourceTracker) Copy constructor for SynchronousTracker -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadvanceState(IProbe ifcProbe, IElement elem) copy()Creates a deep copy of SynchronousTrackervoiddoPropagation(IProbe probe, IElement elem) Perform the actual probe propagation through the the modeling element.voidpropagate(IProbe probe, IComponent elem) This method was included to deal with RfCavitie objectsMethods 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
-
TYPE_ID
-
VERSION
public static final int VERSION- See Also:
-
CLS_PROBE_TYPE
-
-
Constructor Details
-
SynchronousTracker
public SynchronousTracker()Default constructor for aSynchronousTrackerobjects. These objects have no internal state information. -
SynchronousTracker
Copy constructor for SynchronousTracker- Parameters:
sourceTracker- Tracker that is being copied
-
-
Method Details
-
copy
Creates a deep copy of SynchronousTracker -
doPropagation
Perform the actual probe propagation through the the modeling element.- Specified by:
doPropagationin classTracker- Parameters:
probe- interface toSynchronousProbeto be advancedelem- interface to modeling element through which to advance probe- Throws:
ModelException- error during propagation- See Also:
-
propagate
This method was included to deal with RfCavitie objects- Parameters:
probe-elem-- Throws:
ModelException
-
advanceState
-