Package xal.smf.impl

Class ExtractionKicker

All Implemented Interfaces:
Comparable, ElementType, MagnetType, DataListener

public class ExtractionKicker extends Dipole
the extraction kicker represents a pulsed magnet for extracting the beam vertically from the ring
  • Field Details

  • Constructor Details

    • ExtractionKicker

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

      public ExtractionKicker(String strId)
      Constructor
  • Method Details

    • getType

      public String getType()
      Override to provide type signature
      Overrides:
      getType in class Dipole
    • 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:
      false
    • getVoltage

      public double getVoltage() throws GetException
      Get the voltage readback for this kicker's power supply.
      Returns:
      the power supply voltage readback
      Throws:
      GetException
    • getVoltageSetting

      public double getVoltageSetting() throws GetException
      Get the voltage setting for this kicker's power supply.
      Returns:
      the power supply voltage setting
      Throws:
      GetException
    • setVoltage

      public void setVoltage(double voltage) throws PutException
      Set this kicker's power supply voltage
      Parameters:
      voltage - is the new voltage to apply to the power supply.
      Throws:
      PutException