public abstract class PermanentMagnet extends Magnet
Modifier and Type | Class and Description |
---|---|
static class |
PermanentMagnet.Property
accessible properties
|
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 |
---|
PermanentMagnet(java.lang.String strId)
Creates new PermanentMagnet
|
Modifier and Type | Method and Description |
---|---|
double |
getDesignPropertyValue(java.lang.String propertyName)
Get the design value for the specified property
|
double |
getField()
returns the field of the magnet (T /(m^ (n-1))), n=1 for dipole,
2 for quad etc.
|
double |
getFieldInt()
returns the integrated field of the magnet (T-m /(m^ (n-1))),
n=1 for dipole, 2 for quad etc.
|
Channel[] |
getLivePropertyChannels(java.lang.String propertyName)
Get the array of channels for the specified property
|
double |
getLivePropertyValue(java.lang.String propertyName,
double[] channelValues)
Get the live property value for the corresponding array of channel values in the order given by getLivePropertyChannels()
|
boolean |
isPermanent()
Since this is a permanent magnet we override the inherited method to
advertise this characteristic.
|
addBucket, getDesignField, getDfltField, getEffLength, getMagBucket, getNormField, getOrientation, getPolarity, getTangField, isCorrector, isHorizontal, isMagnet, isPole, isSkew, isVertical, setDfltField, setMagBucket
channelSuite, clear, dataLabel, findChannel, getAccelerator, getAlign, getAndConnectChannel, getAper, getBucket, getBuckets, getChannel, getEId, getHandles, getId, getLength, getParent, getPId, getPitchAngle, getPosition, getPrimaryAncestor, getRollAngle, getSDisplay, getSoftType, getStatus, getTwiss, getType, getValid, getXOffset, getYawAngle, getYOffset, getZOffset, hasBucket, hasParent, isKindOf, lazilyGetAndConnect, removeFromParent, setAccelerator, setAlign, setAper, setLength, setParent, setPitchAngle, setPosition, setRollAngle, setSDisplay, setStatus, setTwiss, setValid, setXOffset, setYawAngle, setYOffset, setZOffset, toString, update, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isKindOf
public PermanentMagnet(java.lang.String strId)
public boolean isPermanent()
isPermanent
in interface MagnetType
isPermanent
in class Magnet
public double getDesignPropertyValue(java.lang.String propertyName)
getDesignPropertyValue
in class AcceleratorNode
public double getLivePropertyValue(java.lang.String propertyName, double[] channelValues)
getLivePropertyValue
in class AcceleratorNode
public Channel[] getLivePropertyChannels(java.lang.String propertyName)
getLivePropertyChannels
in class AcceleratorNode
public double getField()
public double getFieldInt()