Package xal.smf.impl

Class Dipole

All Implemented Interfaces:
Comparable, ElementType, MagnetType, DataListener
Direct Known Subclasses:
Bend, DipoleCorr, ExtractionKicker

public abstract class Dipole extends Electromagnet
The implementation of the Dipole element. This class contains the basic members and methods of main dipoles. Note that there are other classes (e.g. dipoleCorr) that extend this class.
Author:
J. Galambos (jdg@ornl.gov)
  • Field Details

  • Constructor Details

    • Dipole

      public Dipole(String strId, ChannelFactory channelFactory)
      Primary Constructor
    • Dipole

      protected Dipole(String strID)
      Constructor
      Parameters:
      strID - the dipole's unique ID
  • Method Details

    • getType

      public String getType()
      get the type
      Specified by:
      getType in class AcceleratorNode
    • isPole

      public boolean isPole(String pole)
      Determine if this magnet has the specified pole
      Specified by:
      isPole in interface MagnetType
      Overrides:
      isPole in class Magnet
      Parameters:
      pole - the pole against which to compare this magnet's pole
      Returns:
      true if the magnet is of the specified pole.
    • getBendAngle

      public double getBendAngle()
      returns design bend angle of the dipole (deg)
    • 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