gov.sns.xal.smf.impl
Class VDipoleCorr
java.lang.Object
|
+--gov.sns.xal.smf.AcceleratorNode
|
+--gov.sns.xal.smf.impl.Magnet
|
+--gov.sns.xal.smf.impl.Electromagnet
|
+--gov.sns.xal.smf.impl.Dipole
|
+--gov.sns.xal.smf.impl.VDipoleCorr
- All Implemented Interfaces:
- DataListener, ElementType, MagnetType
- public class VDipoleCorr
- extends Dipole
The implementation of the Vertical Dipole corrector element. This class
extends the dipole class, and is meant to hold dipole objects
that are specifically correctors.
|
Field Summary |
static java.lang.String |
s_strType
|
| Fields inherited from class gov.sns.xal.smf.AcceleratorNode |
channelSuite, m_bolIsSoft, m_bolStatus, m_bolValid, m_bucAlign, m_bucAper, m_bucTwiss, m_dblLen, m_dblPos, m_mapAttrs, m_objAccel, m_seqParent, m_strId |
| Fields inherited from interface gov.sns.xal.smf.impl.qualify.MagnetType |
DIPOLE, HORIZONTAL, NO_ORIENTATION, OCT, OCTUPOLE, poles, QUAD, QUADRUPOLE, SEXT, SEXTUPOLE, VERTICAL |
|
Constructor Summary |
VDipoleCorr(java.lang.String strId)
|
|
Method Summary |
int |
getOrientation()
Get the orientation of the magnet as defined by MagnetType. |
java.lang.String |
getType()
Override to provide type signature |
boolean |
isCorrector()
Determine whether this magnet is a corrector. |
| Methods inherited from class gov.sns.xal.smf.impl.Electromagnet |
getChannel, getCurrent, getCycleState, getFieldInt, getHandles, getMainSupply, isPermanent, lowerCurrentLimit, setCurrent, setCycleEnable, update, updatePowerSupplies, upperCurrentLimit, write, writePowerSupplies |
| Methods inherited from class gov.sns.xal.smf.impl.Magnet |
addBucket, getDesignField, getDfltField, getEffLength, getMagBucket, getNormField, getPolarity, getTangField, isHorizontal, isMagnet, isSkew, isVertical, setMagBucket |
| Methods inherited from class gov.sns.xal.smf.AcceleratorNode |
channelSuite, clear, dataLabel, getAccelerator, getAlign, getAndConnectChannel, getAper, getBucket, getBuckets, getId, getLength, getParent, getPosition, getStatus, getTwiss, getValid, hasBucket, hasParent, isKindOf, lazilyGetAndConnect, removeFromParent, setAccelerator, setAlign, setAper, setLength, setParent, setPosition, setStatus, setTwiss, setValid, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
s_strType
public static final java.lang.String s_strType
- See Also:
- Constant Field Values
VDipoleCorr
public VDipoleCorr(java.lang.String strId)
getType
public java.lang.String getType()
- Override to provide type signature
- Specified by:
getType in class AcceleratorNode
getOrientation
public int getOrientation()
- Get the orientation of the magnet as defined by MagnetType. The orientation
of all vertical correctors is VERTICAL.
- Specified by:
getOrientation in interface MagnetType- Overrides:
getOrientation in class Magnet
- Returns:
- VERTICAL
isCorrector
public boolean isCorrector()
- Determine whether this magnet is a corrector.
- Specified by:
isCorrector in interface MagnetType- Overrides:
isCorrector in class Magnet
- Returns:
- true since vertical correctors are always correctors.