Package xal.smf.impl
Class BPM
java.lang.Object
xal.smf.AcceleratorNode
xal.smf.impl.BPM
- All Implemented Interfaces:
Comparable
,ElementType
,DataListener
The implementation of the BPM class. This class contains the methods members,
attributes, and signal sets pertinent to modeling Beam Position monitors.
- Author:
- J. Galambos (jdg@ornl.gov)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
final AccessibleProperty
final AccessibleProperty
protected BPMBucket
The container for the bpm informationstatic final String
static final String
final AccessibleProperty
final AccessibleProperty
static final String
final AccessibleProperty
static final String
static final String
static final String
final AccessibleProperty
final AccessibleProperty
static final String
static final String
final AccessibleProperty
final AccessibleProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBucket
(AttributeBucket buc) Override AcceleratorNode implementation to check for a BPMBucketdouble
returns average bpm Amplitude signal over macropulse (au)double[]
returns bpm amplitude turn-by-turn arrayreturn the BPM Bucketdouble
returns average bpm phase signal over macropulse (au)double[]
returns bpm phase turn-by-turn arraydouble
returns length of the averaged period (micro-sec)getType()
Override to provide type signaturedouble
getXAvg()
returns average X position over macropulse (mm) accounting for alignmentdouble[]
getXTBT()
returns bpm x turn-by-turn arraydouble
getYAvg()
returns average Y position over macropulse (mm) accounting for alignmentdouble[]
getYTBT()
returns bpm y turn-by-turn arrayvoid
setBPMBucket
(BPMBucket buc) Set the attribute bucket containing the bpm infoMethods 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, isKindOf, 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:
-
bpmBucket
The container for the bpm information -
X_AVG_HANDLE
- See Also:
-
xAvg
-
Y_AVG_HANDLE
- See Also:
-
yAvg
-
AMP_AVG_HANDLE
- See Also:
-
amplitudeAvg
-
PHASE_AVG_HANDLE
- See Also:
-
phaseAvg
-
X_TBT_HANDLE
- See Also:
-
xTBT
-
Y_TBT_HANDLE
- See Also:
-
yTBT
-
AMP_TBT_HANDLE
- See Also:
-
ampTBT
-
PHASE_TBT_HANDLE
- See Also:
-
phaseTBT
-
T_AVG_LEN_HANDLE
- See Also:
-
tAvgLen
-
-
Constructor Details
-
BPM
Constructor -
BPM
Constructor
-
-
Method Details
-
getType
Override to provide type signature- Specified by:
getType
in classAcceleratorNode
-
getBPMBucket
return the BPM Bucket -
setBPMBucket
Set the attribute bucket containing the bpm info -
addBucket
Override AcceleratorNode implementation to check for a BPMBucket- Overrides:
addBucket
in classAcceleratorNode
-
getXAvg
returns average X position over macropulse (mm) accounting for alignment- Throws:
GetException
-
getYAvg
returns average Y position over macropulse (mm) accounting for alignment- Throws:
GetException
-
getAmpAvg
returns average bpm Amplitude signal over macropulse (au)- Throws:
GetException
-
getPhaseAvg
returns average bpm phase signal over macropulse (au)- Throws:
GetException
-
getXTBT
returns bpm x turn-by-turn array- Throws:
GetException
-
getYTBT
returns bpm y turn-by-turn array- Throws:
GetException
-
getAmpTBT
returns bpm amplitude turn-by-turn array- Throws:
GetException
-
getPhaseTBT
returns bpm phase turn-by-turn array- Throws:
GetException
-
getTAvgLen
returns length of the averaged period (micro-sec)- Throws:
GetException
-