public class Quadrupole extends Electromagnet
Electromagnet.Property
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_type
the type of quadrupole (horizontal or vertical)
|
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, 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 |
---|
Quadrupole(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 compPole)
Determine whether this magnet is of the pole specified.
|
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, isSkew, 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 SKEW_TYPE
protected java.lang.String _type
public Quadrupole(java.lang.String strID)
strID
- the unique node identifierpublic 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 compPole)
isPole
in interface MagnetType
isPole
in class Magnet
compPole
- The pole against which this magnet is being compared.public int getOrientation()
getOrientation
in interface MagnetType
getOrientation
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 quadrupole's type.