gov.sns.xal.smf.impl
Class Bend

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.Bend
All Implemented Interfaces:
DataListener, ElementType, MagnetType

public class Bend
extends Dipole

Bend is used to represent a normal horizontal dipole magnet rather than a corrector.


Field Summary
static java.lang.String s_strType
           
 
Fields inherited from class gov.sns.xal.smf.impl.Electromagnet
FIELD_RB_HANDLE, mainSupplyId
 
Fields inherited from class gov.sns.xal.smf.impl.Magnet
leff, m_bucMagnet
 
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
Bend(java.lang.String strId)
           
 
Method Summary
 double getDfltBendAngle()
          Get the dipole bend magnet bending angle.
 double getDfltPathLength()
          returns design path length in meters
 double getEntrRotAngle()
          returns dipole rotation angle for entrance pole face (deg)
 double getExitRotAngle()
          returns dipole rotation angle for exit pole face (deg)
 int getOrientation()
          Get the orientation of the magnet as defined by MagnetType.
 double getQuadComponent()
          returns quadrupole component for bend dipole
 java.lang.String getType()
          Override to provide type signature
 
Methods inherited from class gov.sns.xal.smf.impl.Dipole
getBendAngle, getField, isPole, lowerFieldLimit, setField, upperFieldLimit
 
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, isCorrector, 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
 
Methods inherited from interface gov.sns.xal.smf.impl.qualify.ElementType
isKindOf
 

Field Detail

s_strType

public static final java.lang.String s_strType
See Also:
Constant Field Values
Constructor Detail

Bend

public Bend(java.lang.String strId)
Method Detail

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 bends is Horizontal.

Specified by:
getOrientation in interface MagnetType
Overrides:
getOrientation in class Magnet
Returns:
HORIZONTAL

getDfltBendAngle

public double getDfltBendAngle()
Get the dipole bend magnet bending angle.


getDfltPathLength

public double getDfltPathLength()
returns design path length in meters


getEntrRotAngle

public double getEntrRotAngle()
returns dipole rotation angle for entrance pole face (deg)


getExitRotAngle

public double getExitRotAngle()
returns dipole rotation angle for exit pole face (deg)


getQuadComponent

public double getQuadComponent()
returns quadrupole component for bend dipole