Package xal.model.alg
Class TwissTrackerPmq
java.lang.Object
xal.model.alg.Tracker
xal.model.alg.TwissTracker
xal.model.alg.TwissTrackerPmq
- All Implemented Interfaces:
Remote
,IAlgorithm
,IArchive
,IContextAware
This class is a super class of the TwissTracker
class meant to
handle the special case of IdealPermMagQuad
elements. There
really is not much extra to do here, just look for the exception element and
adjust the number of integration steps accordingly.
See the TwissTracker
class for a complete description of the
functionality
- Since:
- December, 2006
- Author:
- Christopher K. Allen
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Class<TwissProbe>
probe type recognized by this algorithmstatic final String
string type identifier for algorithmstatic final int
current algorithm versionFields inherited from class xal.model.alg.TwissTracker
ATTR_EMITGROWTH, ATTR_SCHEFF, ATTR_STEPSIZE, ATTR_USESPACECHARGE, LABEL_OPTIONS, TBL_LBL_TWISSTRACKER, TBL_PRIM_KEY_NAME
Fields 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, UPDATE_ALWAYS, UPDATE_CUSTOM, UPDATE_ENTRANCE, UPDATE_ENTRANCEANDEXIT, UPDATE_EXIT
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of TwissTrackerPmqTwissTrackerPmq
(TwissTrackerPmq sourceTracker) Copy constructor for TwissTrackerPmq -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Creates a deep copy of TwissTrackerPmqvoid
doPropagation
(IProbe probe, IElement elem) Propagates the probe through the element.Methods inherited from class xal.model.alg.TwissTracker
advanceState, getEmittanceGrowthFlag, getSpaceChargeFlag, getStepSize, load, load, save, setEmittanceGrowth, setStepSize, setUseSpacecharge
Methods inherited from class xal.model.alg.Tracker
advanceProbe, getDebugMode, getElemPosition, getProbeType, getProbeUpdatePolicy, getRfGapPhaseCalculation, getStartElementId, getStopElementId, getType, getVersion, initialize, isStopElementIncluded, newFromEditContext, newFromEditContext, newInstance, propagate, registerProbeType, retractProbe, setDebugMode, setElemPosition, setIncludeStopElement, setProbeUpdatePolicy, setRfGapPhaseCalculation, setStartElementId, setStopElementId, unsetStartElementId, unsetStopElementId, validElement, validProbe
-
Field Details
-
TYPE_ID
string type identifier for algorithm -
VERSION
public static final int VERSIONcurrent algorithm version- See Also:
-
CLS_PROBE_TYPE
probe type recognized by this algorithm
-
-
Constructor Details
-
TwissTrackerPmq
public TwissTrackerPmq()Creates a new instance of TwissTrackerPmq -
TwissTrackerPmq
Copy constructor for TwissTrackerPmq- Parameters:
sourceTracker
- Tracker that is being copied
-
-
Method Details
-
copy
Creates a deep copy of TwissTrackerPmq- Specified by:
copy
in interfaceIAlgorithm
- Overrides:
copy
in classTwissTracker
-
doPropagation
Propagates the probe through the element.- Overrides:
doPropagation
in classTwissTracker
- Parameters:
probe
- probe to propagateelem
- element acting on probe- Throws:
ModelException
- invalid probe type or error in advancing probe- See Also:
-