public class Sextupole extends Electromagnet
Electromagnet.Property
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_type
identifies the type of sextupole (horizontal, vertical, skew)
|
static java.lang.String |
HORIZONTAL_SKEW_TYPE |
static java.lang.String |
HORIZONTAL_TYPE |
static java.lang.String |
s_strType |
static java.lang.String |
VERTICAL_SKEW_TYPE |
static java.lang.String |
VERTICAL_TYPE |
_useFieldReadback, FIELD_RB_HANDLE, mainSupplyId
leff, m_bucMagnet
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
DIPOLE, HORIZONTAL, NO_ORIENTATION, OCT, OCTUPOLE, poles, QUAD, QUADRUPOLE, SEXT, SEXTUPOLE, SOL, SOLENOID, VERTICAL
Constructor and Description |
---|
Sextupole(java.lang.String strID)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getOrientation()
Get the orientation of the magnet as defined by MagnetType.
|
java.lang.String |
getType()
Override to provide the correct type signature per instance.
|
boolean |
isKindOf(java.lang.String type)
Determine if this node is of the specified type.
|
boolean |
isPole(java.lang.String pole)
Test if the magnet is of the specified pole type.
|
boolean |
isSkew()
Determine whether this magnet is a skew magnet.
|
void |
update(DataAdaptor adaptor)
Update the instance with data from the data adaptor.
|
findChannel, getCurrent, getCycleState, getDesignPropertyValue, getField, getFieldInt, getFieldReadback, getFieldSetting, getHandles, getLivePropertyChannels, getLivePropertyValue, getMainSupply, getTotalFieldSetting, isPermanent, lowerAlarmFieldLimit, lowerCurrentLimit, lowerDisplayFieldLimit, lowerFieldLimit, lowerWarningFieldLimit, setCurrent, setCycleEnable, setField, setUseFieldReadback, toCAFromField, toFieldFromCA, updatePowerSupplies, upperAlarmFieldLimit, upperCurrentLimit, upperDisplayFieldLimit, upperFieldLimit, upperWarningFieldLimit, useFieldReadback, write, writePowerSupplies
addBucket, getDesignField, getDfltField, getEffLength, getMagBucket, getNormField, getPolarity, getTangField, isCorrector, isHorizontal, isMagnet, isVertical, setDfltField, setMagBucket
channelSuite, clear, dataLabel, getAccelerator, getAlign, getAndConnectChannel, getAper, getBucket, getBuckets, getChannel, getEId, getId, getLength, getParent, getPId, getPitchAngle, getPosition, getPrimaryAncestor, getRollAngle, getSDisplay, getSoftType, getStatus, getTwiss, getValid, getXOffset, getYawAngle, getYOffset, getZOffset, hasBucket, hasParent, lazilyGetAndConnect, removeFromParent, setAccelerator, setAlign, setAper, setLength, setParent, setPitchAngle, setPosition, setRollAngle, setSDisplay, setStatus, setTwiss, setValid, setXOffset, setYawAngle, setYOffset, setZOffset, toString
public static final 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 HORIZONTAL_SKEW_TYPE
public static final java.lang.String VERTICAL_SKEW_TYPE
protected java.lang.String _type
public Sextupole(java.lang.String strID)
strID
- unique node IDpublic java.lang.String getType()
getType
in class AcceleratorNode
public void update(DataAdaptor adaptor)
update
in interface DataListener
update
in class Electromagnet
adaptor
- The data provider.public boolean isPole(java.lang.String pole)
Magnet
isPole
in interface MagnetType
isPole
in class Magnet
pole
- Comparison pole which should be one of MagnetType.polespublic int getOrientation()
getOrientation
in interface MagnetType
getOrientation
in class Magnet
public boolean isSkew()
isSkew
in interface MagnetType
isSkew
in class Magnet
public boolean isKindOf(java.lang.String type)
isKindOf
in interface ElementType
isKindOf
in class AcceleratorNode
type
- the type against which to compare this sextupole