public class EQuad extends Electrostatic
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HORIZONTAL_TYPE
horizontal quadrupole type
|
static java.lang.String |
s_strType |
static java.lang.String |
SKEW_TYPE
skew quadrupole type
|
static java.lang.String |
VERTICAL_TYPE
vertical quadrupole type
|
_useFieldReadback, FIELD_RB_HANDLE, HORIZONTAL, m_bucMagnet, mainSupplyId, NO_ORIENTATION, VERTICAL
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 |
---|
EQuad(java.lang.String strId) |
Modifier and Type | Method and Description |
---|---|
int |
getOrientation()
Get the orientation of the magnet as defined by MagnetType.
|
java.lang.String |
getType()
Derived class must furnish a unique type id
|
boolean |
isKindOf(java.lang.String type)
Determine if a node is of the specified type.
|
void |
update(DataAdaptor adaptor)
Update the instance with data from the data adaptor.
|
addBucket, getDesignField, getDfltField, getEffLength, getField, getFieldReadback, getFieldSetting, getMagBucket, getMainSupply, getPolarity, getTotalFieldSetting, isHorizontal, isVertical, setMagBucket, toCAFromField, toFieldFromCA, writePowerSupplies
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, isMagnet, lazilyGetAndConnect, removeFromParent, setAccelerator, setAlign, setAper, setLength, setParent, setPitchAngle, setPosition, setRollAngle, setSDisplay, setStatus, setTwiss, setValid, setXOffset, setYawAngle, setYOffset, setZOffset, toString, write
public static java.lang.String s_strType
public static final java.lang.String HORIZONTAL_TYPE
public static final java.lang.String VERTICAL_TYPE
public static final java.lang.String SKEW_TYPE
public java.lang.String getType()
AcceleratorNode
getType
in class Electrostatic
public int getOrientation()
getOrientation
in class Electrostatic
public void update(DataAdaptor adaptor)
update
in interface DataListener
update
in class AcceleratorNode
adaptor
- The data provider.public boolean isKindOf(java.lang.String type)
AcceleratorNode
isKindOf
in interface ElementType
isKindOf
in class AcceleratorNode
type
- The type against which to compare.