Package xal.extension.jels.smf.impl
Class NPM
java.lang.Object
xal.smf.AcceleratorNode
xal.smf.impl.BPM
xal.extension.jels.smf.impl.NPM
- All Implemented Interfaces:
Comparable,ElementType,DataListener
The implementation of the NPM class.
- Author:
- Juan F. Esteban Müller <juanf.estebanmuller@esss.se>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected NPMBucketThe container for the NPM informationstatic final Stringstatic final Stringstatic final Stringstatic final Stringfinal AccessiblePropertyfinal AccessiblePropertyfinal AccessiblePropertyfinal AccessiblePropertystatic final Stringfinal AccessiblePropertyfinal AccessiblePropertyfinal AccessiblePropertyfinal AccessiblePropertyFields inherited from class xal.smf.impl.BPM
AMP_AVG_HANDLE, AMP_TBT_HANDLE, amplitudeAvg, ampTBT, bpmBucket, PHASE_AVG_HANDLE, PHASE_TBT_HANDLE, phaseAvg, phaseTBT, T_AVG_LEN_HANDLE, tAvgLen, X_AVG_HANDLE, X_TBT_HANDLE, xAvg, xTBT, Y_AVG_HANDLE, Y_TBT_HANDLE, yAvg, yTBT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBucket(AttributeBucket buc) Override AcceleratorNode implementation to check for a BPMBucketreturn the NPM BucketgetType()Override to provide type signaturedoubledoubledoublegetXpAvg()doubledoubledoubledoublegetYpAvg()doublebooleanOverriding this method since NPM is not a type of BPM.voidsetNPMBucket(NPMBucket buc) Set the attribute bucket containing the npm infoMethods inherited from class xal.smf.impl.BPM
getAmpAvg, getAmpTBT, getBPMBucket, getPhaseAvg, getPhaseTBT, getTAvgLen, getXAvg, getXTBT, getYAvg, getYTBT, setBPMBucketMethods inherited from class xal.smf.AcceleratorNode
batchConnectAllHandles, batchConnectAllHandlesAndWait, channelSuite, clear, compareTo, dataLabel, findChannel, getAccelerator, getAccessibleProperties, getAccessibleProperties, getAlign, getAllChannels, getAndConnectChannel, getAndConnectChannelSetAndReadback, getAper, getBucket, getBuckets, getChannel, getDefaultHandles, getDesignPropertyValue, getEId, getHandles, getId, getLength, getLivePropertyChannels, getLivePropertyValue, getParent, getPId, getPitchAngle, getPosition, getPrimaryAncestor, getProperties, getReadbackHandles, getRollAngle, getSDisplay, getSetHandle, getSoftType, getStatus, getTwiss, getValid, getXOffset, getYawAngle, getYOffset, getZOffset, hasBucket, hasParent, isChannelSettable, isMagnet, lazilyGetAndConnect, removeFromParent, setAccelerator, setAlign, setAper, setDesignPropertyValue, setLength, setLivePropertyValue, setParent, setPitchAngle, setPosition, setRollAngle, setSDisplay, setStatus, setTwiss, setValid, setValueAndVerify, setXOffset, setYawAngle, setYOffset, setZOffset, toString, update, write, writeAttributes, writeStatus
-
Field Details
-
TYPE
- See Also:
-
npmBucket
The container for the NPM information -
Y_P_AVG_HANDLE
- See Also:
-
ypAvg
-
X_P_AVG_HANDLE
- See Also:
-
xpAvg
-
SIGMA_Y_AVG_HANDLE
- See Also:
-
ySigma
-
SIGMA_X_AVG_HANDLE
- See Also:
-
xSigma
-
ALPHA_Y_TWISS_HANDLE
- See Also:
-
yAlphaTwiss
-
BETA_Y_TWISS_HANDLE
- See Also:
-
yBetaTwiss
-
ALPHA_X_TWISS_HANDLE
- See Also:
-
xAlphaTwiss
-
BETA_X_TWISS_HANDLE
- See Also:
-
xBetaTwiss
-
-
Constructor Details
-
NPM
Constructor -
NPM
Constructor
-
-
Method Details
-
getType
Override to provide type signature -
isKindOf
Overriding this method since NPM is not a type of BPM. The subclass was made to reduce boilerplate code.- Specified by:
isKindOfin interfaceElementType- Overrides:
isKindOfin classAcceleratorNode- Parameters:
compType- The type against which to compare.- Returns:
- true if the node is of the specified type; false otherwise.
-
getNPMBucket
return the NPM Bucket -
setNPMBucket
Set the attribute bucket containing the npm info -
addBucket
Override AcceleratorNode implementation to check for a BPMBucket -
getYpAvg
- Throws:
GetException
-
getXpAvg
- Throws:
GetException
-
getYSigmaAvg
- Throws:
GetException
-
getXSigmaAvg
- Throws:
GetException
-
getYAlphaTwiss
- Throws:
GetException
-
getYBetaTwiss
- Throws:
GetException
-
getXAlphaTwiss
- Throws:
GetException
-
getXBetaTwiss
- Throws:
GetException
-