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, mainSupplyIdleff, m_bucMagnetchannelSuite, 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_strPIdDIPOLE, 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, writePowerSuppliesaddBucket, getDesignField, getDfltField, getEffLength, getMagBucket, getNormField, getPolarity, getTangField, isCorrector, isHorizontal, isMagnet, isVertical, setDfltField, setMagBucketchannelSuite, 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, toStringpublic 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 AcceleratorNodepublic void update(DataAdaptor adaptor)
update in interface DataListenerupdate in class Electromagnetadaptor - The data provider.public boolean isPole(java.lang.String pole)
MagnetisPole in interface MagnetTypeisPole in class Magnetpole - Comparison pole which should be one of MagnetType.polespublic int getOrientation()
getOrientation in interface MagnetTypegetOrientation in class Magnetpublic boolean isSkew()
isSkew in interface MagnetTypeisSkew in class Magnetpublic boolean isKindOf(java.lang.String type)
isKindOf in interface ElementTypeisKindOf in class AcceleratorNodetype - the type against which to compare this sextupole