public class BPM extends AcceleratorNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AMP_AVG_HANDLE
BPMs official ampAvg channel handle
|
static java.lang.String |
AMP_TBT_HANDLE
BPMs official amplitude turn-by-turn channel handle
|
double[] |
ampTBT
the measured amplitude array, minipulse by minipulse (au)
|
protected BPMBucket |
bpmBucket
The container for the bpm information
|
static java.lang.String |
PHASE_AVG_HANDLE
BPMs official phaseAvg channel handle
|
static java.lang.String |
PHASE_TBT_HANDLE
BPMs official phase turn-by-turn channel handle
|
double[] |
phaseTBT
the measured phase array, minipulse by minipulse (deg)
|
static java.lang.String |
s_strType |
static java.lang.String |
T_AVG_LEN_HANDLE
BPM official tAvgLen channel handle
|
static java.lang.String |
X_AVG_HANDLE
BPMs official xAvg channel handle
|
static java.lang.String |
X_TBT_HANDLE
BPMs official x turn-by-turn channel handle
|
double[] |
xTBT
the measured horizontal (x) position array, minipulse by minipulse (m)
|
static java.lang.String |
Y_AVG_HANDLE
BPMs official yAvg channel handle
|
static java.lang.String |
Y_TBT_HANDLE
BPMs official y turn-by-turn channel handle
|
double[] |
yTBT
the measured vertical (y) position array, minipulse by minipulse (m)
|
channelSuite, m_bolIsSoft, m_bolStatus, m_bolValid, m_bucAlign, m_bucAper, m_bucTwiss, m_dblLen, m_dblPos, m_dblS, m_mapAttrs, m_objAccel, m_seqParent, m_strEId, m_strId, m_strPId
Constructor and Description |
---|
BPM(java.lang.String strId) |
Modifier and Type | Method and Description |
---|---|
void |
addBucket(AttributeBucket buc)
Override AcceleratorNode implementation to check for a BPMBucket
|
double |
getAmpAvg()
returns average bpm Amplitude signal over macropulse (au)
|
double[] |
getAmpTBT()
returns bpm amplitude turn-by-turn array
|
BPMBucket |
getBPMBucket()
returnthe BPM Bucket
|
double |
getPhaseAvg()
returns average bpm phase signal over macropulse (au)
|
double[] |
getPhaseTBT()
returns bpm phase turn-by-turn array
|
double |
getTAvgLen()
returns length of the averaged period (micro-sec)
|
java.lang.String |
getType()
Override to provide type signature
|
double |
getXAvg()
returns average X position over macropulse (mm) accounting for alignment
|
double[] |
getXTBT()
returns bpm x turn-by-turn array
|
double |
getYAvg()
returns average Y position over macropulse (mm) accounting for alignment
|
double[] |
getYTBT()
returns bpm y turn-by-turn array
|
void |
setBPMBucket(BPMBucket buc)
Set the attribute bucket containing the bpm info
|
channelSuite, clear, dataLabel, findChannel, getAccelerator, getAlign, getAndConnectChannel, getAper, getBucket, getBuckets, getChannel, getDesignPropertyValue, getEId, getHandles, getId, getLength, getLivePropertyChannels, getLivePropertyValue, getParent, getPId, getPitchAngle, getPosition, getPrimaryAncestor, getRollAngle, getSDisplay, getSoftType, getStatus, getTwiss, getValid, getXOffset, getYawAngle, getYOffset, getZOffset, hasBucket, hasParent, isKindOf, isMagnet, lazilyGetAndConnect, removeFromParent, setAccelerator, setAlign, setAper, setLength, setParent, setPitchAngle, setPosition, setRollAngle, setSDisplay, setStatus, setTwiss, setValid, setXOffset, setYawAngle, setYOffset, setZOffset, toString, update, write
public static final java.lang.String s_strType
protected BPMBucket bpmBucket
public static final java.lang.String X_AVG_HANDLE
public static final java.lang.String Y_AVG_HANDLE
public static final java.lang.String AMP_AVG_HANDLE
public static final java.lang.String PHASE_AVG_HANDLE
public static final java.lang.String X_TBT_HANDLE
public static final java.lang.String Y_TBT_HANDLE
public static final java.lang.String AMP_TBT_HANDLE
public static final java.lang.String PHASE_TBT_HANDLE
public static final java.lang.String T_AVG_LEN_HANDLE
public double[] xTBT
public double[] yTBT
public double[] ampTBT
public double[] phaseTBT
public java.lang.String getType()
getType
in class AcceleratorNode
public BPMBucket getBPMBucket()
public void setBPMBucket(BPMBucket buc)
public void addBucket(AttributeBucket buc)
addBucket
in class AcceleratorNode
public double getXAvg() throws ConnectionException, GetException
ConnectionException
GetException
public double getYAvg() throws ConnectionException, GetException
ConnectionException
GetException
public double getAmpAvg() throws ConnectionException, GetException
ConnectionException
GetException
public double getPhaseAvg() throws ConnectionException, GetException
ConnectionException
GetException
public double[] getXTBT() throws ConnectionException, GetException
ConnectionException
GetException
public double[] getYTBT() throws ConnectionException, GetException
ConnectionException
GetException
public double[] getAmpTBT() throws ConnectionException, GetException
ConnectionException
GetException
public double[] getPhaseTBT() throws ConnectionException, GetException
ConnectionException
GetException
public double getTAvgLen() throws ConnectionException, GetException
ConnectionException
GetException